| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<xs:schema targetNamespace="http://www.ivoa.net/xml/RegistryInterface/v1.0" |
| 3 |
xmlns:ri="http://www.ivoa.net/xml/RegistryInterface/v1.0" |
| 4 |
xmlns="http://www.w3.org/2001/XMLSchema" |
| 5 |
xmlns:xs="http://www.w3.org/2001/XMLSchema" |
| 6 |
xmlns:vr="http://www.ivoa.net/xml/VOResource/v1.0" |
| 7 |
elementFormDefault="qualified" |
| 8 |
version="1.0"> |
| 9 |
|
| 10 |
<xs:import namespace="http://www.ivoa.net/xml/VOResource/v1.0" |
| 11 |
schemaLocation="http://docs.g-vo.org/schemata/VOResource.xsd"/> |
| 12 |
|
| 13 |
<xs:element name="VOResources"> |
| 14 |
<xs:annotation> |
| 15 |
<xs:documentation> |
| 16 |
a container for one or more resource descriptions or |
| 17 |
identifier references to resources. |
| 18 |
</xs:documentation> |
| 19 |
<xs:documentation> |
| 20 |
This is used to transmitting multiple resource descriptions |
| 21 |
resulting from a query. |
| 22 |
</xs:documentation> |
| 23 |
</xs:annotation> |
| 24 |
|
| 25 |
<xs:complexType> |
| 26 |
<xs:sequence> |
| 27 |
<xs:choice> |
| 28 |
<xs:element ref="ri:Resource" |
| 29 |
minOccurs="0" maxOccurs="unbounded"/> |
| 30 |
<xs:element name="identifier" type="vr:IdentifierURI" |
| 31 |
minOccurs="0" maxOccurs="unbounded"/> |
| 32 |
</xs:choice> |
| 33 |
</xs:sequence> |
| 34 |
<xs:attribute name="from" type="xs:positiveInteger" use="required" /> |
| 35 |
<xs:attribute name="numberReturned" type="xs:positiveInteger" |
| 36 |
use="required" /> |
| 37 |
<xs:attribute name="more" type="xs:boolean" use="required" /> |
| 38 |
</xs:complexType> |
| 39 |
</xs:element> |
| 40 |
|
| 41 |
<xs:element name="Resource" type="vr:Resource"> |
| 42 |
<xs:annotation> |
| 43 |
<xs:documentation> |
| 44 |
a description of a single resource |
| 45 |
</xs:documentation> |
| 46 |
</xs:annotation> |
| 47 |
</xs:element> |
| 48 |
|
| 49 |
</xs:schema> |