source: RevitalizationWS/schemas/csw/trunk/src/main/resources/record.xsd @ 7385

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/RevitalizationWS/schemas/csw/trunk/src/main/resources/record.xsd@7385
Revision 7385, 6.2 KB checked in by mnagni, 9 years ago (diff)

version 2.0.2 of the OGC CSW library

  • Property svn:mime-type set to text/plain
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<xsd:schema id="csw-record"
3   targetNamespace="http://www.opengis.net/cat/csw/2.0.2"
4   xmlns:csw="http://www.opengis.net/cat/csw/2.0.2"
5   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
6   xmlns:dc="http://purl.org/dc/elements/1.1/"
7   xmlns:dct="http://purl.org/dc/terms/" xmlns:ows="http://www.opengis.net/ows"
8   elementFormDefault="qualified" version="2.0.2 2010-01-22">
9   <xsd:annotation>
10      <xsd:appinfo>
11         <dc:identifier xmlns:dc="http://purl.org/dc/elements/1.1/">http://schemas.opengis.net/csw/2.0.2/record.xsd</dc:identifier>
12      </xsd:appinfo>
13      <xsd:documentation xml:lang="en">
14         This schema defines the basic record types that must be supported
15         by all CSW implementations. These correspond to full, summary, and
16         brief views based on DCMI metadata terms.
17         
18         CSW is an OGC Standard.
19         Copyright (c) 2004,2010 Open Geospatial Consortium, Inc. All Rights Reserved.
20         To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
21      </xsd:documentation>
22   </xsd:annotation>
23
24   <xsd:import namespace="http://purl.org/dc/terms/" schemaLocation="http://schemas.opengis.net/csw/2.0.2/rec-dcterms.xsd"/>
25   <xsd:import namespace="http://purl.org/dc/elements/1.1/" schemaLocation="http://schemas.opengis.net/csw/2.0.2/rec-dcmes.xsd"/>
26   <xsd:import namespace="http://www.opengis.net/ows" schemaLocation="http://schemas.opengis.net/ows/1.0.0/owsAll.xsd"/>
27
28   <xsd:element name="AbstractRecord" id="AbstractRecord"
29                type="csw:AbstractRecordType" abstract="true" />
30   <xsd:complexType name="AbstractRecordType" id="AbstractRecordType"
31                    abstract="true"/>
32
33   <xsd:element name="DCMIRecord" type="csw:DCMIRecordType"
34                substitutionGroup="csw:AbstractRecord"/>
35   <xsd:complexType name="DCMIRecordType">
36      <xsd:annotation>
37         <xsd:documentation xml:lang="en">
38            This type encapsulates all of the standard DCMI metadata terms,
39            including the Dublin Core refinements; these terms may be mapped
40            to the profile-specific information model.
41         </xsd:documentation>
42      </xsd:annotation>
43      <xsd:complexContent>
44         <xsd:extension base="csw:AbstractRecordType">
45            <xsd:sequence>
46               <xsd:group ref="dct:DCMI-terms"/>
47            </xsd:sequence>
48         </xsd:extension>
49      </xsd:complexContent>
50   </xsd:complexType>
51
52   <xsd:element name="BriefRecord" type="csw:BriefRecordType"
53                substitutionGroup="csw:AbstractRecord"/>
54   <xsd:complexType name="BriefRecordType" final="#all">
55      <xsd:annotation>
56         <xsd:documentation xml:lang="en">
57            This type defines a brief representation of the common record
58            format.  It extends AbstractRecordType to include only the
59             dc:identifier and dc:type properties.
60         </xsd:documentation>
61      </xsd:annotation>
62      <xsd:complexContent>
63         <xsd:extension base="csw:AbstractRecordType">
64            <xsd:sequence>
65               <xsd:element ref="dc:identifier"
66                            minOccurs="1" maxOccurs="unbounded"/>
67               <xsd:element ref="dc:title"
68                            minOccurs="1" maxOccurs="unbounded"/>
69               <xsd:element ref="dc:type"
70                            minOccurs="0"/>
71               <xsd:element ref="ows:BoundingBox"
72                            minOccurs="0" maxOccurs="unbounded"/>
73            </xsd:sequence>
74         </xsd:extension>
75      </xsd:complexContent>
76   </xsd:complexType>
77
78   <xsd:element name="SummaryRecord" type="csw:SummaryRecordType"
79                substitutionGroup="csw:AbstractRecord"/>
80   <xsd:complexType name="SummaryRecordType" final="#all">
81      <xsd:annotation>
82         <xsd:documentation xml:lang="en">
83            This type defines a summary representation of the common record
84            format.  It extends AbstractRecordType to include the core
85            properties.
86         </xsd:documentation>
87      </xsd:annotation>
88      <xsd:complexContent>
89         <xsd:extension base="csw:AbstractRecordType">
90            <xsd:sequence>
91               <xsd:element ref="dc:identifier"
92                            minOccurs="1" maxOccurs="unbounded"/>
93               <xsd:element ref="dc:title"
94                            minOccurs="1" maxOccurs="unbounded"/>
95               <xsd:element ref="dc:type"
96                            minOccurs="0"/>
97               <xsd:element ref="dc:subject"
98                            minOccurs="0" maxOccurs="unbounded"/>
99               <xsd:element ref="dc:format"
100                            minOccurs="0" maxOccurs="unbounded"/>
101               <xsd:element ref="dc:relation"
102                            minOccurs="0" maxOccurs="unbounded"/>
103               <xsd:element ref="dct:modified"
104                            minOccurs="0" maxOccurs="unbounded"/>
105               <xsd:element ref="dct:abstract"
106                            minOccurs="0" maxOccurs="unbounded"/>
107               <xsd:element ref="dct:spatial"
108                            minOccurs="0" maxOccurs="unbounded"/>
109               <xsd:element ref="ows:BoundingBox"
110                            minOccurs="0" maxOccurs="unbounded"/>
111            </xsd:sequence>
112         </xsd:extension>
113      </xsd:complexContent>
114   </xsd:complexType>
115
116   <xsd:element name="Record" type="csw:RecordType"
117                substitutionGroup="csw:AbstractRecord"/>
118   <xsd:complexType name="RecordType" final="#all">
119      <xsd:annotation>
120         <xsd:documentation xml:lang="en">
121            This type extends DCMIRecordType to add ows:BoundingBox;
122            it may be used to specify a spatial envelope for the
123            catalogued resource.
124         </xsd:documentation>
125      </xsd:annotation>
126      <xsd:complexContent>
127         <xsd:extension base="csw:DCMIRecordType">
128            <xsd:sequence>
129               <xsd:element name="AnyText" type="csw:EmptyType"
130                            minOccurs="0" maxOccurs="unbounded"/>
131               <xsd:element ref="ows:BoundingBox"
132                            minOccurs="0" maxOccurs="unbounded"/>
133            </xsd:sequence>
134         </xsd:extension>
135      </xsd:complexContent>
136   </xsd:complexType>
137   <xsd:complexType name="EmptyType" />
138</xsd:schema>
Note: See TracBrowser for help on using the repository browser.