@@ -594,12 +594,12 @@ \section{Data Types and Literal Values}
594
594
interoperable and metadata-rich VOTable constructs can be employed
595
595
instead.
596
596
597
- In the following, where we say \verb |datatype="char" | we also allow the VOTable
598
- \verb |datatype="unicodeChar" |. Where we say \verb |arraysize="*" | we also allow
599
- providers to be more explicit by using a fixed size (e.g. \verb |20 |) or fixed
597
+ In the following, where we say \verb |datatype="char" | we also allow the VOTable
598
+ \verb |datatype="unicodeChar" |. Where we say \verb |arraysize="*" | we also allow
599
+ providers to be more explicit by using a fixed size (e.g. \verb |20 |) or fixed
600
600
with a limit (e.g. \verb |20* |) when applicable.
601
601
602
- In the following, where we say "VOTable type metadata" , we mean either VOTable
602
+ In the following, where we say "VOTable type metadata" , we mean either VOTable
603
603
\xmlel {FIELD} or \xmlel {PARAM} elements.
604
604
605
605
Services may use non-standard \xmlel {xtype} values for non-standard datatypes, but if they
@@ -619,7 +619,7 @@ \subsection{Boolean}
619
619
values in service parameters, the serialization for \xmlel {TABLEDATA} must be used.
620
620
621
621
\subsection {Timestamp }
622
- Timestamp values serialised in VOTable or described in service parameters must have
622
+ Timestamp values serialised in VOTable or described in service parameters must have
623
623
the following VOTable type metadata:
624
624
625
625
\begin {verbatim }
@@ -686,15 +686,15 @@ \subsection{Intervals}
686
686
intervals have one or both bounding values that are infinite. Intervals with two identical values
687
687
are equivalent to a scalar value but must still be serialised as a pair of values.
688
688
689
- Floating point interval values serialised in VOTable or described in service parameters must have
689
+ Floating point interval values serialised in VOTable or described in service parameters must have
690
690
the following VOTable type metadata:
691
691
692
692
\begin {verbatim }
693
693
datatype="double" arraysize="2" xtype="interval"
694
694
\end {verbatim }
695
695
\noindent where \verb |float | is also permitted.
696
696
697
- Integer interval values serialised in VOTable or described in service parameters must have the
697
+ Integer interval values serialised in VOTable or described in service parameters must have the
698
698
following VOTable type metadata:
699
699
700
700
\begin {verbatim }
@@ -730,7 +730,7 @@ \subsection{Intervals}
730
730
upper bound of interval(s) respectively.
731
731
732
732
\subsection {Sexagesimal Coordinates }
733
- Coordinate values expressed in sexagesimal form can be described using the
733
+ Coordinate values expressed in sexagesimal form can be described using the
734
734
following VOTable type metadata. For right ascension:
735
735
736
736
\begin {verbatim }
@@ -747,25 +747,25 @@ \subsection{Sexagesimal Coordinates}
747
747
values and seconds is a real value. All hours must fall within [0,24], degrees
748
748
(latitude) must fall within [-90,90], minutes must fall within [0,60), and seconds
749
749
must fall within [0,60). Leading zeros are permitted so that values of minutes and the integer
750
- part of seconds can be expressed as 2-digit numbers. Valid values for \verb |xtype="hms" | are
750
+ part of seconds can be expressed as 2-digit numbers. Valid values for \verb |xtype="hms" | are
751
751
from 00:00:00 to 24:00:00.
752
752
Valid values for \verb |xtype="dms" | are from -90:00:00 to 90:00:00; an optional + sign at
753
- the start is allowed (e.g. +10:20:30) but not required. The upper bound on minutes
754
- and seconds is not part of the valid range; for example 12:34:60 is not allowed and must
753
+ the start is allowed (e.g. +10:20:30) but not required. The upper bound on minutes
754
+ and seconds is not part of the valid range; for example 12:34:60 is not allowed and must
755
755
be expressed as 12:35:00 instead.
756
756
757
757
\subsection {Point }
758
758
Geometry values are two-dimensional; although they are usually longitude and
759
759
latitude values in spherical coordinates this is specified in the coordinate
760
760
metadata and not in the values.
761
761
762
- Point values serialised in VOTable or described in service parameters must have following
762
+ Point values serialised in VOTable or described in service parameters must have following
763
763
VOTable type metadata:
764
764
765
765
\begin {verbatim }
766
766
datatype="double" arraysize="2" xtype="point"
767
767
\end {verbatim }
768
- \noindent where \verb |float | is also allowed.
768
+ \noindent where \verb |float | is also allowed.
769
769
770
770
For points in a spherical coordinate system, the values are ordered as: longitude latitude. For example:
771
771
@@ -789,7 +789,7 @@ \subsection{Circle}
789
789
\begin {verbatim }
790
790
datatype="double" arraysize="3" xtype="circle"
791
791
\end {verbatim }
792
- \noindent where \verb |float | is also allowed.
792
+ \noindent where \verb |float | is also allowed.
793
793
794
794
The values are ordered as a point followed by a radius. For example:
795
795
@@ -814,11 +814,11 @@ \subsection{Circle}
814
814
more limited context.
815
815
816
816
\subsection {Range }
817
- Range values serialised in VOTable or described in service parameters must have the following VOTable type metadata:
817
+ Range values serialised in VOTable or described in service parameters must have the following VOTable type metadata:
818
818
\begin {verbatim }
819
819
datatype="double" arraysize="4" xtype="range"
820
820
\end {verbatim }
821
- \noindent where \verb |float | is also allowed.
821
+ \noindent where \verb |float | is also allowed.
822
822
823
823
A range is a coordinate bounding box specified
824
824
as two pairs of coordinate values: min-coordinate1 max-coordinate1 min-coordinate2 max-coordinate2.
@@ -851,13 +851,13 @@ \subsection{Range}
851
851
more limited context.
852
852
853
853
\subsection {Polygon }
854
- Polygon values serialised in VOTable or described in service parameters must have the
854
+ Polygon values serialised in VOTable or described in service parameters must have the
855
855
following VOTable type metadata:
856
856
857
857
\begin {verbatim }
858
858
datatype="double" arraysize="*" xtype="polygon"
859
859
\end {verbatim }
860
- \noindent where \verb |float | is also allowed.
860
+ \noindent where \verb |float | is also allowed.
861
861
862
862
The array holds a sequence of vertices (points) (e.g. longitude latitude longitude
863
863
latitude ...) with an even number of values and at least three (3) points (six
@@ -994,15 +994,15 @@ \subsection{Shape}
994
994
more limited context.
995
995
996
996
\subsection {URI }
997
- URI values \citep {std:RFC3986 } serialised in VOTable or described in service parameters
997
+ URI values \citep {std:RFC3986 } serialised in VOTable or described in service parameters
998
998
should have the type following metadata:
999
999
1000
1000
\begin {verbatim }
1001
1001
datatype="char" arraysize="*" xtype="uri"
1002
1002
\end {verbatim }
1003
1003
1004
1004
\subsection {UUID }
1005
- Universal Unique Identifier (UUID) values serialised in VOTable or described in service parameters
1005
+ Universal Unique Identifier (UUID) values serialised in VOTable or described in service parameters
1006
1006
should have the following VOTable type metadata:
1007
1007
1008
1008
\begin {verbatim }
@@ -1020,11 +1020,12 @@ \subsection{JSON}
1020
1020
(e.g., as a \xmlel {GROUP} for a \xmlel {PARAM} or as unrolled
1021
1021
\xmlel {FIELD}\/ s or a separate table for table cells) is preferred.
1022
1022
1023
- \xmlel {PARAM}\/ s and \xmlel {FIELD}\/ s containing JSON values should be
1024
- marked up with a \xmlel {datatype} of \verb |char | or \verb |unicodeChar |,
1025
- with variable or fixed \xmlel {arraysize} and an \xmlel {xtype} of
1026
- \verb |json |.
1023
+ JSON values serialised in VOTable or described in service parameters should have
1024
+ the following VOTable type metadata:
1027
1025
1026
+ \begin {verbatim }
1027
+ datatype="char" arraysize="*" xtype="json"
1028
+ \end {verbatim }
1028
1029
1029
1030
\subsection {Unsupported Types }
1030
1031
0 commit comments