Subversion Repositories oidplus

Rev

Rev 762 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 762 Rev 868
Line 1... Line 1...
1
<?xml version="1.0"?>
1
<?xml version="1.0"?>
2
<xs:schema targetNamespace="urn:ietf:id:viathinksoft-oidip-02" attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
2
<xs:schema targetNamespace="urn:ietf:id:viathinksoft-oidip-03"
-
 
3
           attributeFormDefault="unqualified"
-
 
4
           elementFormDefault="qualified"
-
 
5
           xmlns:xs="http://www.w3.org/2001/XMLSchema"
-
 
6
           xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
-
 
7
           xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
-
 
8
  <xs:import namespace="http://www.w3.org/2000/09/xmldsig#"
-
 
9
             schemaLocation="http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd"/>
3
  <xs:element name="root">
10
  <xs:element name="root">
4
    <xs:complexType>
11
    <xs:complexType>
5
      <xs:sequence>
12
      <xs:sequence>
6
        <xs:element name="oidip">
13
        <xs:element name="oidip">
7
          <xs:complexType>
14
          <xs:complexType>
8
            <xs:sequence>
15
            <xs:sequence>
9
              <xs:element name="querySection" minOccurs="1" maxOccurs="1">
16
              <xs:element name="querySection" minOccurs="1" maxOccurs="1">
-
 
17
                <xs:complexType vc:minVersion="1.1">
-
 
18
                  <xs:openContent mode="interleave">
-
 
19
                    <xs:any namespace="##any" processContents="lax" />
10
                <xs:complexType>
20
                  </xs:openContent>
11
                  <xs:choice maxOccurs="unbounded">
21
                  <xs:choice maxOccurs="unbounded">
12
                    <xs:element type="xs:string" name="query" minOccurs="1"/>
22
                    <xs:element type="xs:string" name="query" minOccurs="1"/>
13
                    <xs:element name="result" minOccurs="1">
23
                    <xs:element name="result" minOccurs="1">
14
                      <xs:simpleType>
24
                      <xs:simpleType>
15
                        <xs:restriction base="xs:string">
25
                        <xs:restriction base="xs:string">
Line 20... Line 30...
20
                        </xs:restriction>
30
                        </xs:restriction>
21
                      </xs:simpleType>
31
                      </xs:simpleType>
22
                    </xs:element>
32
                    </xs:element>
23
                    <xs:element type="xs:string" name="distance" minOccurs="0"/>
33
                    <xs:element type="xs:string" name="distance" minOccurs="0"/>
24
                    <xs:element type="xs:string" name="message" minOccurs="0"/>
34
                    <xs:element type="xs:string" name="message" minOccurs="0"/>
25
                    <xs:any processContents="lax" namespace="##any" minOccurs="0" maxOccurs="unbounded"/>
-
 
26
                  </xs:choice>
35
                  </xs:choice>
27
                </xs:complexType>
36
                </xs:complexType>
28
              </xs:element>
37
              </xs:element>
29
              <xs:element name="objectSection" minOccurs="0" maxOccurs="1">
38
              <xs:element name="objectSection" minOccurs="0" maxOccurs="1">
-
 
39
                <xs:complexType vc:minVersion="1.1">
-
 
40
                  <xs:openContent mode="interleave">
-
 
41
                    <xs:any namespace="##any" processContents="lax" />
30
                <xs:complexType>
42
                  </xs:openContent>
31
                  <xs:choice maxOccurs="unbounded">
43
                  <xs:choice maxOccurs="unbounded">
32
                    <xs:element type="xs:string" name="object" minOccurs="1"/>
44
                    <xs:element type="xs:string" name="object" minOccurs="1"/>
33
                    <xs:element name="status" minOccurs="1">
45
                    <xs:element name="status" minOccurs="1">
34
                      <xs:simpleType>
46
                      <xs:simpleType>
35
                        <xs:restriction base="xs:string">
47
                        <xs:restriction base="xs:string">
Line 77... Line 89...
77
                        <xs:restriction base="xs:string">
89
                        <xs:restriction base="xs:string">
78
                          <xs:pattern value="\d{4}(\-(0[1-9]|11|12)(\-(0[1-9]|1\d|2\d|30|31)( [0-5][0-9]:[0-5][0-9](:[0-5][0-9]){0,1}( [\+\-][0-5][0-9][0-5][0-9]){0,1}){0,1}){0,1}){0,1}"></xs:pattern>
90
                          <xs:pattern value="\d{4}(\-(0[1-9]|11|12)(\-(0[1-9]|1\d|2\d|30|31)( [0-5][0-9]:[0-5][0-9](:[0-5][0-9]){0,1}( [\+\-][0-5][0-9][0-5][0-9]){0,1}){0,1}){0,1}){0,1}"></xs:pattern>
79
                        </xs:restriction>
91
                        </xs:restriction>
80
                      </xs:simpleType>
92
                      </xs:simpleType>
81
                    </xs:element>
93
                    </xs:element>
82
                    <xs:any processContents="lax" namespace="##any" minOccurs="0" maxOccurs="unbounded"/>
-
 
83
                  </xs:choice>
94
                  </xs:choice>
84
                </xs:complexType>
95
                </xs:complexType>
85
              </xs:element>
96
              </xs:element>
86
              <xs:element name="raSection" minOccurs="0" maxOccurs="1">
97
              <xs:element name="raSection" minOccurs="0" maxOccurs="1">
-
 
98
                <xs:complexType vc:minVersion="1.1">
-
 
99
                  <xs:openContent mode="interleave">
-
 
100
                    <xs:any namespace="##any" processContents="lax" />
87
                <xs:complexType>
101
                  </xs:openContent>
88
                  <xs:choice maxOccurs="unbounded">
102
                  <xs:choice maxOccurs="unbounded">
89
                    <xs:element type="xs:string" name="ra" minOccurs="1"/>
103
                    <xs:element type="xs:string" name="ra" minOccurs="1"/>
90
                    <xs:element name="ra-status" minOccurs="1">
104
                    <xs:element name="ra-status" minOccurs="1">
91
                      <xs:simpleType>
105
                      <xs:simpleType>
92
                        <xs:restriction base="xs:string">
106
                        <xs:restriction base="xs:string">
Line 123... Line 137...
123
                        <xs:restriction base="xs:string">
137
                        <xs:restriction base="xs:string">
124
                          <xs:pattern value="\d{4}(\-(0[1-9]|11|12)(\-(0[1-9]|1\d|2\d|30|31)( [0-5][0-9]:[0-5][0-9](:[0-5][0-9]){0,1}( [\+\-][0-5][0-9][0-5][0-9]){0,1}){0,1}){0,1}){0,1}"></xs:pattern>
138
                          <xs:pattern value="\d{4}(\-(0[1-9]|11|12)(\-(0[1-9]|1\d|2\d|30|31)( [0-5][0-9]:[0-5][0-9](:[0-5][0-9]){0,1}( [\+\-][0-5][0-9][0-5][0-9]){0,1}){0,1}){0,1}){0,1}"></xs:pattern>
125
                        </xs:restriction>
139
                        </xs:restriction>
126
                      </xs:simpleType>
140
                      </xs:simpleType>
127
                    </xs:element>
141
                    </xs:element>
128
                    <xs:any processContents="lax" namespace="##any" minOccurs="0" maxOccurs="unbounded"/>
-
 
129
                  </xs:choice>
142
                  </xs:choice>
130
                </xs:complexType>
143
                </xs:complexType>
131
              </xs:element>
144
              </xs:element>
132
            </xs:sequence>
145
            </xs:sequence>
133
          </xs:complexType>
146
          </xs:complexType>
134
        </xs:element>
147
        </xs:element>
135
        <xs:element name="signatureSection">
-
 
136
          <xs:complexType>
-
 
137
            <xs:choice maxOccurs="unbounded">
-
 
138
              <xs:element type="xs:string" name="content"/>
-
 
139
              <xs:element type="xs:string" name="signature"/>
-
 
140
              <xs:any processContents="lax" namespace="##any" minOccurs="0" maxOccurs="unbounded"/>
148
        <xs:element ref="ds:Signature" minOccurs="0" maxOccurs="1"/>
141
            </xs:choice>
-
 
142
          </xs:complexType>
-
 
143
        </xs:element>
-
 
144
      </xs:sequence>
149
      </xs:sequence>
145
    </xs:complexType>
150
    </xs:complexType>
146
  </xs:element>
151
  </xs:element>
147
</xs:schema>
152
</xs:schema>