| 1 |
<xsd:schema targetNamespace="http://docs.g-vo.org/schemata/DaCHS.xsd" |
| 2 |
xmlns:tns="http://docs.g-vo.org/schemata/DaCHS.xsd" |
| 3 |
xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
| 4 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 5 |
xmlns:vr="http://www.ivoa.net/xml/VOResource/v1.0" |
| 6 |
xmlns:vm="http://www.ivoa.net/xml/VOMetadata/v0.1" |
| 7 |
elementFormDefault="unqualified" |
| 8 |
attributeFormDefault="unqualified" |
| 9 |
version="1.0"> |
| 10 |
|
| 11 |
<xsd:import namespace="http://www.ivoa.net/xml/VOResource/v1.0" |
| 12 |
schemaLocation="http://docs.g-vo.org/schemata/VOResource.xsd"/> |
| 13 |
|
| 14 |
<xsd:annotation> |
| 15 |
<xsd:appinfo> |
| 16 |
<vm:schemaName>TAPRegExt</vm:schemaName> |
| 17 |
<vm:schemaPrefix>xs</vm:schemaPrefix> |
| 18 |
<vm:targetPrefix>tr</vm:targetPrefix> |
| 19 |
</xsd:appinfo> |
| 20 |
|
| 21 |
<xsd:documentation> |
| 22 |
A schema for holding schema items slated to enter VOResource |
| 23 |
while they are prototyped in DaCHS. Items here may |
| 24 |
disapprear when we believe all adopters of the previous |
| 25 |
versions should have migrated. And they may change without |
| 26 |
prior notice. |
| 27 |
|
| 28 |
In short: This is the VO's Old West. |
| 29 |
</xsd:documentation> |
| 30 |
</xsd:annotation> |
| 31 |
|
| 32 |
<!-- 2021: DALIInterface as proposed for TAPRegExt --> |
| 33 |
|
| 34 |
<xsd:complexType name="DALIInterface"> |
| 35 |
<xsd:annotation> |
| 36 |
<xsd:documentation> |
| 37 |
An interface for a complex, multi-endpoint interfaces as |
| 38 |
regulated by DALI. |
| 39 |
</xsd:documentation> |
| 40 |
<xsd:documentation> |
| 41 |
In addition to the standard vr:Interface elements, DALIInterfaces |
| 42 |
have endpoints, listed by name; that name doubles as a path segment |
| 43 |
to append to the interface's access URL, yielding the URI at |
| 44 |
which the endpoint is operated. |
| 45 |
</xsd:documentation> |
| 46 |
</xsd:annotation> |
| 47 |
|
| 48 |
<xsd:complexContent> |
| 49 |
<xsd:extension base="vr:Interface"> |
| 50 |
<xsd:sequence> |
| 51 |
<xsd:element name="endpoint" type="tns:Endpoint" |
| 52 |
minOccurs="0" maxOccurs="unbounded"> |
| 53 |
<xsd:annotation> |
| 54 |
<xsd:documentation> |
| 55 |
An endpoint accessible through this interface. |
| 56 |
</xsd:documentation> |
| 57 |
</xsd:annotation> |
| 58 |
</xsd:element> |
| 59 |
</xsd:sequence> |
| 60 |
</xsd:extension> |
| 61 |
</xsd:complexContent> |
| 62 |
</xsd:complexType> |
| 63 |
|
| 64 |
<xsd:complexType name="Endpoint"> |
| 65 |
<xsd:annotation> |
| 66 |
<xsd:documentation> |
| 67 |
An endpoint of a complex interface. |
| 68 |
</xsd:documentation> |
| 69 |
<xsd:documentation> |
| 70 |
An endpoint is characterised and addressed by its name; |
| 71 |
they can further be defined through RDF triples. This is a |
| 72 |
generic extension mechanism for endpoint-specific metadata, |
| 73 |
primarily intended for custom, vendor-specific extensions. |
| 74 |
</xsd:documentation> |
| 75 |
</xsd:annotation> |
| 76 |
<xsd:sequence> |
| 77 |
<xsd:element name="name" type="xsd:token" |
| 78 |
minOccurs="1" maxOccurs="1"> |
| 79 |
<xsd:annotation> |
| 80 |
<xsd:documentation> |
| 81 |
The endpoint name, which is also the last component of the |
| 82 |
path of its URI. |
| 83 |
</xsd:documentation> |
| 84 |
<xsd:documentation> |
| 85 |
Names without dashes are reserved for IVOA use and are expected to |
| 86 |
work the same way on all services. Well-known examples for |
| 87 |
such endpoint names include sync, async, and tables. |
| 88 |
</xsd:documentation> |
| 89 |
</xsd:annotation> |
| 90 |
</xsd:element> |
| 91 |
|
| 92 |
<xsd:element name="meta" type="tns:MetaTriple" |
| 93 |
minOccurs="0" maxOccurs="unbounded"> |
| 94 |
<xsd:annotation> |
| 95 |
<xsd:documentation> |
| 96 |
Auxiliary information on this endpoint. |
| 97 |
</xsd:documentation> |
| 98 |
</xsd:annotation> |
| 99 |
</xsd:element> |
| 100 |
</xsd:sequence> |
| 101 |
</xsd:complexType> |
| 102 |
|
| 103 |
<xsd:complexType name="MetaTriple"> |
| 104 |
<xsd:annotation> |
| 105 |
<xsd:documentation> |
| 106 |
A container for an RDFa triple giving information related to |
| 107 |
an endpoint. |
| 108 |
</xsd:documentation> |
| 109 |
</xsd:annotation> |
| 110 |
<xsd:simpleContent> |
| 111 |
<xsd:extension base="xsd:token"> |
| 112 |
<xsd:attribute name="about" type="xsd:anyURI" use="optional"> |
| 113 |
<xsd:annotation> |
| 114 |
<xsd:documentation> |
| 115 |
The subject of the statement. |
| 116 |
</xsd:documentation> |
| 117 |
<xsd:documentation> |
| 118 |
If missing, the endpoint itself is assumed as the subject. |
| 119 |
</xsd:documentation> |
| 120 |
</xsd:annotation> |
| 121 |
</xsd:attribute> |
| 122 |
<xsd:attribute name="property" type="xsd:anyURI" use="required"> |
| 123 |
<xsd:annotation> |
| 124 |
<xsd:documentation> |
| 125 |
The property of the statement. |
| 126 |
</xsd:documentation> |
| 127 |
<xsd:documentation> |
| 128 |
This is a reference to an RDF resource. IVOA standards may define |
| 129 |
semantics for scheme-less URI; non-IVOA properties must use |
| 130 |
full URIs with at least scheme and authority; in this |
| 131 |
version, no vocab attributes are supported. |
| 132 |
</xsd:documentation> |
| 133 |
</xsd:annotation> |
| 134 |
</xsd:attribute> |
| 135 |
<xsd:attribute name="resource" type="xsd:anyURI" use="optional"> |
| 136 |
<xsd:annotation> |
| 137 |
<xsd:documentation> |
| 138 |
The object of the statement. |
| 139 |
</xsd:documentation> |
| 140 |
<xsd:documentation> |
| 141 |
If missing, the text content of the element is used as the |
| 142 |
object. |
| 143 |
</xsd:documentation> |
| 144 |
</xsd:annotation> |
| 145 |
</xsd:attribute> |
| 146 |
</xsd:extension> |
| 147 |
</xsd:simpleContent> |
| 148 |
</xsd:complexType> |
| 149 |
|
| 150 |
</xsd:schema> |