Rev 762 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
635 | daniel-mar | 1 | <?xml version="1.0"?> |
868 | daniel-mar | 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"/> |
||
635 | daniel-mar | 10 | <xs:element name="root"> |
11 | <xs:complexType> |
||
12 | <xs:sequence> |
||
758 | daniel-mar | 13 | <xs:element name="oidip"> |
635 | daniel-mar | 14 | <xs:complexType> |
15 | <xs:sequence> |
||
16 | <xs:element name="querySection" minOccurs="1" maxOccurs="1"> |
||
868 | daniel-mar | 17 | <xs:complexType vc:minVersion="1.1"> |
18 | <xs:openContent mode="interleave"> |
||
19 | <xs:any namespace="##any" processContents="lax" /> |
||
20 | </xs:openContent> |
||
21 | <xs:choice maxOccurs="unbounded"> |
||
635 | daniel-mar | 22 | <xs:element type="xs:string" name="query" minOccurs="1"/> |
23 | <xs:element name="result" minOccurs="1"> |
||
24 | <xs:simpleType> |
||
25 | <xs:restriction base="xs:string"> |
||
26 | <xs:enumeration value="Found"/> |
||
27 | <xs:enumeration value="Not found; superior object found"/> |
||
28 | <xs:enumeration value="Not found"/> |
||
29 | <xs:enumeration value="Service error"/> |
||
30 | </xs:restriction> |
||
31 | </xs:simpleType> |
||
32 | </xs:element> |
||
33 | <xs:element type="xs:string" name="distance" minOccurs="0"/> |
||
34 | <xs:element type="xs:string" name="message" minOccurs="0"/> |
||
35 | </xs:choice> |
||
36 | </xs:complexType> |
||
37 | </xs:element> |
||
38 | <xs:element name="objectSection" minOccurs="0" maxOccurs="1"> |
||
868 | daniel-mar | 39 | <xs:complexType vc:minVersion="1.1"> |
40 | <xs:openContent mode="interleave"> |
||
41 | <xs:any namespace="##any" processContents="lax" /> |
||
42 | </xs:openContent> |
||
761 | daniel-mar | 43 | <xs:choice maxOccurs="unbounded"> |
635 | daniel-mar | 44 | <xs:element type="xs:string" name="object" minOccurs="1"/> |
45 | <xs:element name="status" minOccurs="1"> |
||
46 | <xs:simpleType> |
||
47 | <xs:restriction base="xs:string"> |
||
48 | <xs:enumeration value="Information available"/> |
||
49 | <xs:enumeration value="Information partially available"/> |
||
50 | <xs:enumeration value="Information unavailable"/> |
||
51 | </xs:restriction> |
||
52 | </xs:simpleType> |
||
53 | </xs:element> |
||
54 | <xs:element type="xs:string" name="name" minOccurs="0"/> |
||
55 | <xs:element type="xs:string" name="description" minOccurs="0"/> |
||
56 | <xs:element type="xs:string" name="information" minOccurs="0"/> |
||
57 | <xs:element type="xs:string" name="url" minOccurs="0"/> |
||
58 | <xs:element type="xs:string" name="asn1-notation" minOccurs="0"/> |
||
59 | <xs:element type="xs:string" name="iri-notation" minOccurs="0"/> |
||
60 | <xs:element type="xs:string" name="identifier" minOccurs="0"/> |
||
61 | <xs:element type="xs:string" name="standardized-id" minOccurs="0"/> |
||
62 | <xs:element type="xs:string" name="unicode-label" minOccurs="0"/> |
||
63 | <xs:element type="xs:string" name="long-arc" minOccurs="0"/> |
||
758 | daniel-mar | 64 | <xs:element type="xs:string" name="oidip-service" minOccurs="0"/> |
635 | daniel-mar | 65 | <xs:element name="attribute" minOccurs="0"> |
66 | <xs:simpleType> |
||
67 | <xs:restriction base="xs:string"> |
||
68 | <xs:enumeration value="confidential"/> |
||
69 | <xs:enumeration value="draft"/> |
||
70 | <xs:enumeration value="frozen"/> |
||
71 | <xs:enumeration value="leaf"/> |
||
72 | <xs:enumeration value="no-identifiers"/> |
||
73 | <xs:enumeration value="no-unicode-labels"/> |
||
74 | <xs:enumeration value="retired"/> |
||
75 | </xs:restriction> |
||
76 | </xs:simpleType> |
||
77 | </xs:element> |
||
78 | <xs:element type="xs:string" name="parent" minOccurs="0"/> |
||
79 | <xs:element type="xs:string" name="subordinate" maxOccurs="unbounded" minOccurs="0"/> |
||
80 | <xs:element name="created" minOccurs="0"> |
||
81 | <xs:simpleType> |
||
82 | <xs:restriction base="xs:string"> |
||
83 | <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> |
||
84 | </xs:restriction> |
||
85 | </xs:simpleType> |
||
86 | </xs:element> |
||
87 | <xs:element name="updated" minOccurs="0"> |
||
88 | <xs:simpleType> |
||
89 | <xs:restriction base="xs:string"> |
||
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> |
||
91 | </xs:restriction> |
||
92 | </xs:simpleType> |
||
93 | </xs:element> |
||
94 | </xs:choice> |
||
95 | </xs:complexType> |
||
96 | </xs:element> |
||
97 | <xs:element name="raSection" minOccurs="0" maxOccurs="1"> |
||
868 | daniel-mar | 98 | <xs:complexType vc:minVersion="1.1"> |
99 | <xs:openContent mode="interleave"> |
||
100 | <xs:any namespace="##any" processContents="lax" /> |
||
101 | </xs:openContent> |
||
761 | daniel-mar | 102 | <xs:choice maxOccurs="unbounded"> |
635 | daniel-mar | 103 | <xs:element type="xs:string" name="ra" minOccurs="1"/> |
104 | <xs:element name="ra-status" minOccurs="1"> |
||
105 | <xs:simpleType> |
||
106 | <xs:restriction base="xs:string"> |
||
107 | <xs:enumeration value="Information available"/> |
||
108 | <xs:enumeration value="Information partially available"/> |
||
109 | <xs:enumeration value="Information unavailable"/> |
||
110 | </xs:restriction> |
||
111 | </xs:simpleType> |
||
112 | </xs:element> |
||
113 | <xs:element type="xs:string" name="ra-contact-name" minOccurs="0"/> |
||
114 | <xs:element type="xs:string" name="ra-address" minOccurs="0"/> |
||
115 | <xs:element type="xs:string" name="ra-phone" minOccurs="0"/> |
||
116 | <xs:element type="xs:string" name="ra-mobile" minOccurs="0"/> |
||
117 | <xs:element type="xs:string" name="ra-fax" minOccurs="0"/> |
||
118 | <xs:element type="xs:string" name="ra-email" minOccurs="0"/> |
||
119 | <xs:element type="xs:string" name="ra-url" minOccurs="0"/> |
||
120 | <xs:element name="ra-attribute" minOccurs="0"> |
||
121 | <xs:simpleType> |
||
122 | <xs:restriction base="xs:string"> |
||
123 | <xs:enumeration value="confidential"/> |
||
124 | <xs:enumeration value="retired"/> |
||
125 | </xs:restriction> |
||
126 | </xs:simpleType> |
||
127 | </xs:element> |
||
128 | <xs:element name="ra-created" minOccurs="0"> |
||
129 | <xs:simpleType> |
||
130 | <xs:restriction base="xs:string"> |
||
131 | <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> |
||
132 | </xs:restriction> |
||
133 | </xs:simpleType> |
||
134 | </xs:element> |
||
135 | <xs:element name="ra-updated" minOccurs="0"> |
||
136 | <xs:simpleType> |
||
137 | <xs:restriction base="xs:string"> |
||
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> |
||
139 | </xs:restriction> |
||
140 | </xs:simpleType> |
||
141 | </xs:element> |
||
142 | </xs:choice> |
||
143 | </xs:complexType> |
||
144 | </xs:element> |
||
145 | </xs:sequence> |
||
146 | </xs:complexType> |
||
147 | </xs:element> |
||
868 | daniel-mar | 148 | <xs:element ref="ds:Signature" minOccurs="0" maxOccurs="1"/> |
635 | daniel-mar | 149 | </xs:sequence> |
150 | </xs:complexType> |
||
151 | </xs:element> |
||
152 | </xs:schema> |