summaryrefslogtreecommitdiffstats
path: root/petascope/src/petascope/wcs2/schemas/wcsCommon.xsd
blob: c1d5b339fe96c1ac964d4bc90ca94425ba5206e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://www.opengis.net/wcs/2.0" 
    xmlns:wcs="http://www.opengis.net/wcs/2.0"
    xmlns:ows="http://www.opengis.net/ows/1.1" 
    xmlns:gml="http://www.opengis.net/gml/3.2" 
    xmlns="http://www.w3.org/2001/XMLSchema" 
    elementFormDefault="qualified" version="2.0.0" xml:lang="en">
    <annotation>
        <appinfo>wcsContents.xsd</appinfo>
        <appinfo>
            <GMLProfileSchema>http://schemas.opengis.net/wcs/2.0/gml/gmlwcsAll.xsd</GMLProfileSchema>
        </appinfo>
        <documentation>This XML Schema Document encodes the elements and types that are shared by multiple WCS operations.
            Last updated: 2010-jan-11
            Copyright (c) 2010 Open Geospatial Consortium, Inc, All Rights Reserved.
            To obtain additional rights of use, visit http://www.opengeospatial.org/legal/.
        </documentation>
    </annotation>
    <!-- ============================================================== -->
    <!-- includes and imports                                           -->
    <!-- ============================================================== -->
    <import namespace="http://www.opengis.net/gml/3.2" schemaLocation="http://schemas.opengis.net/gml/3.2.1/gml.xsd"/>
    <import namespace="http://www.opengis.net/ows/1.1" schemaLocation="http://schemas.opengis.net/ows/1.1.0/owsAll.xsd"/>
    <!-- ============================================================== -->
    <!-- elements and types                                             -->
    <!-- ============================================================== -->
    <complexType name="RequestBaseType">
        <annotation>
            <documentation>XML encoded WCS operation request base, for all operations except GetCapabilities. In this XML encoding, no "request" parameter is included, since the element name specifies the specific operation. </documentation>
        </annotation>
        <sequence/>
        <attribute name="service" type="string" use="required" fixed="WCS">
            <annotation>
                <documentation>Service type identifier, where the value is the OWS type abbreviation. For WCS operation requests, the value is "WCS". </documentation>
            </annotation>
        </attribute>
        <attribute name="version" type="wcs:VersionStringType" use="required">
            <annotation>
                <documentation>Specification version for WCS version and operation. See Version parameter Subclause 7.3.1 of OWS Common for more information. </documentation>
            </annotation>
        </attribute>
    </complexType>
    <simpleType name="VersionStringType">
        <restriction base="string">
            <pattern value="2\.0\.\d+"/>
        </restriction>
    </simpleType>
    <!-- =========================================================== -->
    <element name="id" type="wcs:CoverageIdType">
        <annotation>
            <documentation>This element is a wrapper for the gml:id attribute. Needed to allow lists of identifiers. </documentation>
        </annotation>
    </element>
    <complexType name="CoverageIdType">
        <attribute ref="gml:id"/>
    </complexType>
    <!-- =========================================================== -->
    <element name="ServiceParameters" type="wcs:ServiceParametersType"/>
    <complexType name="ServiceParametersType">
        <sequence>
            <element name="supportedCrsList" type="wcs:CrsListType"/>
            <element name="supportedFormatList" type="wcs:FormatListType"/>
        </sequence>
    </complexType>

    <simpleType name="CrsListType">
        <list itemType="anyURI"/>
    </simpleType>
    <simpleType name="FormatListType">
        <list itemType="ows:MimeType"/>
    </simpleType>
    <!-- =========================================================== -->
    <element name="WcsServiceMetadata" type="wcs:ServiceMetadataType"/>
    <complexType name="ServiceMetadataType">
        <sequence>
            <!-- nothing defined here, it is a container for potential additions done by extensions -->
        </sequence>
    </complexType>
    <!-- =========================================================== -->
    <element name="Contents" type="wcs:ContentsType"/>
    <complexType name="ContentsType">
        <sequence>
            <element ref="wcs:id" minOccurs="0" maxOccurs="unbounded"/>
        </sequence>
    </complexType>
</schema>