⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 csw-2.0.1.xsd

📁 联合国农粮署牵头开发的geonetwork源代码最新版
💻 XSD
📖 第 1 页 / 共 3 页
字号:
<?xml version="1.0" encoding="UTF-8"?><xsd:schema targetNamespace="http://www.opengis.net/cat/csw"   xmlns:csw="http://www.opengis.net/cat/csw"   xmlns:ogc="http://www.opengis.net/ogc"    xmlns:ows="http://www.opengis.net/ows"    xmlns:dc="http://purl.org/dc/elements/1.1/"    xmlns:dct="http://purl.org/dc/terms/"    xmlns:xsd="http://www.w3.org/2001/XMLSchema"   elementFormDefault="qualified"   version="2.0.1">  <xsd:import namespace="http://purl.org/dc/terms/"     schemaLocation="./rec-dcterms.xsd" />  <xsd:import namespace="http://purl.org/dc/elements/1.1/"     schemaLocation="./rec-dcmes.xsd" />  <xsd:import namespace="http://www.opengis.net/ows"     schemaLocation="../../ows/1.0.0/ows-1.0.0.xsd" />  <xsd:import namespace="http://www.opengis.net/ogc"     schemaLocation="../../filter/1.1.0/filter-1.1.0.xsd"/>  <xsd:element name="AbstractRecord" id="AbstractRecord"     abstract="true"     type="csw:AbstractRecordType" />  <xsd:complexType name="AbstractRecordType" id="AbstractRecordType"     abstract="true"/>    <xsd:element name="DCMIRecord" type="csw:DCMIRecordType"     substitutionGroup="csw:AbstractRecord" />  <xsd:complexType name="DCMIRecordType">    <xsd:annotation>      <xsd:documentation xml:lang="en">      This type encapsulates all of the standard DCMI metadata terms,       including the Dublin Core refinements; these terms may be mapped to       the profile-specific information model.      </xsd:documentation>    </xsd:annotation>    <xsd:complexContent>      <xsd:extension base="csw:AbstractRecordType">        <xsd:sequence>          <xsd:group ref="dct:DCMI-terms"/>        </xsd:sequence>      </xsd:extension>    </xsd:complexContent>  </xsd:complexType>    <xsd:element name="BriefRecord" type="csw:BriefRecordType"     substitutionGroup="csw:AbstractRecord" />  <xsd:complexType name="BriefRecordType" final="#all">    <xsd:annotation>      <xsd:documentation xml:lang="en">      This type defines a brief representation of the common record format.       It extends AbstractRecordType to include only the dc:identifier and       dc:type properties.      </xsd:documentation>    </xsd:annotation>    <xsd:complexContent>      <xsd:extension base="csw:AbstractRecordType">        <xsd:sequence>          <xsd:element ref="dc:identifier" />          <xsd:element ref="dc:type" minOccurs="0" />        </xsd:sequence>      </xsd:extension>    </xsd:complexContent>  </xsd:complexType>    <xsd:element name="SummaryRecord" type="csw:SummaryRecordType"     substitutionGroup="csw:AbstractRecord" />  <xsd:complexType name="SummaryRecordType" final="#all">    <xsd:annotation>      <xsd:documentation xml:lang="en">      This type defines a summary representation of the common record format.       It extends AbstractRecordType to include the core properties.      </xsd:documentation>    </xsd:annotation>    <xsd:complexContent>      <xsd:extension base="csw:AbstractRecordType">        <xsd:sequence>          <xsd:choice minOccurs="1" maxOccurs="unbounded">            <xsd:element ref="dc:identifier" />            <xsd:element ref="dc:type" />            <xsd:element ref="dc:title" />            <xsd:element ref="dc:subject" />            <xsd:element ref="dc:format" />            <xsd:element ref="dc:relation" />            <xsd:element ref="dct:modified" />            <xsd:element ref="dct:abstract" />            <xsd:element ref="dct:spatial" />          </xsd:choice>        </xsd:sequence>      </xsd:extension>    </xsd:complexContent>  </xsd:complexType>  <xsd:element name="Record" type="csw:RecordType"     substitutionGroup="csw:AbstractRecord" />  <xsd:complexType name="RecordType" final="#all">    <xsd:annotation>      <xsd:documentation xml:lang="en">      This type extends DCMIRecordType to add ows:BoundingBox; it may be       used to specify a spatial envelope for the catalogued resource.      </xsd:documentation>    </xsd:annotation>    <xsd:complexContent>      <xsd:extension base="csw:DCMIRecordType">        <xsd:sequence>          <xsd:element ref="ows:BoundingBox" minOccurs="0" />        </xsd:sequence>      </xsd:extension>    </xsd:complexContent>   </xsd:complexType>   <xsd:complexType name="RequestBaseType" id="RequestBaseType" abstract="true">      <xsd:annotation>         <xsd:documentation>         Base type for all request messages except GetCapabilities. The          attributes identify the relevant service type and version.         </xsd:documentation>      </xsd:annotation>      <xsd:attribute name="service" type="ows:ServiceType" use="optional"                      default="http://www.opengis.net/cat/csw"/>      <xsd:attribute name="version" type="ows:VersionType"                     use="optional" default="2.0.1"/>   </xsd:complexType>   <xsd:element name="GetCapabilities" type="csw:GetCapabilitiesType"      id="GetCapabilities" />      <xsd:complexType name="GetCapabilitiesType" id="GetCapabilitiesType">     <xsd:annotation>       <xsd:documentation>       Request for a description of service capabilities. See OGC 05-008        for more information.       </xsd:documentation>     </xsd:annotation>     <xsd:complexContent>       <xsd:extension base="ows:GetCapabilitiesType">         <xsd:attribute name="service" type="ows:ServiceType"           use="optional" default="http://www.opengis.net/cat/csw"/>       </xsd:extension>     </xsd:complexContent>   </xsd:complexType>   <xsd:element name="Capabilities" type="csw:CapabilitiesType"      id="Capabilities" />   <xsd:complexType name="CapabilitiesType" id="CapabilitiesType">      <xsd:annotation>         <xsd:documentation>         This type extends ows:CapabilitiesBaseType defined in OGC-05-008          to include information about supported OGC filter components. A          profile may extend this type to describe additional capabilities.         </xsd:documentation>      </xsd:annotation>      <xsd:complexContent>            <xsd:extension base="ows:CapabilitiesBaseType">               <xsd:sequence>                 <xsd:element ref="ogc:Filter_Capabilities" />               </xsd:sequence>            </xsd:extension>         </xsd:complexContent>    </xsd:complexType>   <xsd:element name="DescribeRecord"                type="csw:DescribeRecordType" id="DescribeRecord"/>   <xsd:complexType name="DescribeRecordType" id="DescribeRecordType">      <xsd:annotation>         <xsd:documentation xml:lang="en">         This request allows a user to discover elements of the         information model supported by the catalogue. If no TypeName          elements are included, then all of the schemas for the          information model must be returned.               schemaLanguage - preferred schema language                          (W3C XML Schema by default)         outputFormat - preferred output format (application/xml by default)         </xsd:documentation>      </xsd:annotation>      <xsd:complexContent>         <xsd:extension base="csw:RequestBaseType">            <xsd:sequence>               <xsd:element name="TypeName" type="csw:TypeNameType"                            minOccurs="0" maxOccurs="unbounded"/>            </xsd:sequence>            <xsd:attribute name="outputFormat" type="xsd:string"                            use="optional"                            default="application/xml"/>            <xsd:attribute name="schemaLanguage" type="xsd:anyURI"                           use="optional"                           default="http://www.w3.org/XML/Schema"/>         </xsd:extension>      </xsd:complexContent>   </xsd:complexType>   <xsd:complexType name="TypeNameType" id="TypeNameType">      <xsd:annotation>         <xsd:documentation>         The unqualified name of the model element for which the type          definition is requested. The targetNamespace MUST be specified,          although it may have the value "##any" to indicate any namespace.         </xsd:documentation>      </xsd:annotation>      <xsd:simpleContent>         <xsd:extension base="xsd:NCName">            <xsd:attribute name="targetNamespace"                           type="xsd:anyURI"                           use="required"/>         </xsd:extension>      </xsd:simpleContent>   </xsd:complexType>   <xsd:element name="DescribeRecordResponse"                type="csw:DescribeRecordResponseType"                id="DescribeRecordResponse"/>   <xsd:complexType name="DescribeRecordResponseType"                    id="DescribeRecordResponseType">      <xsd:annotation>         <xsd:documentation xml:lang="en">         The response contains a list of matching schema components         in the requested schema language.         </xsd:documentation>      </xsd:annotation>      <xsd:sequence>         <xsd:element name="SchemaComponent"                      type="csw:SchemaComponentType"                      minOccurs="0" maxOccurs="unbounded"/>      </xsd:sequence>   </xsd:complexType>      <xsd:complexType name="SchemaComponentType"                    mixed="true" id="SchemaComponentType">      <xsd:annotation>         <xsd:documentation xml:lang="en">         A schema component includes a schema fragment (type         definition) or an entire schema from some target namespace;         the schema language is identified by URI. If the component         is a schema fragment its parent MUST be referenced (parentSchema).         </xsd:documentation>      </xsd:annotation>      <xsd:sequence>         <xsd:any namespace="##any" processContents="lax"/>      </xsd:sequence>      <xsd:attribute name="targetNamespace" type="xsd:anyURI" use="required"/>      <xsd:attribute name="parentSchema" type="xsd:anyURI" use="optional"/>      <xsd:attribute name="schemaLanguage" type="xsd:anyURI" use="required"/>   </xsd:complexType>   <xsd:element name="GetRecords" type="csw:GetRecordsType" id="GetRecords"/>   <xsd:complexType name="GetRecordsType" id="GetRecordsType">      <xsd:annotation>         <xsd:documentation xml:lang="en">         The principal means of searching the catalogue. The matching          catalogue entries may be included with the response. The client          may assign a requestId (absolute URI). A distributed search is          performed if the DistributedSearch element is present and the          catalogue is a member of a federation. Profiles may allow          alternative query expressions.         </xsd:documentation>      </xsd:annotation>      <xsd:complexContent>         <xsd:extension base="csw:RequestBaseType">            <xsd:sequence>               <xsd:element name="DistributedSearch"                            type="csw:DistributedSearchType"                            minOccurs="0"/>               <xsd:element name="ResponseHandler"                            type="xsd:anyURI"                            minOccurs="0" maxOccurs="unbounded"/>               <xsd:choice>                 <xsd:element ref="csw:AbstractQuery"/>                 <xsd:any processContents="strict"                           namespace="##other" />               </xsd:choice>            </xsd:sequence>            <xsd:attribute name="requestId" type="xsd:anyURI"                           use="optional" />            <xsd:attribute name="resultType" type="csw:ResultType"                           use="optional" default="hits"/>            <xsd:attributeGroup ref="csw:BasicRetrievalOptions"/>         </xsd:extension>      </xsd:complexContent>   </xsd:complexType>      <xsd:attributeGroup name="BasicRetrievalOptions"                       id="BasicRetrievalOptions">      <xsd:annotation>         <xsd:documentation xml:lang="en">            Various attributes that specify basic retrieval options:            outputFormat   - the media type of the response message            outputSchema   - the preferred schema for records in the result set            startPosition  - requests a slice of the result set, starting                             at this position            maxRecords     - the maximum number of records to return. No                             records are  returned if maxRecords=0.         </xsd:documentation>      </xsd:annotation>      <xsd:attribute name="outputFormat"                     type="xsd:string"                     use="optional" default="application/xml"/>      <xsd:attribute name="outputSchema"                     type="xsd:anyURI"                     use="optional"/>      <xsd:attribute name="startPosition"                     type="xsd:positiveInteger"                     use="optional" default="1"/>      <xsd:attribute name="maxRecords"                     type="xsd:nonNegativeInteger"                     use="optional" default="10"/>   </xsd:attributeGroup>      <xsd:simpleType name="ResultType" id="ResultType">    <xsd:restriction base="xsd:string">      <xsd:enumeration value="results">        <xsd:annotation>          <xsd:documentation>          Include results in the response.          </xsd:documentation>        </xsd:annotation>      </xsd:enumeration>      <xsd:enumeration value="hits">        <xsd:annotation>          <xsd:documentation>          Provide a result set summary, but no results.          </xsd:documentation>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -