| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
|
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
|
| 62 |
|
| 63 |
|
| 64 |
|
| 65 |
|
| 66 |
|
| 67 |
|
| 68 |
|
| 69 |
|
| 70 |
|
| 71 |
|
| 72 |
|
| 73 |
|
| 74 |
|
| 75 |
|
| 76 |
|
| 77 |
|
| 78 |
|
| 79 |
|
| 80 |
|
| 81 |
|
| 82 |
|
| 83 |
|
| 84 |
|
| 85 |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:crd="http://www.ivoa.net/xml/STC/STCcoords/v1.20" targetNamespace="http://www.ivoa.net/xml/STC/STCcoords/v1.20" elementFormDefault="qualified"> |
| 86 |
|
| 87 |
<xs:simpleType name="unitType"> |
| 88 |
<xs:annotation> |
| 89 |
<xs:documentation>Basic unit type</xs:documentation> |
| 90 |
</xs:annotation> |
| 91 |
<xs:restriction base="xs:string"/> |
| 92 |
</xs:simpleType> |
| 93 |
<xs:simpleType name="timeUnitType"> |
| 94 |
<xs:annotation> |
| 95 |
<xs:documentation>Time units may be second (s), hour (h: 3600 s), day (d: 86400 s), Julian year (a, yr: 365.25 d), Julian century (cy: 36525 d), or empty (i.e., dimensionless) for ISO-8601 format</xs:documentation> |
| 96 |
</xs:annotation> |
| 97 |
<xs:restriction base="crd:unitType"> |
| 98 |
<xs:enumeration value="s"/> |
| 99 |
<xs:enumeration value="h"/> |
| 100 |
<xs:enumeration value="d"/> |
| 101 |
<xs:enumeration value="a"/> |
| 102 |
<xs:enumeration value="yr"/> |
| 103 |
<xs:enumeration value="cy"/> |
| 104 |
<xs:enumeration value=""/> |
| 105 |
</xs:restriction> |
| 106 |
</xs:simpleType> |
| 107 |
<xs:simpleType name="posUnitType"> |
| 108 |
<xs:annotation> |
| 109 |
<xs:documentation>Coordinate units may be angular (degrees, radians, hours, arcmins, arcsecs), linear (meters, km, mm, AUs, parsecs, kpc, Mpc, lightyears), or empty (i.e., dimensionless)</xs:documentation> |
| 110 |
</xs:annotation> |
| 111 |
<xs:restriction base="crd:unitType"> |
| 112 |
<xs:enumeration value="deg"/> |
| 113 |
<xs:enumeration value="deg deg m"/> |
| 114 |
<xs:enumeration value="rad"/> |
| 115 |
<xs:enumeration value="h"/> |
| 116 |
<xs:enumeration value="arcmin"/> |
| 117 |
<xs:enumeration value="arcsec"/> |
| 118 |
<xs:enumeration value="m"/> |
| 119 |
<xs:enumeration value="km"/> |
| 120 |
<xs:enumeration value="mm"/> |
| 121 |
<xs:enumeration value="AU"/> |
| 122 |
<xs:enumeration value="pc"/> |
| 123 |
<xs:enumeration value="kpc"/> |
| 124 |
<xs:enumeration value="Mpc"/> |
| 125 |
<xs:enumeration value="lyr"/> |
| 126 |
<xs:enumeration value=""/> |
| 127 |
</xs:restriction> |
| 128 |
</xs:simpleType> |
| 129 |
<xs:simpleType name="angleUnitType"> |
| 130 |
<xs:annotation> |
| 131 |
<xs:documentation>Angular coordinate units may be degrees, radians, hours, arcmins, arcsecs</xs:documentation> |
| 132 |
</xs:annotation> |
| 133 |
<xs:restriction base="crd:unitType"> |
| 134 |
<xs:enumeration value="deg"/> |
| 135 |
<xs:enumeration value="rad"/> |
| 136 |
<xs:enumeration value="h"/> |
| 137 |
<xs:enumeration value="arcmin"/> |
| 138 |
<xs:enumeration value="arcsec"/> |
| 139 |
</xs:restriction> |
| 140 |
</xs:simpleType> |
| 141 |
<xs:simpleType name="posAngleReferenceType"> |
| 142 |
<xs:annotation> |
| 143 |
<xs:documentation>Position angles may be counted from North (through East), (positive) X (to positive Y), or (positive) Y (to positive X) axis</xs:documentation> |
| 144 |
</xs:annotation> |
| 145 |
<xs:restriction base="xs:string"> |
| 146 |
<xs:enumeration value="North"/> |
| 147 |
<xs:enumeration value="X"/> |
| 148 |
<xs:enumeration value="Y"/> |
| 149 |
</xs:restriction> |
| 150 |
</xs:simpleType> |
| 151 |
<xs:simpleType name="velTimeUnitType"> |
| 152 |
<xs:annotation> |
| 153 |
<xs:documentation>Velocity units are a posUnitType / velTimeType; the latter may be second, day, hour, year (a or yr), century, but not empty</xs:documentation> |
| 154 |
</xs:annotation> |
| 155 |
<xs:restriction base="crd:unitType"> |
| 156 |
<xs:enumeration value="s"/> |
| 157 |
<xs:enumeration value="h"/> |
| 158 |
<xs:enumeration value="d"/> |
| 159 |
<xs:enumeration value="a"/> |
| 160 |
<xs:enumeration value="yr"/> |
| 161 |
<xs:enumeration value="cy"/> |
| 162 |
</xs:restriction> |
| 163 |
</xs:simpleType> |
| 164 |
<xs:simpleType name="spectralUnitType"> |
| 165 |
<xs:annotation> |
| 166 |
<xs:documentation>Spectral units may be frequency (Hz, kHz, MHz, GHz), wavelength (meters, mm, micron, nm, Angstrom), or energy (eV, keV, MeV, GeV, TeV)</xs:documentation> |
| 167 |
</xs:annotation> |
| 168 |
<xs:restriction base="crd:unitType"> |
| 169 |
<xs:enumeration value="Hz"/> |
| 170 |
<xs:enumeration value="kHz"/> |
| 171 |
<xs:enumeration value="MHz"/> |
| 172 |
<xs:enumeration value="GHz"/> |
| 173 |
<xs:enumeration value="m"/> |
| 174 |
<xs:enumeration value="mm"/> |
| 175 |
<xs:enumeration value="um"/> |
| 176 |
<xs:enumeration value="nm"/> |
| 177 |
<xs:enumeration value="Angstrom"/> |
| 178 |
<xs:enumeration value="eV"/> |
| 179 |
<xs:enumeration value="keV"/> |
| 180 |
<xs:enumeration value="MeV"/> |
| 181 |
<xs:enumeration value="GeV"/> |
| 182 |
<xs:enumeration value="TeV"/> |
| 183 |
</xs:restriction> |
| 184 |
</xs:simpleType> |
| 185 |
<xs:simpleType name="timeScaleType"> |
| 186 |
<xs:annotation> |
| 187 |
<xs:documentation>The actual time scale used: TT, TAI, UTC, TDB, etc.</xs:documentation> |
| 188 |
</xs:annotation> |
| 189 |
<xs:restriction base="xs:string"> |
| 190 |
<xs:enumeration value="TT"> |
| 191 |
<xs:annotation> |
| 192 |
<xs:documentation>Terrestrial Time; the basis for ephmerides</xs:documentation> |
| 193 |
</xs:annotation> |
| 194 |
</xs:enumeration> |
| 195 |
<xs:enumeration value="TDT"> |
| 196 |
<xs:annotation> |
| 197 |
<xs:documentation>Obsolete synonym for TT</xs:documentation> |
| 198 |
</xs:annotation> |
| 199 |
</xs:enumeration> |
| 200 |
<xs:enumeration value="ET"> |
| 201 |
<xs:annotation> |
| 202 |
<xs:documentation>Ephemeris Time; predecessor of, and continuous with, TT</xs:documentation> |
| 203 |
</xs:annotation> |
| 204 |
</xs:enumeration> |
| 205 |
<xs:enumeration value="TEB"> |
| 206 |
<xs:annotation> |
| 207 |
<xs:documentation>Barycentric Ephemeris Time:the independent variable in planetay ephemerides; time at the solar system barycenter synchronous with TT on an annual basis; often called TDB</xs:documentation> |
| 208 |
</xs:annotation> |
| 209 |
</xs:enumeration> |
| 210 |
<xs:enumeration value="TDB"> |
| 211 |
<xs:annotation> |
| 212 |
<xs:documentation>Barycentric Dynamic Time: time at the solar system barycenter synchronous with TT on an annual basis; often confused with TEB</xs:documentation> |
| 213 |
</xs:annotation> |
| 214 |
</xs:enumeration> |
| 215 |
<xs:enumeration value="TCG"> |
| 216 |
<xs:annotation> |
| 217 |
<xs:documentation>Terrestrial Coordinate Time</xs:documentation> |
| 218 |
</xs:annotation> |
| 219 |
</xs:enumeration> |
| 220 |
<xs:enumeration value="TCB"> |
| 221 |
<xs:annotation> |
| 222 |
<xs:documentation>Barycentric Coordinate Time; runs slower than TDB but is consistent with physical constants</xs:documentation> |
| 223 |
</xs:annotation> |
| 224 |
</xs:enumeration> |
| 225 |
<xs:enumeration value="TAI"> |
| 226 |
<xs:annotation> |
| 227 |
<xs:documentation>International Atomic Time; runs 32.184 s behind TT</xs:documentation> |
| 228 |
</xs:annotation> |
| 229 |
</xs:enumeration> |
| 230 |
<xs:enumeration value="IAT"> |
| 231 |
<xs:annotation> |
| 232 |
<xs:documentation>Synonym for TAI</xs:documentation> |
| 233 |
</xs:annotation> |
| 234 |
</xs:enumeration> |
| 235 |
<xs:enumeration value="UTC"> |
| 236 |
<xs:annotation> |
| 237 |
<xs:documentation>Coordinated Universal Time; currently (2004) runs 34 leapseconds behind TAI</xs:documentation> |
| 238 |
</xs:annotation> |
| 239 |
</xs:enumeration> |
| 240 |
<xs:enumeration value="LST"> |
| 241 |
<xs:annotation> |
| 242 |
<xs:documentation>Local Siderial Time; only for ground-based observations; note that the second is shorter</xs:documentation> |
| 243 |
</xs:annotation> |
| 244 |
</xs:enumeration> |
| 245 |
<xs:enumeration value="LOCAL"> |
| 246 |
<xs:annotation> |
| 247 |
<xs:documentation>Only to be used for simulations in conjunction with a relocatable spatial frame</xs:documentation> |
| 248 |
</xs:annotation> |
| 249 |
</xs:enumeration> |
| 250 |
</xs:restriction> |
| 251 |
</xs:simpleType> |
| 252 |
<xs:complexType name="posAngleType"> |
| 253 |
<xs:annotation> |
| 254 |
<xs:documentation>Position angles are doubles and include optionally a unit attribute (default deg) and a reference attribute (default X)</xs:documentation> |
| 255 |
</xs:annotation> |
| 256 |
<xs:simpleContent> |
| 257 |
<xs:extension base="xs:double"> |
| 258 |
<xs:attribute name="unit" type="crd:angleUnitType" default="deg"/> |
| 259 |
<xs:attribute name="reference" type="crd:posAngleReferenceType" default="X"/> |
| 260 |
</xs:extension> |
| 261 |
</xs:simpleContent> |
| 262 |
</xs:complexType> |
| 263 |
|
| 264 |
<xs:element name="AbsoluteTime" type="xs:anyType" abstract="true"> |
| 265 |
<xs:annotation> |
| 266 |
<xs:documentation>Substitution group for absoluteTimeType component of astronTimeType</xs:documentation> |
| 267 |
</xs:annotation> |
| 268 |
</xs:element> |
| 269 |
<xs:element name="ISOTime" type="xs:dateTime" substitutionGroup="crd:AbsoluteTime"> |
| 270 |
<xs:annotation> |
| 271 |
<xs:documentation>ISO8601 time; note: only a limited subset of ISO 8601 is allowed: yyyy-mm-ddThh:mm:ss.sss...</xs:documentation> |
| 272 |
</xs:annotation> |
| 273 |
</xs:element> |
| 274 |
<xs:element name="ISOTimeRef" type="xs:IDREF" substitutionGroup="crd:AbsoluteTime"> |
| 275 |
<xs:annotation> |
| 276 |
<xs:documentation>IDREF to an ISO8601 time</xs:documentation> |
| 277 |
</xs:annotation> |
| 278 |
</xs:element> |
| 279 |
<xs:element name="JDTime" type="xs:decimal" substitutionGroup="crd:AbsoluteTime"> |
| 280 |
<xs:annotation> |
| 281 |
<xs:documentation>JD time</xs:documentation> |
| 282 |
</xs:annotation> |
| 283 |
</xs:element> |
| 284 |
<xs:element name="JDTimeRef" type="xs:IDREF" substitutionGroup="crd:AbsoluteTime"> |
| 285 |
<xs:annotation> |
| 286 |
<xs:documentation>IDREF to a JD time</xs:documentation> |
| 287 |
</xs:annotation> |
| 288 |
</xs:element> |
| 289 |
<xs:element name="MJDTime" type="xs:decimal" substitutionGroup="crd:AbsoluteTime"> |
| 290 |
<xs:annotation> |
| 291 |
<xs:documentation>MJD time (=JD - 2400000.5)</xs:documentation> |
| 292 |
</xs:annotation> |
| 293 |
</xs:element> |
| 294 |
<xs:element name="MJDTimeRef" type="xs:IDREF" substitutionGroup="crd:AbsoluteTime"> |
| 295 |
<xs:annotation> |
| 296 |
<xs:documentation>IDREF to an MJD time</xs:documentation> |
| 297 |
</xs:annotation> |
| 298 |
</xs:element> |
| 299 |
<xs:element name="TimeOrigin" substitutionGroup="crd:AbsoluteTime"> |
| 300 |
<xs:annotation> |
| 301 |
<xs:documentation>A relocatable time origin for simulations</xs:documentation> |
| 302 |
</xs:annotation> |
| 303 |
<xs:simpleType> |
| 304 |
<xs:restriction base="xs:string"> |
| 305 |
<xs:enumeration value="RELOCATABLE"/> |
| 306 |
</xs:restriction> |
| 307 |
</xs:simpleType> |
| 308 |
</xs:element> |
| 309 |
<xs:element name="RelativeTime" type="xs:anyType" abstract="true"> |
| 310 |
<xs:annotation> |
| 311 |
<xs:documentation>Substitution group: Relative time is elapsed time relative to the absolute reference time component</xs:documentation> |
| 312 |
</xs:annotation> |
| 313 |
</xs:element> |
| 314 |
<xs:element name="TimeOffset" substitutionGroup="crd:RelativeTime"> |
| 315 |
<xs:annotation> |
| 316 |
<xs:documentation>Actual elapsed time offset</xs:documentation> |
| 317 |
</xs:annotation> |
| 318 |
<xs:complexType> |
| 319 |
<xs:simpleContent> |
| 320 |
<xs:extension base="xs:decimal"> |
| 321 |
<xs:attribute name="unit" type="crd:timeUnitType" use="optional" default="s"/> |
| 322 |
</xs:extension> |
| 323 |
</xs:simpleContent> |
| 324 |
</xs:complexType> |
| 325 |
</xs:element> |
| 326 |
<xs:element name="TimeOffsetRef" substitutionGroup="crd:RelativeTime"> |
| 327 |
<xs:annotation> |
| 328 |
<xs:documentation>IDREF to the elapsed relative time part of a AstronTime</xs:documentation> |
| 329 |
</xs:annotation> |
| 330 |
<xs:complexType> |
| 331 |
<xs:simpleContent> |
| 332 |
<xs:extension base="xs:IDREF"> |
| 333 |
<xs:attribute name="unit" type="crd:timeUnitType" use="optional" default="s"/> |
| 334 |
</xs:extension> |
| 335 |
</xs:simpleContent> |
| 336 |
</xs:complexType> |
| 337 |
</xs:element> |
| 338 |
<xs:complexType name="astronTimeType"> |
| 339 |
<xs:annotation> |
| 340 |
<xs:documentation>astronTime is the generalized astronomical time type and consists of two or three elements: TimeScale, optional relative time offset, and an absolute time (ISO8601 or a decimal JD or MJD; or it may be an IDREF to one of those three)</xs:documentation> |
| 341 |
</xs:annotation> |
| 342 |
<xs:sequence> |
| 343 |
<xs:element name="Timescale" type="crd:timeScaleType"/> |
| 344 |
<xs:element ref="crd:RelativeTime" minOccurs="0"/> |
| 345 |
<xs:element ref="crd:AbsoluteTime"/> |
| 346 |
</xs:sequence> |
| 347 |
</xs:complexType> |
| 348 |
|
| 349 |
<xs:simpleType name="doubleArrayType"> |
| 350 |
<xs:annotation> |
| 351 |
<xs:documentation>For vector coordinates we need arrays of doubles</xs:documentation> |
| 352 |
</xs:annotation> |
| 353 |
<xs:list itemType="xs:double"/> |
| 354 |
</xs:simpleType> |
| 355 |
<xs:simpleType name="double2Type"> |
| 356 |
<xs:annotation> |
| 357 |
<xs:documentation>A vector of 2 doubles</xs:documentation> |
| 358 |
</xs:annotation> |
| 359 |
<xs:restriction base="crd:doubleArrayType"> |
| 360 |
<xs:length value="2"/> |
| 361 |
</xs:restriction> |
| 362 |
</xs:simpleType> |
| 363 |
<xs:simpleType name="double3Type"> |
| 364 |
<xs:annotation> |
| 365 |
<xs:documentation>A vector of 3 doubles</xs:documentation> |
| 366 |
</xs:annotation> |
| 367 |
<xs:restriction base="crd:doubleArrayType"> |
| 368 |
<xs:length value="3"/> |
| 369 |
</xs:restriction> |
| 370 |
</xs:simpleType> |
| 371 |
<xs:simpleType name="double4Type"> |
| 372 |
<xs:annotation> |
| 373 |
<xs:documentation>A vector of 4 doubles</xs:documentation> |
| 374 |
</xs:annotation> |
| 375 |
<xs:restriction base="crd:doubleArrayType"> |
| 376 |
<xs:length value="4"/> |
| 377 |
</xs:restriction> |
| 378 |
</xs:simpleType> |
| 379 |
<xs:simpleType name="double9Type"> |
| 380 |
<xs:annotation> |
| 381 |
<xs:documentation>A vector of 9 doubles</xs:documentation> |
| 382 |
</xs:annotation> |
| 383 |
<xs:restriction base="crd:doubleArrayType"> |
| 384 |
<xs:length value="9"/> |
| 385 |
</xs:restriction> |
| 386 |
</xs:simpleType> |
| 387 |
|
| 388 |
<xs:element name="CoordValue" type="xs:anyType" abstract="true"> |
| 389 |
<xs:annotation> |
| 390 |
<xs:documentation>The head element for the CoordinateValue substitution group</xs:documentation> |
| 391 |
</xs:annotation> |
| 392 |
</xs:element> |
| 393 |
|
| 394 |
<xs:element name="CValue" type="xs:anyType" abstract="true" substitutionGroup="crd:CoordValue"> |
| 395 |
<xs:annotation> |
| 396 |
<xs:documentation>Substitution group for a scalar coordinate value</xs:documentation> |
| 397 |
</xs:annotation> |
| 398 |
</xs:element> |
| 399 |
<xs:element name="Value" type="xs:double" substitutionGroup="crd:CValue"> |
| 400 |
<xs:annotation> |
| 401 |
<xs:documentation>double</xs:documentation> |
| 402 |
</xs:annotation> |
| 403 |
</xs:element> |
| 404 |
<xs:element name="ValueRef" type="xs:IDREF" substitutionGroup="crd:CValue"> |
| 405 |
<xs:annotation> |
| 406 |
<xs:documentation>IDREF to a Value</xs:documentation> |
| 407 |
</xs:annotation> |
| 408 |
</xs:element> |
| 409 |
<xs:element name="CError" type="xs:anyType" abstract="true"> |
| 410 |
<xs:annotation> |
| 411 |
<xs:documentation>Substitution group for a scalar coordinate error</xs:documentation> |
| 412 |
</xs:annotation> |
| 413 |
</xs:element> |
| 414 |
<xs:element name="Error" type="xs:double" substitutionGroup="crd:CError"> |
| 415 |
<xs:annotation> |
| 416 |
<xs:documentation>double</xs:documentation> |
| 417 |
</xs:annotation> |
| 418 |
</xs:element> |
| 419 |
<xs:element name="ErrorRef" type="xs:IDREF" substitutionGroup="crd:CError"> |
| 420 |
<xs:annotation> |
| 421 |
<xs:documentation>IDREF to an Error</xs:documentation> |
| 422 |
</xs:annotation> |
| 423 |
</xs:element> |
| 424 |
<xs:element name="CResolution" type="xs:anyType" abstract="true"> |
| 425 |
<xs:annotation> |
| 426 |
<xs:documentation>Substitution group for a scalar coordinate resolution</xs:documentation> |
| 427 |
</xs:annotation> |
| 428 |
</xs:element> |
| 429 |
<xs:element name="Resolution" type="xs:double" substitutionGroup="crd:CResolution"> |
| 430 |
<xs:annotation> |
| 431 |
<xs:documentation>double</xs:documentation> |
| 432 |
</xs:annotation> |
| 433 |
</xs:element> |
| 434 |
<xs:element name="ResolutionRef" type="xs:IDREF" substitutionGroup="crd:CResolution"> |
| 435 |
<xs:annotation> |
| 436 |
<xs:documentation>IDREF to a Resolution</xs:documentation> |
| 437 |
</xs:annotation> |
| 438 |
</xs:element> |
| 439 |
<xs:element name="CSize" type="xs:anyType" abstract="true"> |
| 440 |
<xs:annotation> |
| 441 |
<xs:documentation>Substitution group for a scalar coordinate size</xs:documentation> |
| 442 |
</xs:annotation> |
| 443 |
</xs:element> |
| 444 |
<xs:element name="Size" type="xs:double" substitutionGroup="crd:CSize"> |
| 445 |
<xs:annotation> |
| 446 |
<xs:documentation>double</xs:documentation> |
| 447 |
</xs:annotation> |
| 448 |
</xs:element> |
| 449 |
<xs:element name="SizeRef" type="xs:IDREF" substitutionGroup="crd:CSize"> |
| 450 |
<xs:annotation> |
| 451 |
<xs:documentation>IDREF to a Size</xs:documentation> |
| 452 |
</xs:annotation> |
| 453 |
</xs:element> |
| 454 |
<xs:element name="CPixSize" type="xs:anyType" abstract="true"> |
| 455 |
<xs:annotation> |
| 456 |
<xs:documentation>Substitution group for a scalar coordinate pixel size</xs:documentation> |
| 457 |
</xs:annotation> |
| 458 |
</xs:element> |
| 459 |
<xs:element name="PixSize" type="xs:double" substitutionGroup="crd:CPixSize"> |
| 460 |
<xs:annotation> |
| 461 |
<xs:documentation>double</xs:documentation> |
| 462 |
</xs:annotation> |
| 463 |
</xs:element> |
| 464 |
<xs:element name="PixSizeRef" type="xs:IDREF" substitutionGroup="crd:CPixSize"> |
| 465 |
<xs:annotation> |
| 466 |
<xs:documentation>IDREF to a Pixel Size</xs:documentation> |
| 467 |
</xs:annotation> |
| 468 |
</xs:element> |
| 469 |
|
| 470 |
<xs:complexType name="coordinateType" abstract="true"> |
| 471 |
<xs:annotation> |
| 472 |
<xs:documentation>Abstract coordinate type; a concrete Coordinate consists of a Value, Error, Resolution, Size, and PixSize</xs:documentation> |
| 473 |
</xs:annotation> |
| 474 |
<xs:sequence> |
| 475 |
<xs:element name="Name" type="xs:string"/> |
| 476 |
</xs:sequence> |
| 477 |
</xs:complexType> |
| 478 |
<xs:complexType name="scalarCoordinateType"> |
| 479 |
<xs:annotation> |
| 480 |
<xs:documentation>Generic scalar coordinate type</xs:documentation> |
| 481 |
<xs:documentation>Single CError, CResolution, CSize, CPixSize elements indicate definite values; pairs indicate ranges</xs:documentation> |
| 482 |
</xs:annotation> |
| 483 |
<xs:complexContent> |
| 484 |
<xs:extension base="crd:coordinateType"> |
| 485 |
<xs:sequence> |
| 486 |
<xs:element ref="crd:CValue" minOccurs="0"/> |
| 487 |
<xs:element ref="crd:CError" minOccurs="0" maxOccurs="2"/> |
| 488 |
<xs:element ref="crd:CResolution" minOccurs="0" maxOccurs="2"/> |
| 489 |
<xs:element ref="crd:CSize" minOccurs="0" maxOccurs="2"/> |
| 490 |
<xs:element ref="crd:CPixSize" minOccurs="0" maxOccurs="2"/> |
| 491 |
</xs:sequence> |
| 492 |
</xs:extension> |
| 493 |
</xs:complexContent> |
| 494 |
</xs:complexType> |
| 495 |
<xs:complexType name="timeCoordinateType"> |
| 496 |
<xs:annotation> |
| 497 |
<xs:documentation>Time coordinate type</xs:documentation> |
| 498 |
<xs:documentation>Single CError, CResolution, CSize, CPixSize elements indicate definite values; pairs indicate ranges</xs:documentation> |
| 499 |
</xs:annotation> |
| 500 |
<xs:complexContent> |
| 501 |
<xs:extension base="crd:coordinateType"> |
| 502 |
<xs:sequence> |
| 503 |
<xs:element name="TimeInstant" type="crd:astronTimeType" minOccurs="0"/> |
| 504 |
<xs:element ref="crd:CError" minOccurs="0" maxOccurs="2"/> |
| 505 |
<xs:element ref="crd:CResolution" minOccurs="0" maxOccurs="2"/> |
| 506 |
<xs:element ref="crd:CSize" minOccurs="0" maxOccurs="2"/> |
| 507 |
<xs:element ref="crd:CPixSize" minOccurs="0" maxOccurs="2"/> |
| 508 |
</xs:sequence> |
| 509 |
<xs:attribute name="unit" type="crd:timeUnitType" use="optional" default="s"/> |
| 510 |
</xs:extension> |
| 511 |
</xs:complexContent> |
| 512 |
</xs:complexType> |
| 513 |
|
| 514 |
<xs:complexType name="size2Type"> |
| 515 |
<xs:annotation> |
| 516 |
<xs:documentation>Consists of a Size (2 doubles) and optional position angle element</xs:documentation> |
| 517 |
</xs:annotation> |
| 518 |
<xs:sequence> |
| 519 |
<xs:element name="Size" type="crd:double2Type"/> |
| 520 |
<xs:element name="PosAngle" type="crd:posAngleType" minOccurs="0"/> |
| 521 |
</xs:sequence> |
| 522 |
</xs:complexType> |
| 523 |
<xs:element name="CValue2" type="xs:anyType" abstract="true" substitutionGroup="crd:CoordValue"> |
| 524 |
<xs:annotation> |
| 525 |
<xs:documentation>Substitution group for a 2-D coordinate value</xs:documentation> |
| 526 |
</xs:annotation> |
| 527 |
</xs:element> |
| 528 |
<xs:element name="Value2" type="crd:double2Type" substitutionGroup="crd:CValue2"> |
| 529 |
<xs:annotation> |
| 530 |
<xs:documentation>double vector</xs:documentation> |
| 531 |
</xs:annotation> |
| 532 |
</xs:element> |
| 533 |
<xs:element name="Value2Ref" type="xs:IDREF" substitutionGroup="crd:CValue2"> |
| 534 |
<xs:annotation> |
| 535 |
<xs:documentation>IDREF to a Value2</xs:documentation> |
| 536 |
</xs:annotation> |
| 537 |
</xs:element> |
| 538 |
<xs:element name="CError2" type="xs:anyType" abstract="true"> |
| 539 |
<xs:annotation> |
| 540 |
<xs:documentation>Substitution group for a 2-D coordinate error</xs:documentation> |
| 541 |
</xs:annotation> |
| 542 |
</xs:element> |
| 543 |
<xs:element name="Error2" type="crd:double2Type" substitutionGroup="crd:CError2"> |
| 544 |
<xs:annotation> |
| 545 |
<xs:documentation>2 doubles Error element</xs:documentation> |
| 546 |
</xs:annotation> |
| 547 |
</xs:element> |
| 548 |
<xs:element name="Error2PA" type="crd:size2Type" substitutionGroup="crd:CError2"> |
| 549 |
<xs:annotation> |
| 550 |
<xs:documentation>size2Type Error element</xs:documentation> |
| 551 |
</xs:annotation> |
| 552 |
</xs:element> |
| 553 |
<xs:element name="Error2Matrix" type="crd:double4Type" substitutionGroup="crd:CError2"> |
| 554 |
<xs:annotation> |
| 555 |
<xs:documentation>2x2 matrix Error element</xs:documentation> |
| 556 |
</xs:annotation> |
| 557 |
</xs:element> |
| 558 |
<xs:element name="Error2Ref" type="xs:IDREF" substitutionGroup="crd:CError2"> |
| 559 |
<xs:annotation> |
| 560 |
<xs:documentation>IDREF to an Error2</xs:documentation> |
| 561 |
</xs:annotation> |
| 562 |
</xs:element> |
| 563 |
<xs:element name="CResolution2" type="xs:anyType" abstract="true"> |
| 564 |
<xs:annotation> |
| 565 |
<xs:documentation>Substitution group for a 2-D coordinate resolution</xs:documentation> |
| 566 |
</xs:annotation> |
| 567 |
</xs:element> |
| 568 |
<xs:element name="Resolution2" type="crd:double2Type" substitutionGroup="crd:CResolution2"> |
| 569 |
<xs:annotation> |
| 570 |
<xs:documentation>2 doubles Resolution element</xs:documentation> |
| 571 |
</xs:annotation> |
| 572 |
</xs:element> |
| 573 |
<xs:element name="Resolution2PA" type="crd:size2Type" substitutionGroup="crd:CResolution2"> |
| 574 |
<xs:annotation> |
| 575 |
<xs:documentation>size2Type Resolution element</xs:documentation> |
| 576 |
</xs:annotation> |
| 577 |
</xs:element> |
| 578 |
<xs:element name="Resolution2Matrix" type="crd:double4Type" substitutionGroup="crd:CResolution2"> |
| 579 |
<xs:annotation> |
| 580 |
<xs:documentation>2x2 matrix Resolution element</xs:documentation> |
| 581 |
</xs:annotation> |
| 582 |
</xs:element> |
| 583 |
<xs:element name="Resolution2Ref" type="xs:IDREF" substitutionGroup="crd:CResolution2"> |
| 584 |
<xs:annotation> |
| 585 |
<xs:documentation>IDREF to a Resolution2</xs:documentation> |
| 586 |
</xs:annotation> |
| 587 |
</xs:element> |
| 588 |
<xs:element name="CSize2" type="xs:anyType" abstract="true"> |
| 589 |
<xs:annotation> |
| 590 |
<xs:documentation>Substitution group for a 2-D coordinate size</xs:documentation> |
| 591 |
</xs:annotation> |
| 592 |
</xs:element> |
| 593 |
<xs:element name="Size2" type="crd:double2Type" substitutionGroup="crd:CSize2"> |
| 594 |
<xs:annotation> |
| 595 |
<xs:documentation>2 doubles Size element</xs:documentation> |
| 596 |
</xs:annotation> |
| 597 |
</xs:element> |
| 598 |
<xs:element name="Size2PA" type="crd:size2Type" substitutionGroup="crd:CSize2"> |
| 599 |
<xs:annotation> |
| 600 |
<xs:documentation>size2Type Size element</xs:documentation> |
| 601 |
</xs:annotation> |
| 602 |
</xs:element> |
| 603 |
<xs:element name="Size2Matrix" type="crd:double4Type" substitutionGroup="crd:CSize2"> |
| 604 |
<xs:annotation> |
| 605 |
<xs:documentation>2x2 matrix Size element</xs:documentation> |
| 606 |
</xs:annotation> |
| 607 |
</xs:element> |
| 608 |
<xs:element name="Size2Ref" type="xs:IDREF" substitutionGroup="crd:CSize2"> |
| 609 |
<xs:annotation> |
| 610 |
<xs:documentation>IDREF to a Size2</xs:documentation> |
| 611 |
</xs:annotation> |
| 612 |
</xs:element> |
| 613 |
<xs:element name="CPixSize2" type="xs:anyType" abstract="true"> |
| 614 |
<xs:annotation> |
| 615 |
<xs:documentation>Substitution group for a 2-D coordinate pixel size</xs:documentation> |
| 616 |
</xs:annotation> |
| 617 |
</xs:element> |
| 618 |
<xs:element name="PixSize2" type="crd:double2Type" substitutionGroup="crd:CPixSize2"> |
| 619 |
<xs:annotation> |
| 620 |
<xs:documentation>2 doubles PixSize element</xs:documentation> |
| 621 |
</xs:annotation> |
| 622 |
</xs:element> |
| 623 |
<xs:element name="PixSize2PA" type="crd:size2Type" substitutionGroup="crd:CPixSize2"> |
| 624 |
<xs:annotation> |
| 625 |
<xs:documentation>size2Type PixSize element</xs:documentation> |
| 626 |
</xs:annotation> |
| 627 |
</xs:element> |
| 628 |
<xs:element name="PixSize2Matrix" type="crd:double4Type" substitutionGroup="crd:CPixSize2"> |
| 629 |
<xs:annotation> |
| 630 |
<xs:documentation>2x2 matrix PixSize element</xs:documentation> |
| 631 |
</xs:annotation> |
| 632 |
</xs:element> |
| 633 |
<xs:element name="PixSize2Ref" type="xs:IDREF" substitutionGroup="crd:CPixSize2"> |
| 634 |
<xs:annotation> |
| 635 |
<xs:documentation>IDREF to a PixSize2</xs:documentation> |
| 636 |
</xs:annotation> |
| 637 |
</xs:element> |
| 638 |
|
| 639 |
<xs:complexType name="vector2CoordinateType"> |
| 640 |
<xs:annotation> |
| 641 |
<xs:documentation>Generic 2-D coordinate type</xs:documentation> |
| 642 |
<xs:documentation>Single CError2, CResolution2, CSize2, CPixSize2 elements indicate definite values; pairs indicate ranges</xs:documentation> |
| 643 |
</xs:annotation> |
| 644 |
<xs:complexContent> |
| 645 |
<xs:extension base="crd:coordinateType"> |
| 646 |
<xs:sequence> |
| 647 |
<xs:element ref="crd:CValue2" minOccurs="0"/> |
| 648 |
<xs:element ref="crd:CError2" minOccurs="0" maxOccurs="2"/> |
| 649 |
<xs:element ref="crd:CResolution2" minOccurs="0" maxOccurs="2"/> |
| 650 |
<xs:element ref="crd:CSize2" minOccurs="0" maxOccurs="2"/> |
| 651 |
<xs:element ref="crd:CPixSize2" minOccurs="0" maxOccurs="2"/> |
| 652 |
</xs:sequence> |
| 653 |
</xs:extension> |
| 654 |
</xs:complexContent> |
| 655 |
</xs:complexType> |
| 656 |
|
| 657 |
<xs:complexType name="size3Type"> |
| 658 |
<xs:annotation> |
| 659 |
<xs:documentation>Consists of a Size (3 doubles) and optional position angle element</xs:documentation> |
| 660 |
</xs:annotation> |
| 661 |
<xs:sequence> |
| 662 |
<xs:element name="Size" type="crd:double3Type"/> |
| 663 |
<xs:element name="PosAngle1" type="crd:posAngleType" minOccurs="0"/> |
| 664 |
<xs:element name="PosAngle2" type="crd:posAngleType" minOccurs="0"/> |
| 665 |
</xs:sequence> |
| 666 |
</xs:complexType> |
| 667 |
<xs:element name="CValue3" type="xs:anyType" abstract="true" substitutionGroup="crd:CoordValue"> |
| 668 |
<xs:annotation> |
| 669 |
<xs:documentation>Substitution group for a 3-D coordinate value</xs:documentation> |
| 670 |
</xs:annotation> |
| 671 |
</xs:element> |
| 672 |
<xs:element name="Value3" type="crd:double3Type" substitutionGroup="crd:CValue3"> |
| 673 |
<xs:annotation> |
| 674 |
<xs:documentation>Vector of 3 doubles</xs:documentation> |
| 675 |
</xs:annotation> |
| 676 |
</xs:element> |
| 677 |
<xs:element name="Value3Ref" type="xs:IDREF" substitutionGroup="crd:CValue3"> |
| 678 |
<xs:annotation> |
| 679 |
<xs:documentation>IDREF to a Value3</xs:documentation> |
| 680 |
</xs:annotation> |
| 681 |
</xs:element> |
| 682 |
<xs:element name="CError3" type="xs:anyType" abstract="true"> |
| 683 |
<xs:annotation> |
| 684 |
<xs:documentation>Substitution group for a 3-D coordinate error</xs:documentation> |
| 685 |
</xs:annotation> |
| 686 |
</xs:element> |
| 687 |
<xs:element name="Error3" type="crd:double3Type" substitutionGroup="crd:CError3"> |
| 688 |
<xs:annotation> |
| 689 |
<xs:documentation>3 doubles Error element</xs:documentation> |
| 690 |
</xs:annotation> |
| 691 |
</xs:element> |
| 692 |
<xs:element name="Error3PA" type="crd:size3Type" substitutionGroup="crd:CError3"> |
| 693 |
<xs:annotation> |
| 694 |
<xs:documentation>size3Type Error element</xs:documentation> |
| 695 |
</xs:annotation> |
| 696 |
</xs:element> |
| 697 |
<xs:element name="Error3Matrix" type="crd:double9Type" substitutionGroup="crd:CError3"> |
| 698 |
<xs:annotation> |
| 699 |
<xs:documentation>3x3 matrix Error element</xs:documentation> |
| 700 |
</xs:annotation> |
| 701 |
</xs:element> |
| 702 |
<xs:element name="Error3Ref" type="xs:IDREF" substitutionGroup="crd:CError3"> |
| 703 |
<xs:annotation> |
| 704 |
<xs:documentation>IDREF to an Error3</xs:documentation> |
| 705 |
</xs:annotation> |
| 706 |
</xs:element> |
| 707 |
<xs:element name="CResolution3" type="xs:anyType" abstract="true"> |
| 708 |
<xs:annotation> |
| 709 |
<xs:documentation>Substitution group for a 3-D coordinate resolution</xs:documentation> |
| 710 |
</xs:annotation> |
| 711 |
</xs:element> |
| 712 |
<xs:element name="Resolution3" type="crd:double3Type" substitutionGroup="crd:CResolution3"> |
| 713 |
<xs:annotation> |
| 714 |
<xs:documentation>3 doubles Resolution element</xs:documentation> |
| 715 |
</xs:annotation> |
| 716 |
</xs:element> |
| 717 |
<xs:element name="Resolution3PA" type="crd:size3Type" substitutionGroup="crd:CResolution3"> |
| 718 |
<xs:annotation> |
| 719 |
<xs:documentation>size3Type Resolution element</xs:documentation> |
| 720 |
</xs:annotation> |
| 721 |
</xs:element> |
| 722 |
<xs:element name="Resolution3Matrix" type="crd:double9Type" substitutionGroup="crd:CResolution3"> |
| 723 |
<xs:annotation> |
| 724 |
<xs:documentation>3x3 matrix Resolution element</xs:documentation> |
| 725 |
</xs:annotation> |
| 726 |
</xs:element> |
| 727 |
<xs:element name="Resolution3Ref" type="xs:IDREF" substitutionGroup="crd:CResolution3"> |
| 728 |
<xs:annotation> |
| 729 |
<xs:documentation>IDREF to a Resolution3</xs:documentation> |
| 730 |
</xs:annotation> |
| 731 |
</xs:element> |
| 732 |
<xs:element name="CSize3" type="xs:anyType" abstract="true"> |
| 733 |
<xs:annotation> |
| 734 |
<xs:documentation>Substitution group for a 3-D coordinate size</xs:documentation> |
| 735 |
</xs:annotation> |
| 736 |
</xs:element> |
| 737 |
<xs:element name="Size3" type="crd:double3Type" substitutionGroup="crd:CSize3"> |
| 738 |
<xs:annotation> |
| 739 |
<xs:documentation>3 doubles Size element</xs:documentation> |
| 740 |
</xs:annotation> |
| 741 |
</xs:element> |
| 742 |
<xs:element name="Size3PA" type="crd:size3Type" substitutionGroup="crd:CSize3"> |
| 743 |
<xs:annotation> |
| 744 |
<xs:documentation>size3Type Size element</xs:documentation> |
| 745 |
</xs:annotation> |
| 746 |
</xs:element> |
| 747 |
<xs:element name="Size3Matrix" type="crd:double9Type" substitutionGroup="crd:CSize3"> |
| 748 |
<xs:annotation> |
| 749 |
<xs:documentation>3x3 matrix Size element</xs:documentation> |
| 750 |
</xs:annotation> |
| 751 |
</xs:element> |
| 752 |
<xs:element name="Size3Ref" type="xs:IDREF" substitutionGroup="crd:CSize3"> |
| 753 |
<xs:annotation> |
| 754 |
<xs:documentation>IDREF to a Size3</xs:documentation> |
| 755 |
</xs:annotation> |
| 756 |
</xs:element> |
| 757 |
<xs:element name="CPixSize3" type="xs:anyType" abstract="true"> |
| 758 |
<xs:annotation> |
| 759 |
<xs:documentation>Substitution group for a 3-D coordinate pixel size</xs:documentation> |
| 760 |
</xs:annotation> |
| 761 |
</xs:element> |
| 762 |
<xs:element name="PixSize3" type="crd:double3Type" substitutionGroup="crd:CPixSize3"> |
| 763 |
<xs:annotation> |
| 764 |
<xs:documentation>3 doubles PixSize element</xs:documentation> |
| 765 |
</xs:annotation> |
| 766 |
</xs:element> |
| 767 |
<xs:element name="PixSize3PA" type="crd:size3Type" substitutionGroup="crd:CPixSize3"> |
| 768 |
<xs:annotation> |
| 769 |
<xs:documentation>size3Type PixSize element</xs:documentation> |
| 770 |
</xs:annotation> |
| 771 |
</xs:element> |
| 772 |
<xs:element name="PixSize3Matrix" type="crd:double9Type" substitutionGroup="crd:CPixSize3"> |
| 773 |
<xs:annotation> |
| 774 |
<xs:documentation>3x3 matrix PixSize element</xs:documentation> |
| 775 |
</xs:annotation> |
| 776 |
</xs:element> |
| 777 |
<xs:element name="PixSize3Ref" type="xs:IDREF" substitutionGroup="crd:CPixSize3"> |
| 778 |
<xs:annotation> |
| 779 |
<xs:documentation>IDREF to a PixSize3</xs:documentation> |
| 780 |
</xs:annotation> |
| 781 |
</xs:element> |
| 782 |
|
| 783 |
<xs:complexType name="vector3CoordinateType"> |
| 784 |
<xs:annotation> |
| 785 |
<xs:documentation>Generic 3-D coordinate type</xs:documentation> |
| 786 |
<xs:documentation>Single CError3, CResolution3, CSize3, CPixSize3 elements indicate definite values; pairs indicate ranges</xs:documentation> |
| 787 |
</xs:annotation> |
| 788 |
<xs:complexContent> |
| 789 |
<xs:extension base="crd:coordinateType"> |
| 790 |
<xs:sequence> |
| 791 |
<xs:element ref="crd:CValue3" minOccurs="0"/> |
| 792 |
<xs:element ref="crd:CError3" minOccurs="0" maxOccurs="2"/> |
| 793 |
<xs:element ref="crd:CResolution3" minOccurs="0" maxOccurs="2"/> |
| 794 |
<xs:element ref="crd:CSize3" minOccurs="0" maxOccurs="2"/> |
| 795 |
<xs:element ref="crd:CPixSize3" minOccurs="0" maxOccurs="2"/> |
| 796 |
</xs:sequence> |
| 797 |
</xs:extension> |
| 798 |
</xs:complexContent> |
| 799 |
</xs:complexType> |
| 800 |
|
| 801 |
<xs:element name="Coordinate" type="crd:coordinateType" abstract="true"> |
| 802 |
<xs:annotation> |
| 803 |
<xs:documentation>Coordinate substitution group</xs:documentation> |
| 804 |
</xs:annotation> |
| 805 |
</xs:element> |
| 806 |
<xs:element name="ScalarCoordinate" substitutionGroup="crd:Coordinate"> |
| 807 |
<xs:annotation> |
| 808 |
<xs:documentation>Generic scalar coordinate element</xs:documentation> |
| 809 |
</xs:annotation> |
| 810 |
<xs:complexType> |
| 811 |
<xs:complexContent> |
| 812 |
<xs:extension base="crd:scalarCoordinateType"> |
| 813 |
<xs:attribute name="unit" type="xs:string" use="optional"/> |
| 814 |
</xs:extension> |
| 815 |
</xs:complexContent> |
| 816 |
</xs:complexType> |
| 817 |
</xs:element> |
| 818 |
<xs:element name="StringCoordinate" substitutionGroup="crd:Coordinate"> |
| 819 |
<xs:annotation> |
| 820 |
<xs:documentation>Generic string coordinate element</xs:documentation> |
| 821 |
</xs:annotation> |
| 822 |
<xs:complexType> |
| 823 |
<xs:complexContent> |
| 824 |
<xs:extension base="crd:coordinateType"> |
| 825 |
<xs:sequence> |
| 826 |
<xs:element name="Value" type="xs:string"/> |
| 827 |
</xs:sequence> |
| 828 |
<xs:attribute name="unit" type="xs:string" use="optional"/> |
| 829 |
</xs:extension> |
| 830 |
</xs:complexContent> |
| 831 |
</xs:complexType> |
| 832 |
</xs:element> |
| 833 |
<xs:element name="PixelCoordinate" substitutionGroup="crd:Coordinate"> |
| 834 |
<xs:annotation> |
| 835 |
<xs:documentation>Generic coordinate element for pixels</xs:documentation> |
| 836 |
</xs:annotation> |
| 837 |
<xs:complexType> |
| 838 |
<xs:complexContent> |
| 839 |
<xs:extension base="crd:coordinateType"> |
| 840 |
<xs:sequence> |
| 841 |
<xs:element name="Value" type="xs:double"/> |
| 842 |
</xs:sequence> |
| 843 |
</xs:extension> |
| 844 |
</xs:complexContent> |
| 845 |
</xs:complexType> |
| 846 |
</xs:element> |
| 847 |
<xs:element name="Position" type="crd:coordinateType" abstract="true"> |
| 848 |
<xs:annotation> |
| 849 |
<xs:documentation>Position coordinate substitution group</xs:documentation> |
| 850 |
</xs:annotation> |
| 851 |
</xs:element> |
| 852 |
<xs:element name="Position1D" substitutionGroup="crd:Position"> |
| 853 |
<xs:annotation> |
| 854 |
<xs:documentation>1-D Position coordinate</xs:documentation> |
| 855 |
</xs:annotation> |
| 856 |
<xs:complexType> |
| 857 |
<xs:complexContent> |
| 858 |
<xs:extension base="crd:scalarCoordinateType"> |
| 859 |
<xs:attribute name="unit" type="crd:posUnitType" use="required"/> |
| 860 |
</xs:extension> |
| 861 |
</xs:complexContent> |
| 862 |
</xs:complexType> |
| 863 |
</xs:element> |
| 864 |
<xs:element name="Position2D" substitutionGroup="crd:Position"> |
| 865 |
<xs:annotation> |
| 866 |
<xs:documentation>2-D Position coordinate</xs:documentation> |
| 867 |
</xs:annotation> |
| 868 |
<xs:complexType> |
| 869 |
<xs:complexContent> |
| 870 |
<xs:extension base="crd:vector2CoordinateType"> |
| 871 |
<xs:attribute name="unit" type="crd:posUnitType" use="required"/> |
| 872 |
</xs:extension> |
| 873 |
</xs:complexContent> |
| 874 |
</xs:complexType> |
| 875 |
</xs:element> |
| 876 |
<xs:element name="Position3D" substitutionGroup="crd:Position"> |
| 877 |
<xs:annotation> |
| 878 |
<xs:documentation>3-D Position coordinate</xs:documentation> |
| 879 |
</xs:annotation> |
| 880 |
<xs:complexType> |
| 881 |
<xs:complexContent> |
| 882 |
<xs:extension base="crd:vector3CoordinateType"> |
| 883 |
<xs:attribute name="unit" type="crd:posUnitType" use="required"/> |
| 884 |
</xs:extension> |
| 885 |
</xs:complexContent> |
| 886 |
</xs:complexType> |
| 887 |
</xs:element> |
| 888 |
<xs:element name="Velocity" type="crd:coordinateType" abstract="true"> |
| 889 |
<xs:annotation> |
| 890 |
<xs:documentation>Velocity coordinate substitution group</xs:documentation> |
| 891 |
</xs:annotation> |
| 892 |
</xs:element> |
| 893 |
<xs:element name="Velocity1D" substitutionGroup="crd:Velocity"> |
| 894 |
<xs:annotation> |
| 895 |
<xs:documentation>1-D Velocity coordinate</xs:documentation> |
| 896 |
</xs:annotation> |
| 897 |
<xs:complexType> |
| 898 |
<xs:complexContent> |
| 899 |
<xs:extension base="crd:scalarCoordinateType"> |
| 900 |
<xs:attribute name="unit" type="crd:posUnitType" use="required"/> |
| 901 |
<xs:attribute name="vel_time_unit" type="crd:velTimeUnitType" use="required"/> |
| 902 |
</xs:extension> |
| 903 |
</xs:complexContent> |
| 904 |
</xs:complexType> |
| 905 |
</xs:element> |
| 906 |
<xs:element name="Velocity2D" substitutionGroup="crd:Velocity"> |
| 907 |
<xs:annotation> |
| 908 |
<xs:documentation>2-D Velocity coordinate</xs:documentation> |
| 909 |
</xs:annotation> |
| 910 |
<xs:complexType> |
| 911 |
<xs:complexContent> |
| 912 |
<xs:extension base="crd:vector2CoordinateType"> |
| 913 |
<xs:attribute name="unit" type="crd:posUnitType" use="required"/> |
| 914 |
<xs:attribute name="vel_time_unit" type="crd:velTimeUnitType" use="required"/> |
| 915 |
</xs:extension> |
| 916 |
</xs:complexContent> |
| 917 |
</xs:complexType> |
| 918 |
</xs:element> |
| 919 |
<xs:element name="Velocity3D" substitutionGroup="crd:Velocity"> |
| 920 |
<xs:annotation> |
| 921 |
<xs:documentation>3-D Velocity coordinate</xs:documentation> |
| 922 |
</xs:annotation> |
| 923 |
<xs:complexType> |
| 924 |
<xs:complexContent> |
| 925 |
<xs:extension base="crd:vector3CoordinateType"> |
| 926 |
<xs:attribute name="unit" type="crd:posUnitType" use="required"/> |
| 927 |
<xs:attribute name="vel_time_unit" type="crd:velTimeUnitType" use="required"/> |
| 928 |
</xs:extension> |
| 929 |
</xs:complexContent> |
| 930 |
</xs:complexType> |
| 931 |
</xs:element> |
| 932 |
|
| 933 |
<xs:complexType name="fitsType"> |
| 934 |
<xs:annotation> |
| 935 |
<xs:documentation>Specifies a FITS file and optionally a specific HDU by HDU number or HDU name</xs:documentation> |
| 936 |
</xs:annotation> |
| 937 |
<xs:simpleContent> |
| 938 |
<xs:extension base="xs:anyURI"> |
| 939 |
<xs:attribute name="hdu_num" type="xs:integer"/> |
| 940 |
<xs:attribute name="hdu_name" type="xs:string"/> |
| 941 |
</xs:extension> |
| 942 |
</xs:simpleContent> |
| 943 |
</xs:complexType> |
| 944 |
<xs:complexType name="coordFITSColumnsType"> |
| 945 |
<xs:annotation> |
| 946 |
<xs:documentation>Refers coordinate components to specific columns in the FITS file HDU</xs:documentation> |
| 947 |
</xs:annotation> |
| 948 |
<xs:sequence> |
| 949 |
<xs:element name="Name" type="xs:string"/> |
| 950 |
<xs:element name="Value" type="xs:string" minOccurs="0"> |
| 951 |
<xs:annotation> |
| 952 |
<xs:documentation>The column name for the coordinate value; comma-separated if multi-dimensional</xs:documentation> |
| 953 |
</xs:annotation> |
| 954 |
</xs:element> |
| 955 |
<xs:element name="Error" type="xs:string" minOccurs="0"> |
| 956 |
<xs:annotation> |
| 957 |
<xs:documentation>The column name for the coordinate error; comma-separated if multi-dimensional</xs:documentation> |
| 958 |
</xs:annotation> |
| 959 |
</xs:element> |
| 960 |
<xs:element name="Resolution" type="xs:string" minOccurs="0"> |
| 961 |
<xs:annotation> |
| 962 |
<xs:documentation>The column name for the coordinate resolution; comma-separated if multi-dimensional</xs:documentation> |
| 963 |
</xs:annotation> |
| 964 |
</xs:element> |
| 965 |
<xs:element name="Size" type="xs:string" minOccurs="0"> |
| 966 |
<xs:annotation> |
| 967 |
<xs:documentation>The column name for the coordinate size; comma-separated if multi-dimensional</xs:documentation> |
| 968 |
</xs:annotation> |
| 969 |
</xs:element> |
| 970 |
<xs:element name="PixSize" type="xs:string" minOccurs="0"> |
| 971 |
<xs:annotation> |
| 972 |
<xs:documentation>The column name for the coordinate pixel size; comma-separated if multi-dimensional</xs:documentation> |
| 973 |
</xs:annotation> |
| 974 |
</xs:element> |
| 975 |
</xs:sequence> |
| 976 |
</xs:complexType> |
| 977 |
<xs:complexType name="astroCoordsFileType"> |
| 978 |
<xs:annotation> |
| 979 |
<xs:documentation>Coordinate references to a specific FITS file</xs:documentation> |
| 980 |
</xs:annotation> |
| 981 |
<xs:sequence> |
| 982 |
<xs:element name="FITSFile" type="crd:fitsType"/> |
| 983 |
<xs:element name="FITSTime" type="crd:coordFITSColumnsType" minOccurs="0"/> |
| 984 |
<xs:element name="FITSPosition" type="crd:coordFITSColumnsType" minOccurs="0"/> |
| 985 |
<xs:element name="FITSVelocity" type="crd:coordFITSColumnsType" minOccurs="0"/> |
| 986 |
<xs:element name="FITSSpectral" type="crd:coordFITSColumnsType" minOccurs="0"/> |
| 987 |
<xs:element name="FITSRedshift" type="crd:coordFITSColumnsType" minOccurs="0"/> |
| 988 |
</xs:sequence> |
| 989 |
</xs:complexType> |
| 990 |
|
| 991 |
<xs:complexType name="coordsType"> |
| 992 |
<xs:annotation> |
| 993 |
<xs:documentation>The generic coordsType</xs:documentation> |
| 994 |
</xs:annotation> |
| 995 |
<xs:sequence minOccurs="0" maxOccurs="unbounded"> |
| 996 |
<xs:element ref="crd:Coordinate"/> |
| 997 |
</xs:sequence> |
| 998 |
<xs:attribute name="coord_system_id" type="xs:IDREF" use="required"/> |
| 999 |
</xs:complexType> |
| 1000 |
<xs:complexType name="astroCoordsType"> |
| 1001 |
<xs:annotation> |
| 1002 |
<xs:documentation>The astronomical (STC) coordsType</xs:documentation> |
| 1003 |
</xs:annotation> |
| 1004 |
<xs:complexContent> |
| 1005 |
<xs:extension base="crd:coordsType"> |
| 1006 |
<xs:sequence> |
| 1007 |
<xs:element name="Time" type="crd:timeCoordinateType" minOccurs="0"/> |
| 1008 |
<xs:element ref="crd:Position" minOccurs="0"/> |
| 1009 |
<xs:element ref="crd:Velocity" minOccurs="0"/> |
| 1010 |
<xs:element name="Spectral" minOccurs="0"> |
| 1011 |
<xs:complexType> |
| 1012 |
<xs:complexContent> |
| 1013 |
<xs:extension base="crd:scalarCoordinateType"> |
| 1014 |
<xs:attribute name="unit" type="crd:spectralUnitType" use="optional"/> |
| 1015 |
</xs:extension> |
| 1016 |
</xs:complexContent> |
| 1017 |
</xs:complexType> |
| 1018 |
</xs:element> |
| 1019 |
<xs:element name="Redshift" minOccurs="0"> |
| 1020 |
<xs:complexType> |
| 1021 |
<xs:complexContent> |
| 1022 |
<xs:extension base="crd:scalarCoordinateType"> |
| 1023 |
<xs:attribute name="unit" type="crd:posUnitType" use="optional"/> |
| 1024 |
<xs:attribute name="vel_time_unit" type="crd:velTimeUnitType" use="optional"/> |
| 1025 |
</xs:extension> |
| 1026 |
</xs:complexContent> |
| 1027 |
</xs:complexType> |
| 1028 |
</xs:element> |
| 1029 |
<xs:element name="CoordFile" type="crd:astroCoordsFileType" minOccurs="0"> |
| 1030 |
<xs:annotation> |
| 1031 |
<xs:documentation>Some or all coordinate values may be given in file</xs:documentation> |
| 1032 |
</xs:annotation> |
| 1033 |
</xs:element> |
| 1034 |
</xs:sequence> |
| 1035 |
</xs:extension> |
| 1036 |
</xs:complexContent> |
| 1037 |
</xs:complexType> |
| 1038 |
<xs:complexType name="pixelCoordsType"> |
| 1039 |
<xs:annotation> |
| 1040 |
<xs:documentation>The pixel coordinates type</xs:documentation> |
| 1041 |
</xs:annotation> |
| 1042 |
<xs:complexContent> |
| 1043 |
<xs:restriction base="crd:coordsType"> |
| 1044 |
<xs:sequence maxOccurs="unbounded"> |
| 1045 |
<xs:element ref="crd:PixelCoordinate"/> |
| 1046 |
</xs:sequence> |
| 1047 |
<xs:attribute name="coord_system_id" type="xs:IDREF" use="required"/> |
| 1048 |
</xs:restriction> |
| 1049 |
</xs:complexContent> |
| 1050 |
</xs:complexType> |
| 1051 |
<xs:element name="Coords" type="crd:coordsType"> |
| 1052 |
<xs:annotation> |
| 1053 |
<xs:documentation>Head element of Coords group (not abstract)</xs:documentation> |
| 1054 |
</xs:annotation> |
| 1055 |
</xs:element> |
| 1056 |
<xs:element name="AstroCoords" type="crd:astroCoordsType" substitutionGroup="crd:Coords"> |
| 1057 |
<xs:annotation> |
| 1058 |
<xs:documentation>The coordinate element consists either of a coordinate file or a sequence of time element, spatial coordinate element, velocity element, and redshift element; the spatial and velocity elements may be scalar or vector; it needs to refer to a coordinate system</xs:documentation> |
| 1059 |
</xs:annotation> |
| 1060 |
</xs:element> |
| 1061 |
<xs:element name="PixelCoords" type="crd:pixelCoordsType" substitutionGroup="crd:Coords"> |
| 1062 |
<xs:annotation> |
| 1063 |
<xs:documentation>Contains pixel coordinates</xs:documentation> |
| 1064 |
</xs:annotation> |
| 1065 |
</xs:element> |
| 1066 |
</xs:schema> |