| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- Heikki: this is the standard Basic Extension Package XSD, with added namespace and import for GML - - without it, some example documents |
| 3 | in the specification are not valid. --> |
| 4 | <xsd:schema xmlns:wrs="http://www.opengis.net/cat/wrs" xmlns:rim="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:gml="http://www.opengis.net/gml" targetNamespace="http://www.opengis.net/cat/wrs" elementFormDefault="qualified" version="1.0.0" id="pkg-basic.xsd"> |
| 5 | <xsd:annotation> |
| 6 | <xsd:appinfo> |
| 7 | <dc:identifier> |
| 8 | http://schemas.opengis.net/csw-ebrim/1.0.0/pkg-basic.xsd |
| 9 | </dc:identifier> |
| 10 | </xsd:appinfo> |
| 11 | <xsd:documentation xml:lang="en"> |
| 12 | The Basic package defines extensions that must be supported by all |
| 13 | conforming implementations. |
| 14 | </xsd:documentation> |
| 15 | </xsd:annotation> |
| 16 | <xsd:import namespace="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" schemaLocation="http://www.oasis-open.org/committees/regrep/documents/3.0/schema/rim.xsd"/> |
| 17 | <!-- Heikki: added GML XSD --> |
| 18 | <xsd:import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/3.1.1/base/gml.xsd"/> |
| 19 | <xsd:element name="ValueList" type="wrs:ValueListType" substitutionGroup="rim:ValueList"/> |
| 20 | <xsd:complexType name="ValueListType"> |
| 21 | <xsd:annotation> |
| 22 | <xsd:documentation xml:lang="en"> |
| 23 | More permissive slot values not restricted to simple types. |
| 24 | </xsd:documentation> |
| 25 | </xsd:annotation> |
| 26 | <xsd:complexContent> |
| 27 | <xsd:extension base="rim:ValueListType"> |
| 28 | <xsd:sequence minOccurs="0" maxOccurs="unbounded"> |
| 29 | <xsd:element ref="wrs:AnyValue"/> |
| 30 | </xsd:sequence> |
| 31 | </xsd:extension> |
| 32 | </xsd:complexContent> |
| 33 | </xsd:complexType> |
| 34 | <xsd:element name="AnyValue" type="wrs:AnyValueType"/> |
| 35 | <xsd:complexType name="AnyValueType" mixed="true"> |
| 36 | <xsd:sequence> |
| 37 | <xsd:any minOccurs="0"/> |
| 38 | </xsd:sequence> |
| 39 | </xsd:complexType> |
| 40 | <xsd:element name="StoredQuery" type="rim:IdentifiableType" id="StoredQuery"> |
| 41 | <xsd:annotation> |
| 42 | <xsd:documentation xml:lang="en"> |
| 43 | Specifies a stored query to execute. Slots may be used to pass in any |
| 44 | required parameters. |
| 45 | </xsd:documentation> |
| 46 | </xsd:annotation> |
| 47 | </xsd:element> |
| 48 | </xsd:schema> |