-
Notifications
You must be signed in to change notification settings - Fork 4
/
dkhm-4.1.xsd
198 lines (170 loc) · 6.2 KB
/
dkhm-4.1.xsd
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
<?xml version="1.0" encoding="utf-8"?>
<schema targetNamespace="urn:dkhm:params:xml:ns:dkhm-4.1"
xmlns:dkhm="urn:dkhm:params:xml:ns:dkhm-4.1"
xmlns:epp="urn:ietf:params:xml:ns:epp-1.0"
xmlns:eppcom="urn:ietf:params:xml:ns:eppcom-1.0"
xmlns:contact="urn:ietf:params:xml:ns:contact-1.0"
xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"
xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<!--
Import common element types.
-->
<import namespace="urn:ietf:params:xml:ns:epp-1.0" schemaLocation="epp-1.0.xsd"/>
<import namespace="urn:ietf:params:xml:ns:eppcom-1.0" schemaLocation="eppcom-1.0.xsd"/>
<import namespace="urn:ietf:params:xml:ns:contact-1.0" schemaLocation="contact-1.0.xsd"/>
<import namespace="urn:ietf:params:xml:ns:domain-1.0" schemaLocation="domain-1.0.xsd"/>
<import namespace="urn:ietf:params:xml:ns:dkhm-domain-4.1" schemaLocation="dkhm-domain-4.1.xsd"/>
<annotation>
<documentation>Extensible Provisioning Protocol v1.0 provisioning schema. DKHM extension v4.1</documentation>
</annotation>
<!--
Child elements found in EPP commands.
-->
<element name="userType" type="dkhm:userType" />
<element name="EAN" type="dkhm:EAN" />
<element name="CVR" type="dkhm:CVR" />
<element name="mobilephone" type="dkhm:mobilephone" />
<element name="secondaryEmail" type="dkhm:secondaryEmail" />
<element name="pnumber" type="dkhm:pnumber" />
<element name="contact" type="dkhm:contact" />
<element name="trackingNo" type="dkhm:trackingNo" />
<element name="domainAdvisory" type="dkhm:domainAdvisory" />
<element name="orderconfirmationToken" type="dkhm:orderconfirmationToken" />
<element name="domain_confirmed" type="dkhm:domain_confirmed" />
<element name="contact_validated" type="dkhm:contact_validated" />
<element name="registrant_validated" type="dkhm:registrant_validated" />
<element name="requestedNsAdmin" type="dkhm:requestedNsAdmin" />
<element name="risk_assessment" type="dkhm:risk_assessment" />
<element name="url" type="dkhm:url" />
<element name="authInfoExDate" type="dkhm:authInfoExDate" />
<element name="delDate" type="dkhm:delDate" />
<element name="command" type="dkhm:commandType" />
<element name="autoRenew" type="dkhm:autoRenew" />
<!--
Utility types.
-->
<!-- custom: contact mobilephone -->
<complexType name="mobilephone">
<complexContent>
<extension base="contact:e164Type"/>
</complexContent>
</complexType>
<!-- custom: contact secondary email -->
<simpleType name="secondaryEmail">
<restriction base="eppcom:minTokenType" />
</simpleType>
<!-- custom: host contact -->
<simpleType name="contact">
<restriction base="eppcom:clIDType" />
</simpleType>
<!-- custom: trackingNo -->
<simpleType name="trackingNo">
<restriction base="token" />
</simpleType>
<!-- custom: contact_validated -->
<simpleType name="contact_validated">
<restriction base="token" />
</simpleType>
<!-- custom: registrant_validated -->
<simpleType name="registrant_validated">
<restriction base="token" />
</simpleType>
<!-- custom: domain_confirmed -->
<simpleType name="domain_confirmed">
<restriction base="token" />
</simpleType>
<!-- custom: domainAdvisory -->
<complexType name="domainAdvisory">
<attribute name="domain" type="token"/>
<attribute name="advisory" type="token"/>
<attribute name="date" type="dateTime"/>
</complexType>
<!-- custom: Usertype enumeration -->
<simpleType name="userType">
<restriction base="token">
<enumeration value="C" />
<enumeration value="P" />
<enumeration value="A" />
<enumeration value="I" />
<enumeration value="company" />
<enumeration value="public_organization" />
<!-- <enumeration value="public_organisation" /> -->
<enumeration value="association" />
<enumeration value="individual" />
</restriction>
</simpleType>
<!-- custom: CVR -->
<simpleType name="CVR">
<restriction base="token">
<maxLength value="50" />
</restriction>
</simpleType>
<!-- custom: pnumber -->
<simpleType name="pnumber">
<restriction base="token">
<maxLength value="10" />
</restriction>
</simpleType>
<!-- custom: EAN -->
<simpleType name="EAN">
<restriction base="token">
<maxLength value="30" />
<!-- 13 according to international std? -->
</restriction>
</simpleType>
<!-- custom: orderconfirmationToken -->
<simpleType name="orderconfirmationToken">
<restriction base="token" />
</simpleType>
<!-- custom: requestedNsAdmin -->
<simpleType name="requestedNsAdmin">
<restriction base="eppcom:clIDType" />
</simpleType>
<!-- custom: risk assessment enumeration -->
<simpleType name="risk_assessment">
<restriction base="token">
<enumeration value="GREEN" />
<enumeration value="BLUE" />
<enumeration value="YELLOW" />
<enumeration value="RED" />
<enumeration value="N/A" />
</restriction>
</simpleType>
<!-- custom: url -->
<simpleType name="url">
<restriction base="token" />
</simpleType>
<!-- custom: authInfo token expiration date -->
<simpleType name="authInfoExDate">
<restriction base="dateTime" />
</simpleType>
<!-- custom: delDate -->
<simpleType name="delDate">
<restriction base="dateTime" />
</simpleType>
<!-- custom: autoRenew -->
<simpleType name="autoRenew">
<restriction base="token">
<enumeration value="true"/>
<enumeration value="false"/>
</restriction>
</simpleType>
<!-- custom: withdraw command -->
<complexType name="commandType">
<sequence>
<element name="withdraw" type="dkhm:withdrawType"/>
<element name="extension" type="epp:extAnyType"
minOccurs="0"/>
<element name="clTRID" type="epp:trIDStringType"
minOccurs="0"/>
</sequence>
</complexType>
<complexType name="withdrawType">
<sequence>
<any namespace="##other"/>
</sequence>
</complexType>
<!--
End of schema.
-->
</schema>