epp-client-base 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +5 -0
- data/Gemfile +6 -0
- data/MIT-LICENSE +19 -0
- data/README +5 -0
- data/Rakefile +37 -0
- data/epp-client-base.gemspec +54 -0
- data/lib/epp-client/base.rb +113 -0
- data/lib/epp-client/connection.rb +78 -0
- data/lib/epp-client/contact.rb +398 -0
- data/lib/epp-client/domain.rb +394 -0
- data/lib/epp-client/exceptions.rb +21 -0
- data/lib/epp-client/poll.rb +69 -0
- data/lib/epp-client/session.rb +56 -0
- data/lib/epp-client/ssl.rb +46 -0
- data/lib/epp-client/version.rb +3 -0
- data/lib/epp-client/xml.rb +150 -0
- data/vendor/ietf/contact-1.0.xsd +388 -0
- data/vendor/ietf/domain-1.0.xsd +430 -0
- data/vendor/ietf/epp-1.0.xsd +444 -0
- data/vendor/ietf/eppcom-1.0.xsd +105 -0
- data/vendor/ietf/host-1.0.xsd +240 -0
- data/vendor/ietf/rfc4310.txt +1235 -0
- data/vendor/ietf/rfc5730.txt +3755 -0
- data/vendor/ietf/rfc5731.txt +2467 -0
- data/vendor/ietf/rfc5732.txt +1627 -0
- data/vendor/ietf/rfc5733.txt +2299 -0
- data/vendor/ietf/rfc5734.txt +731 -0
- data/vendor/ietf/rfc5910.txt +2019 -0
- metadata +143 -0
@@ -0,0 +1,240 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
|
3
|
+
<schema targetNamespace="urn:ietf:params:xml:ns:host-1.0"
|
4
|
+
xmlns:host="urn:ietf:params:xml:ns:host-1.0"
|
5
|
+
xmlns:epp="urn:ietf:params:xml:ns:epp-1.0"
|
6
|
+
xmlns:eppcom="urn:ietf:params:xml:ns:eppcom-1.0"
|
7
|
+
xmlns="http://www.w3.org/2001/XMLSchema"
|
8
|
+
elementFormDefault="qualified">
|
9
|
+
|
10
|
+
<!--
|
11
|
+
Import common element types.
|
12
|
+
-->
|
13
|
+
<import namespace="urn:ietf:params:xml:ns:eppcom-1.0"/>
|
14
|
+
<import namespace="urn:ietf:params:xml:ns:epp-1.0"/>
|
15
|
+
|
16
|
+
<annotation>
|
17
|
+
<documentation>
|
18
|
+
Extensible Provisioning Protocol v1.0
|
19
|
+
host provisioning schema.
|
20
|
+
</documentation>
|
21
|
+
</annotation>
|
22
|
+
|
23
|
+
<!--
|
24
|
+
Child elements found in EPP commands.
|
25
|
+
-->
|
26
|
+
<element name="check" type="host:mNameType"/>
|
27
|
+
<element name="create" type="host:createType"/>
|
28
|
+
<element name="delete" type="host:sNameType"/>
|
29
|
+
<element name="info" type="host:sNameType"/>
|
30
|
+
<element name="update" type="host:updateType"/>
|
31
|
+
|
32
|
+
<!--
|
33
|
+
Child elements of the <create> command.
|
34
|
+
-->
|
35
|
+
<complexType name="createType">
|
36
|
+
<sequence>
|
37
|
+
<element name="name" type="eppcom:labelType"/>
|
38
|
+
<element name="addr" type="host:addrType"
|
39
|
+
minOccurs="0" maxOccurs="unbounded"/>
|
40
|
+
</sequence>
|
41
|
+
</complexType>
|
42
|
+
|
43
|
+
<complexType name="addrType">
|
44
|
+
<simpleContent>
|
45
|
+
<extension base="host:addrStringType">
|
46
|
+
<attribute name="ip" type="host:ipType"
|
47
|
+
default="v4"/>
|
48
|
+
</extension>
|
49
|
+
</simpleContent>
|
50
|
+
</complexType>
|
51
|
+
|
52
|
+
<simpleType name="addrStringType">
|
53
|
+
<restriction base="token">
|
54
|
+
<minLength value="3"/>
|
55
|
+
<maxLength value="45"/>
|
56
|
+
</restriction>
|
57
|
+
</simpleType>
|
58
|
+
|
59
|
+
<simpleType name="ipType">
|
60
|
+
<restriction base="token">
|
61
|
+
<enumeration value="v4"/>
|
62
|
+
<enumeration value="v6"/>
|
63
|
+
</restriction>
|
64
|
+
</simpleType>
|
65
|
+
|
66
|
+
<!--
|
67
|
+
Child elements of the <delete> and <info> commands.
|
68
|
+
-->
|
69
|
+
<complexType name="sNameType">
|
70
|
+
<sequence>
|
71
|
+
<element name="name" type="eppcom:labelType"/>
|
72
|
+
</sequence>
|
73
|
+
</complexType>
|
74
|
+
|
75
|
+
<!--
|
76
|
+
Child element of commands that accept multiple names.
|
77
|
+
-->
|
78
|
+
<complexType name="mNameType">
|
79
|
+
<sequence>
|
80
|
+
<element name="name" type="eppcom:labelType"
|
81
|
+
maxOccurs="unbounded"/>
|
82
|
+
</sequence>
|
83
|
+
</complexType>
|
84
|
+
<!--
|
85
|
+
Child elements of the <update> command.
|
86
|
+
-->
|
87
|
+
<complexType name="updateType">
|
88
|
+
<sequence>
|
89
|
+
<element name="name" type="eppcom:labelType"/>
|
90
|
+
<element name="add" type="host:addRemType"
|
91
|
+
minOccurs="0"/>
|
92
|
+
<element name="rem" type="host:addRemType"
|
93
|
+
minOccurs="0"/>
|
94
|
+
<element name="chg" type="host:chgType"
|
95
|
+
minOccurs="0"/>
|
96
|
+
</sequence>
|
97
|
+
</complexType>
|
98
|
+
|
99
|
+
<!--
|
100
|
+
Data elements that can be added or removed.
|
101
|
+
-->
|
102
|
+
<complexType name="addRemType">
|
103
|
+
<sequence>
|
104
|
+
<element name="addr" type="host:addrType"
|
105
|
+
minOccurs="0" maxOccurs="unbounded"/>
|
106
|
+
<element name="status" type="host:statusType"
|
107
|
+
minOccurs="0" maxOccurs="7"/>
|
108
|
+
</sequence>
|
109
|
+
</complexType>
|
110
|
+
|
111
|
+
<!--
|
112
|
+
Data elements that can be changed.
|
113
|
+
-->
|
114
|
+
<complexType name="chgType">
|
115
|
+
<sequence>
|
116
|
+
<element name="name" type="eppcom:labelType"/>
|
117
|
+
</sequence>
|
118
|
+
</complexType>
|
119
|
+
|
120
|
+
<!--
|
121
|
+
Child response elements.
|
122
|
+
-->
|
123
|
+
<element name="chkData" type="host:chkDataType"/>
|
124
|
+
<element name="creData" type="host:creDataType"/>
|
125
|
+
<element name="infData" type="host:infDataType"/>
|
126
|
+
<element name="panData" type="host:panDataType"/>
|
127
|
+
|
128
|
+
<!--
|
129
|
+
<check> response elements.
|
130
|
+
-->
|
131
|
+
<complexType name="chkDataType">
|
132
|
+
<sequence>
|
133
|
+
<element name="cd" type="host:checkType"
|
134
|
+
maxOccurs="unbounded"/>
|
135
|
+
</sequence>
|
136
|
+
</complexType>
|
137
|
+
|
138
|
+
<complexType name="checkType">
|
139
|
+
<sequence>
|
140
|
+
<element name="name" type="host:checkNameType"/>
|
141
|
+
<element name="reason" type="eppcom:reasonType"
|
142
|
+
minOccurs="0"/>
|
143
|
+
</sequence>
|
144
|
+
</complexType>
|
145
|
+
|
146
|
+
<complexType name="checkNameType">
|
147
|
+
<simpleContent>
|
148
|
+
<extension base="eppcom:labelType">
|
149
|
+
<attribute name="avail" type="boolean"
|
150
|
+
use="required"/>
|
151
|
+
</extension>
|
152
|
+
</simpleContent>
|
153
|
+
</complexType>
|
154
|
+
|
155
|
+
<!--
|
156
|
+
<create> response elements.
|
157
|
+
-->
|
158
|
+
<complexType name="creDataType">
|
159
|
+
<sequence>
|
160
|
+
<element name="name" type="eppcom:labelType"/>
|
161
|
+
<element name="crDate" type="dateTime"/>
|
162
|
+
</sequence>
|
163
|
+
</complexType>
|
164
|
+
|
165
|
+
<!--
|
166
|
+
<info> response elements.
|
167
|
+
-->
|
168
|
+
<complexType name="infDataType">
|
169
|
+
<sequence>
|
170
|
+
<element name="name" type="eppcom:labelType"/>
|
171
|
+
<element name="roid" type="eppcom:roidType"/>
|
172
|
+
<element name="status" type="host:statusType"
|
173
|
+
maxOccurs="7"/>
|
174
|
+
<element name="addr" type="host:addrType"
|
175
|
+
minOccurs="0" maxOccurs="unbounded"/>
|
176
|
+
<element name="clID" type="eppcom:clIDType"/>
|
177
|
+
<element name="crID" type="eppcom:clIDType"/>
|
178
|
+
<element name="crDate" type="dateTime"/>
|
179
|
+
<element name="upID" type="eppcom:clIDType"
|
180
|
+
minOccurs="0"/>
|
181
|
+
<element name="upDate" type="dateTime"
|
182
|
+
minOccurs="0"/>
|
183
|
+
<element name="trDate" type="dateTime"
|
184
|
+
minOccurs="0"/>
|
185
|
+
</sequence>
|
186
|
+
</complexType>
|
187
|
+
|
188
|
+
<!--
|
189
|
+
Status is a combination of attributes and an optional human-readable
|
190
|
+
message that may be expressed in languages other than English.
|
191
|
+
-->
|
192
|
+
<complexType name="statusType">
|
193
|
+
<simpleContent>
|
194
|
+
<extension base="normalizedString">
|
195
|
+
<attribute name="s" type="host:statusValueType"
|
196
|
+
use="required"/>
|
197
|
+
<attribute name="lang" type="language"
|
198
|
+
default="en"/>
|
199
|
+
</extension>
|
200
|
+
</simpleContent>
|
201
|
+
</complexType>
|
202
|
+
|
203
|
+
<simpleType name="statusValueType">
|
204
|
+
<restriction base="token">
|
205
|
+
<enumeration value="clientDeleteProhibited"/>
|
206
|
+
<enumeration value="clientUpdateProhibited"/>
|
207
|
+
<enumeration value="linked"/>
|
208
|
+
<enumeration value="ok"/>
|
209
|
+
<enumeration value="pendingCreate"/>
|
210
|
+
<enumeration value="pendingDelete"/>
|
211
|
+
<enumeration value="pendingTransfer"/>
|
212
|
+
<enumeration value="pendingUpdate"/>
|
213
|
+
<enumeration value="serverDeleteProhibited"/>
|
214
|
+
<enumeration value="serverUpdateProhibited"/>
|
215
|
+
</restriction>
|
216
|
+
</simpleType>
|
217
|
+
|
218
|
+
<!--
|
219
|
+
Pending action notification response elements.
|
220
|
+
-->
|
221
|
+
<complexType name="panDataType">
|
222
|
+
<sequence>
|
223
|
+
<element name="name" type="host:paNameType"/>
|
224
|
+
<element name="paTRID" type="epp:trIDType"/>
|
225
|
+
<element name="paDate" type="dateTime"/>
|
226
|
+
</sequence>
|
227
|
+
</complexType>
|
228
|
+
<complexType name="paNameType">
|
229
|
+
<simpleContent>
|
230
|
+
<extension base="eppcom:labelType">
|
231
|
+
<attribute name="paResult" type="boolean"
|
232
|
+
use="required"/>
|
233
|
+
</extension>
|
234
|
+
</simpleContent>
|
235
|
+
</complexType>
|
236
|
+
|
237
|
+
<!--
|
238
|
+
End of schema.
|
239
|
+
-->
|
240
|
+
</schema>
|