epp-client-afnic 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,560 @@
1
+ <?xml version="1.0" encoding="UTF-8" ?>
2
+
3
+ <schema targetNamespace="http://www.afnic.fr/xml/epp/frnic-1.2"
4
+ xmlns:frnic="http://www.afnic.fr/xml/epp/frnic-1.2"
5
+ xmlns:eppcom="urn:ietf:params:xml:ns:eppcom-1.0"
6
+ xmlns:epp="urn:ietf:params:xml:ns:epp-1.0"
7
+ xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"
8
+ xmlns:contact="urn:ietf:params:xml:ns:contact-1.0"
9
+ xmlns="http://www.w3.org/2001/XMLSchema"
10
+ elementFormDefault="qualified">
11
+
12
+ <annotation>
13
+ <documentation>
14
+ Extensible Provisioning Protocol v1.0
15
+ AFNIC specific extensions v1.1
16
+ </documentation>
17
+ </annotation>
18
+
19
+ <!--
20
+ Import needed schemas
21
+ -->
22
+ <import namespace="urn:ietf:params:xml:ns:eppcom-1.0"
23
+ schemaLocation="eppcom-1.0.xsd"/>
24
+ <import namespace="urn:ietf:params:xml:ns:epp-1.0"
25
+ schemaLocation="epp-1.0.xsd"/>
26
+ <import namespace="urn:ietf:params:xml:ns:domain-1.0"
27
+ schemaLocation="domain-1.0.xsd"/>
28
+ <import namespace="urn:ietf:params:xml:ns:contact-1.0"
29
+ schemaLocation="contact-1.0.xsd"/>
30
+
31
+ <!--
32
+ All extension data can be found in an ext element
33
+ -->
34
+ <element name="ext" type="frnic:extType"/>
35
+
36
+ <!--
37
+ Extension block type
38
+ -->
39
+ <complexType name="extType">
40
+ <choice>
41
+ <element name="command" type="frnic:commandType"/>
42
+ <element name="create" type="frnic:createType"/>
43
+ <element name="transfer" type="frnic:transferType"/>
44
+ <element name="update" type="frnic:updateType"/>
45
+ <element name="resData" type="frnic:resDataType"/>
46
+ </choice>
47
+ </complexType>
48
+
49
+ <!--
50
+ AFNIC specific commands (Domain Trade/Recover)
51
+ -->
52
+ <complexType name="commandType">
53
+ <sequence>
54
+ <choice>
55
+ <element name="trade" type="frnic:trdType"/>
56
+ <element name="recover" type="frnic:recType"/>
57
+ </choice>
58
+ <element name="clTRID" type="epp:trIDStringType" minOccurs="0"/>
59
+ </sequence>
60
+ </complexType>
61
+
62
+ <!--
63
+ AFNIC transfer extensions (Domain)
64
+ -->
65
+ <complexType name="transferType">
66
+ <choice>
67
+ <element name="domain" type="frnic:domainTransferType"/>
68
+ </choice>
69
+ </complexType>
70
+
71
+ <!--
72
+ AFNIC create extensions (Contact)
73
+ -->
74
+ <complexType name="createType">
75
+ <choice>
76
+ <element name="contact" type="frnic:contactCreateInfoType"/>
77
+ </choice>
78
+ </complexType>
79
+
80
+ <!--
81
+ AFNIC update extensions (Contact)
82
+ -->
83
+ <complexType name="updateType">
84
+ <choice>
85
+ <element name="contact" type="frnic:contactUpdateType"/>
86
+ </choice>
87
+ </complexType>
88
+
89
+ <!--
90
+ AFNIC response data extensions
91
+ -->
92
+ <complexType name="resDataType">
93
+ <choice>
94
+ <element name="trdData" type="frnic:resTrdDataType"/>
95
+ <element name="recData" type="frnic:resRecDataType"/>
96
+ <element name="chkData" type="frnic:resChkDataType"/>
97
+ <element name="infData" type="frnic:resInfDataType"/>
98
+ <element name="idtData" type="frnic:resIdtDataType"/>
99
+ <element name="quaData" type="frnic:resQuaDataType"/>
100
+ </choice>
101
+ </complexType>
102
+
103
+ <!--
104
+ AFNIC specific command details (Domain Trade/Recover)
105
+ -->
106
+ <complexType name="trdType">
107
+ <sequence>
108
+ <element name="domain" type="frnic:domainTrdType"/>
109
+ </sequence>
110
+ <attribute name="op" type="frnic:tradeOpType" use="required"/>
111
+ </complexType>
112
+
113
+ <complexType name="domainTrdType">
114
+ <sequence>
115
+ <element name="name" type="eppcom:labelType"/>
116
+ <sequence minOccurs="0">
117
+ <element name="registrant" type="eppcom:clIDType"/>
118
+ <element name="contact" type="domain:contactType" minOccurs="2" maxOccurs="4"/>
119
+ </sequence>
120
+ </sequence>
121
+ <attribute name="keepDS" type="boolean" use="required"/>
122
+ </complexType>
123
+
124
+ <complexType name="recType">
125
+ <sequence>
126
+ <element name="domain" type="frnic:domainRecType"/>
127
+ </sequence>
128
+ <attribute name="op" type="frnic:recoverOpType" use="required"/>
129
+ </complexType>
130
+
131
+ <complexType name="domainRecType">
132
+ <sequence>
133
+ <element name="name" type="eppcom:labelType"/>
134
+ <element name="authInfo" type="domain:authInfoType"/>
135
+ <element name="registrant" type="eppcom:clIDType"/>
136
+ <element name="contact" type="domain:contactType" minOccurs="2" maxOccurs="4"/>
137
+ </sequence>
138
+ <attribute name="keepDS" type="boolean" use="required"/>
139
+ </complexType>
140
+
141
+ <!--
142
+ AFNIC transfer domain command extensions details
143
+ -->
144
+ <complexType name="domainTransferType">
145
+ <sequence>
146
+ <element name="contact" type="domain:contactType" minOccurs="2" maxOccurs="4"/>
147
+ </sequence>
148
+ <attribute name="keepDS" type="boolean" use="required"/>
149
+ </complexType>
150
+
151
+ <!--
152
+ AFNIC create contact command extensions details
153
+ -->
154
+ <complexType name="contactCreateInfoType">
155
+ <sequence>
156
+ <choice>
157
+ <sequence>
158
+ <element name="list" type="token" minOccurs="0"/>
159
+ <element name="individualInfos" type="frnic:contactCreateInfoIIDType"/>
160
+ <element name="firstName" type="contact:postalLineType"/>
161
+ </sequence>
162
+ <element name="firstName" type="contact:postalLineType"/>
163
+ <element name="legalEntityInfos" type="frnic:contactCreateInfoLIDType"/>
164
+ </choice>
165
+ <element name="obsoleted" type="frnic:contactObsoletedType" minOccurs="0"/>
166
+ <element name="reachable" type="frnic:contactReachableType" minOccurs="0"/>
167
+ </sequence>
168
+ </complexType>
169
+
170
+ <complexType name="contactCreateInfoIIDType">
171
+ <sequence>
172
+ <element name="idStatus" type="frnic:identificationStatusType" minOccurs="0"/>
173
+ <element name="birthDate" type="date"/>
174
+ <element name="birthCity" type="contact:postalLineType" minOccurs="0"/>
175
+ <element name="birthPc" type="contact:pcType" minOccurs="0"/>
176
+ <element name="birthCc" type="contact:ccType"/>
177
+ </sequence>
178
+ </complexType>
179
+
180
+ <complexType name="contactCreateInfoLIDType">
181
+ <sequence>
182
+ <element name="idStatus" type="frnic:identificationStatusType" minOccurs="0"/>
183
+ <element name="legalStatus" type="frnic:legalStatusType"/>
184
+ <element name="siren" type="token" minOccurs="0"/>
185
+ <element name="VAT" type="token" minOccurs="0"/>
186
+ <element name="trademark" type="token" minOccurs="0"/>
187
+ <element name="asso" type="frnic:assoType" minOccurs="0"/>
188
+ <element name="DUNS" type="token" minOccurs="0"/>
189
+ <element name="local" type="token" minOccurs="0"/>
190
+ </sequence>
191
+ </complexType>
192
+
193
+ <complexType name="legalStatusType">
194
+ <simpleContent>
195
+ <extension base="normalizedString">
196
+ <attribute name="s" type="frnic:legalStatusValueType" use="required"/>
197
+ <attribute name="lang" type="language" default="en"/>
198
+ </extension>
199
+ </simpleContent>
200
+ </complexType>
201
+
202
+ <simpleType name="legalStatusValueType">
203
+ <restriction base="token">
204
+ <enumeration value="association"/>
205
+ <enumeration value="company"/>
206
+ <enumeration value="other"/>
207
+ </restriction>
208
+ </simpleType>
209
+
210
+ <complexType name="assoType">
211
+ <choice>
212
+ <element name="waldec" type="token"/>
213
+ <sequence>
214
+ <element name="decl" type="date" minOccurs="0"/>
215
+ <element name="publ" type="frnic:assoPublType"/>
216
+ </sequence>
217
+ </choice>
218
+ </complexType>
219
+
220
+ <complexType name="assoPublType">
221
+ <simpleContent>
222
+ <extension base="date">
223
+ <attribute name="announce" type="nonNegativeInteger"/>
224
+ <attribute name="page" type="nonNegativeInteger" use="required"/>
225
+ </extension>
226
+ </simpleContent>
227
+ </complexType>
228
+
229
+ <complexType name="contactObsoletedType">
230
+ <simpleContent>
231
+ <extension base="boolean">
232
+ <attribute name="when" type="dateTime"/>
233
+ </extension>
234
+ </simpleContent>
235
+ </complexType>
236
+
237
+ <complexType name="contactReachableType">
238
+ <simpleContent>
239
+ <extension base="boolean">
240
+ <attribute name="when" type="dateTime"/>
241
+ <attribute name="media" type="frnic:reachabilityMediaType"/>
242
+ <attribute name="source" type="frnic:qualificationSourceAttributeType"/>
243
+ </extension>
244
+ </simpleContent>
245
+ </complexType>
246
+
247
+ <!--
248
+ AFNIC update contact command extensions details
249
+ -->
250
+ <complexType name="contactUpdateType">
251
+ <choice>
252
+ <element name="add" type="frnic:contactAddRemType"/>
253
+ <element name="rem" type="frnic:contactAddRemType"/>
254
+ </choice>
255
+ </complexType>
256
+
257
+ <complexType name="contactAddRemType">
258
+ <sequence>
259
+ <element name="list" type="token" minOccurs="0"/>
260
+ <element name="idStatus" type="frnic:identificationStatusType" minOccurs="0"/>
261
+ <element name="reachable" type="frnic:contactReachableType" minOccurs="0"/>
262
+ </sequence>
263
+ </complexType>
264
+
265
+ <!--
266
+ AFNIC trade response extensions details
267
+ -->
268
+ <complexType name="resTrdDataType">
269
+ <choice>
270
+ <element name="domain" type="frnic:resTrdDomDataType"/>
271
+ </choice>
272
+ </complexType>
273
+
274
+ <complexType name="resTrdDomDataType">
275
+ <sequence>
276
+ <element name="name" type="eppcom:labelType"/>
277
+ <element name="trStatus" type="frnic:tradeStatusType"/>
278
+ <element name="reID" type="eppcom:clIDType"/>
279
+ <element name="reDate" type="dateTime"/>
280
+ <element name="reHldID" type="eppcom:clIDType" minOccurs="0"/>
281
+ <element name="rhDate" type="dateTime"/>
282
+ <element name="acID" type="eppcom:clIDType"/>
283
+ <element name="acHldID" type="eppcom:clIDType" minOccurs="0"/>
284
+ <element name="ahDate" type="dateTime"/>
285
+ </sequence>
286
+ </complexType>
287
+
288
+ <!--
289
+ AFNIC recover response extensions details
290
+ -->
291
+ <complexType name="resRecDataType">
292
+ <choice>
293
+ <element name="domain" type="frnic:resRecDomDataType"/>
294
+ </choice>
295
+ </complexType>
296
+
297
+ <complexType name="resRecDomDataType">
298
+ <sequence>
299
+ <element name="name" type="eppcom:labelType"/>
300
+ <element name="reID" type="eppcom:clIDType"/>
301
+ <element name="reDate" type="dateTime"/>
302
+ <element name="reHldID" type="eppcom:clIDType" minOccurs="0"/>
303
+ <element name="acID" type="eppcom:clIDType"/>
304
+ <element name="acHldID" type="eppcom:clIDType" minOccurs="0"/>
305
+ </sequence>
306
+ </complexType>
307
+
308
+ <!--
309
+ AFNIC <check> response extensions details
310
+ -->
311
+ <complexType name="resChkDataType">
312
+ <choice>
313
+ <element name="domain" type="frnic:resChkDomDataType"/>
314
+ </choice>
315
+ </complexType>
316
+
317
+ <complexType name="resChkDomDataType">
318
+ <sequence>
319
+ <element name="cd" type="frnic:domCheckType" maxOccurs="unbounded"/>
320
+ </sequence>
321
+ </complexType>
322
+
323
+ <complexType name="domCheckType">
324
+ <sequence>
325
+ <element name="name" type="frnic:domCheckNameType"/>
326
+ <element name="rsvReason" type="eppcom:reasonType" minOccurs="0"/>
327
+ <element name="fbdReason" type="eppcom:reasonType" minOccurs="0"/>
328
+ </sequence>
329
+ </complexType>
330
+
331
+ <complexType name="domCheckNameType">
332
+ <simpleContent>
333
+ <extension base="eppcom:labelType">
334
+ <attribute name="reserved" type="boolean" use="required"/>
335
+ <attribute name="forbidden" type="boolean" use="required"/>
336
+ </extension>
337
+ </simpleContent>
338
+ </complexType>
339
+
340
+ <!--
341
+ AFNIC <info> response extensions details
342
+ -->
343
+ <complexType name="resInfDataType">
344
+ <choice>
345
+ <element name="domain" type="frnic:resInfDomDataType"/>
346
+ <element name="contact" type="frnic:contactCreateInfoType"/>
347
+ </choice>
348
+ </complexType>
349
+
350
+ <complexType name="resInfDomDataType">
351
+ <sequence>
352
+ <element name="status" type="frnic:domStatusType" maxOccurs="2"/>
353
+ </sequence>
354
+ </complexType>
355
+
356
+ <complexType name="domStatusType">
357
+ <simpleContent>
358
+ <extension base="normalizedString">
359
+ <attribute name="s" type="frnic:domStatusValueType" use="required"/>
360
+ <attribute name="lang" type="language" default="en"/>
361
+ </extension>
362
+ </simpleContent>
363
+ </complexType>
364
+
365
+ <simpleType name="domStatusValueType">
366
+ <restriction base="token">
367
+ <enumeration value="serverTradeProhibited"/>
368
+ <enumeration value="serverRecoverProhibited"/>
369
+ </restriction>
370
+ </simpleType>
371
+
372
+ <!--
373
+ AFNIC identification response extensions details
374
+ -->
375
+ <complexType name="resIdtDataType">
376
+ <choice>
377
+ <element name="domain" type="frnic:resIdtDomDataType"/>
378
+ <element name="contact" type="frnic:resIdtCntDataType"/>
379
+ </choice>
380
+ </complexType>
381
+
382
+ <complexType name="resIdtDomDataType">
383
+ <sequence>
384
+ <element name="name" type="eppcom:labelType"/>
385
+ <element name="status" type="domain:statusType" maxOccurs="2"/>
386
+ <element name="registrant" type="eppcom:clIDType"/>
387
+ </sequence>
388
+ </complexType>
389
+
390
+ <complexType name="resIdtCntDataType">
391
+ <sequence>
392
+ <element name="id" type="eppcom:clIDType"/>
393
+ <element name="identificationProcess" type="frnic:identificationProcessType"/>
394
+ <element name="legalEntityInfos" type="frnic:contactCreateInfoLIDType"/>
395
+ <element name="idtReason" type="frnic:idtReasonType" minOccurs="0" maxOccurs="unbounded"/>
396
+ </sequence>
397
+ </complexType>
398
+
399
+ <!--
400
+ AFNIC quallification response extensions details
401
+ -->
402
+ <complexType name="resQuaDataType">
403
+ <choice>
404
+ <element name="contact" type="frnic:resQuaCntDataType"/>
405
+ </choice>
406
+ </complexType>
407
+
408
+ <complexType name="resQuaCntDataType">
409
+ <sequence>
410
+ <element name="id" type="eppcom:clIDType"/>
411
+ <element name="qualificationProcess" type="frnic:qualificationProcessType"/>
412
+ <element name="legalEntityInfos" type="frnic:contactCreateInfoLIDType" minOccurs="0"/>
413
+ <element name="reachability" type="frnic:contactReachabilityType"/>
414
+ </sequence>
415
+ </complexType>
416
+
417
+ <complexType name="contactReachabilityType">
418
+ <sequence>
419
+ <element name="reStatus" type="frnic:reachabilityStatusType"/>
420
+ <element name="voice" type="contact:e164Type" minOccurs="0"/>
421
+ <element name="email" type="eppcom:minTokenType" minOccurs="0"/>
422
+ </sequence>
423
+ </complexType>
424
+
425
+ <!--
426
+ AFNIC Trade command "op" attribute values
427
+ -->
428
+ <simpleType name="tradeOpType">
429
+ <restriction base="token">
430
+ <enumeration value="query"/>
431
+ <enumeration value="cancel"/>
432
+ <enumeration value="request"/>
433
+ </restriction>
434
+ </simpleType>
435
+
436
+ <!--
437
+ AFNIC Recover command "op" attribute values
438
+ -->
439
+ <simpleType name="recoverOpType">
440
+ <restriction base="token">
441
+ <enumeration value="query"/>
442
+ <enumeration value="request"/>
443
+ </restriction>
444
+ </simpleType>
445
+
446
+ <!--
447
+ AFNIC Trade process status identifiers.
448
+ -->
449
+ <simpleType name="tradeStatusType">
450
+ <restriction base="token">
451
+ <enumeration value="pending"/>
452
+ <enumeration value="newHolderApproved"/>
453
+ <enumeration value="oldHolderApproved"/>
454
+ <enumeration value="holdersApproved"/>
455
+ <enumeration value="newHolderRejected"/>
456
+ <enumeration value="oldHolderRejected"/>
457
+ </restriction>
458
+ </simpleType>
459
+
460
+ <!--
461
+ AFNIC Identification process status identifiers.
462
+ -->
463
+ <simpleType name="identificationStatusListType">
464
+ <restriction base="token">
465
+ <enumeration value="no"/>
466
+ <enumeration value="pending"/>
467
+ <enumeration value="ok"/>
468
+ <enumeration value="problem"/>
469
+ <enumeration value="ko"/>
470
+ <enumeration value="deprecated"/>
471
+ <enumeration value="control"/>
472
+ <enumeration value="delayed"/>
473
+ </restriction>
474
+ </simpleType>
475
+
476
+ <complexType name="identificationStatusType">
477
+ <simpleContent>
478
+ <extension base="frnic:identificationStatusListType">
479
+ <attribute name="when" type="dateTime"/>
480
+ <attribute name="source" type="frnic:qualificationSourceAttributeType"/>
481
+ </extension>
482
+ </simpleContent>
483
+ </complexType>
484
+
485
+ <complexType name="idtReasonType">
486
+ <simpleContent>
487
+ <extension base="frnic:idtReasonBaseType">
488
+ <attribute name="lang" type="language"/>
489
+ </extension>
490
+ </simpleContent>
491
+ </complexType>
492
+
493
+ <simpleType name="idtReasonBaseType">
494
+ <restriction base="token">
495
+ <minLength value="1"/>
496
+ <maxLength value="128"/>
497
+ </restriction>
498
+ </simpleType>
499
+
500
+ <complexType name="identificationProcessType">
501
+ <simpleContent>
502
+ <extension base="normalizedString">
503
+ <attribute name="s" type="frnic:identificationProcessValueType" use="required"/>
504
+ <attribute name="lang" type="language" default="en"/>
505
+ </extension>
506
+ </simpleContent>
507
+ </complexType>
508
+
509
+ <simpleType name="identificationProcessValueType">
510
+ <restriction base="token">
511
+ <enumeration value="start"/>
512
+ <enumeration value="pending"/>
513
+ <enumeration value="finished"/>
514
+ </restriction>
515
+ </simpleType>
516
+
517
+ <!--
518
+ AFNIC Qualification process status identifiers.
519
+ -->
520
+ <simpleType name="reachabilityStatusType">
521
+ <restriction base="token">
522
+ <enumeration value="no"/>
523
+ <enumeration value="pending"/>
524
+ <enumeration value="ok"/>
525
+ <enumeration value="ko"/>
526
+ </restriction>
527
+ </simpleType>
528
+
529
+ <simpleType name="reachabilityMediaType">
530
+ <restriction base="token">
531
+ <enumeration value="voice"/>
532
+ <enumeration value="email"/>
533
+ </restriction>
534
+ </simpleType>
535
+
536
+ <simpleType name="qualificationSourceAttributeType">
537
+ <restriction base="token">
538
+ <enumeration value="registry"/>
539
+ <enumeration value="registrar"/>
540
+ </restriction>
541
+ </simpleType>
542
+
543
+ <complexType name="qualificationProcessType">
544
+ <simpleContent>
545
+ <extension base="normalizedString">
546
+ <attribute name="s" type="frnic:qualificationProcessValueType" use="required"/>
547
+ <attribute name="lang" type="language" default="en"/>
548
+ </extension>
549
+ </simpleContent>
550
+ </complexType>
551
+
552
+ <simpleType name="qualificationProcessValueType">
553
+ <restriction base="token">
554
+ <enumeration value="start"/>
555
+ <enumeration value="problem"/>
556
+ <enumeration value="finished"/>
557
+ </restriction>
558
+ </simpleType>
559
+
560
+ </schema>