epp-client-afnic 0.14.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,563 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <schema targetNamespace="http://www.afnic.fr/xml/epp/frnic-1.3" xmlns:frnic="http://www.afnic.fr/xml/epp/frnic-1.3" xmlns:eppcom="urn:ietf:params:xml:ns:eppcom-1.0" xmlns:epp="urn:ietf:params:xml:ns:epp-1.0" xmlns:domain="urn:ietf:params:xml:ns:domain-1.0" xmlns:contact="urn:ietf:params:xml:ns:contact-1.0" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
3
+
4
+ <annotation>
5
+ <documentation>
6
+ Extensible Provisioning Protocol v1.0
7
+ AFNIC specific extensions v1.1
8
+ </documentation>
9
+ </annotation>
10
+
11
+ <!--
12
+ Import needed schemas
13
+ -->
14
+ <import namespace="urn:ietf:params:xml:ns:eppcom-1.0" schemaLocation="eppcom-1.0.xsd"/>
15
+ <import namespace="urn:ietf:params:xml:ns:epp-1.0" schemaLocation="epp-1.0.xsd"/>
16
+ <import namespace="urn:ietf:params:xml:ns:domain-1.0" schemaLocation="domain-1.0.xsd"/>
17
+ <import namespace="urn:ietf:params:xml:ns:contact-1.0" schemaLocation="contact-1.0.xsd"/>
18
+
19
+ <!--
20
+ All extension data can be found in an ext element
21
+ -->
22
+ <element name="ext" type="frnic:extType"/>
23
+
24
+ <!--
25
+ Extension block type
26
+ -->
27
+ <complexType name="extType">
28
+ <choice>
29
+ <element name="command" type="frnic:commandType"/>
30
+ <element name="create" type="frnic:createType"/>
31
+ <element name="transfer" type="frnic:transferType"/>
32
+ <element name="update" type="frnic:updateType"/>
33
+ <element name="resData" type="frnic:resDataType"/>
34
+ </choice>
35
+ </complexType>
36
+
37
+ <!--
38
+ AFNIC specific commands (Domain Trade/Recover)
39
+ -->
40
+ <complexType name="commandType">
41
+ <sequence>
42
+ <choice>
43
+ <element name="trade" type="frnic:trdType"/>
44
+ <element name="recover" type="frnic:recType"/>
45
+ </choice>
46
+ <element name="clTRID" type="epp:trIDStringType" minOccurs="0"/>
47
+ </sequence>
48
+ </complexType>
49
+
50
+ <!--
51
+ AFNIC transfer extensions (Domain)
52
+ -->
53
+ <complexType name="transferType">
54
+ <choice>
55
+ <element name="domain" type="frnic:domainTransferType"/>
56
+ </choice>
57
+ </complexType>
58
+
59
+ <!--
60
+ AFNIC create extensions (Contact)
61
+ -->
62
+ <complexType name="createType">
63
+ <choice>
64
+ <element name="contact" type="frnic:contactCreateType"/>
65
+ </choice>
66
+ </complexType>
67
+
68
+ <!--
69
+ AFNIC update extensions (Contact)
70
+ -->
71
+ <complexType name="updateType">
72
+ <choice>
73
+ <element name="contact" type="frnic:contactUpdateType"/>
74
+ </choice>
75
+ </complexType>
76
+
77
+ <!--
78
+ AFNIC response data extensions
79
+ -->
80
+ <complexType name="resDataType">
81
+ <choice>
82
+ <element name="trdData" type="frnic:resTrdDataType"/>
83
+ <element name="recData" type="frnic:resRecDataType"/>
84
+ <element name="chkData" type="frnic:resChkDataType"/>
85
+ <element name="infData" type="frnic:resInfDataType"/>
86
+ <element name="idtData" type="frnic:resIdtDataType"/>
87
+ <element name="quaData" type="frnic:resQuaDataType"/>
88
+ </choice>
89
+ </complexType>
90
+
91
+ <!--
92
+ AFNIC specific command details (Domain Trade/Recover)
93
+ -->
94
+ <complexType name="trdType">
95
+ <sequence>
96
+ <element name="domain" type="frnic:domainTrdType"/>
97
+ </sequence>
98
+ <attribute name="op" type="frnic:tradeOpType" use="required"/>
99
+ </complexType>
100
+
101
+ <complexType name="domainTrdType">
102
+ <sequence>
103
+ <element name="name" type="eppcom:labelType"/>
104
+ <element name="registrant" type="eppcom:clIDType" minOccurs="0"/>
105
+ <element name="authInfo" type="domain:authInfoType"/>
106
+ </sequence>
107
+ </complexType>
108
+
109
+ <complexType name="recType">
110
+ <sequence>
111
+ <element name="domain" type="frnic:domainRecType"/>
112
+ </sequence>
113
+ <attribute name="op" type="frnic:recoverOpType" use="required"/>
114
+ </complexType>
115
+
116
+ <complexType name="domainRecType">
117
+ <sequence>
118
+ <element name="name" type="eppcom:labelType"/>
119
+ <element name="authInfo" type="domain:authInfoType"/>
120
+ <element name="registrant" type="eppcom:clIDType"/>
121
+ <element name="contact" type="domain:contactType" minOccurs="2" maxOccurs="4"/>
122
+ </sequence>
123
+ <attribute name="keepDS" type="boolean" use="required"/>
124
+ </complexType>
125
+
126
+ <!--
127
+ AFNIC transfer domain command extensions details
128
+ -->
129
+ <complexType name="domainTransferType">
130
+ <sequence>
131
+ <element name="contact" type="domain:contactType" minOccurs="2" maxOccurs="4"/>
132
+ </sequence>
133
+ <attribute name="keepDS" type="boolean" use="required"/>
134
+ </complexType>
135
+
136
+ <!--
137
+ AFNIC create contact command extensions details
138
+ -->
139
+ <complexType name="contactCreateType">
140
+ <sequence>
141
+ <choice>
142
+ <sequence>
143
+ <element name="list" type="token" minOccurs="0"/>
144
+ <element name="individualInfos" type="frnic:contactCreateInfoIIDType"/>
145
+ <element name="firstName" type="contact:postalLineType"/>
146
+ </sequence>
147
+ <element name="firstName" type="contact:postalLineType"/>
148
+ <element name="legalEntityInfos" type="frnic:contactCreateInfoLIDType"/>
149
+ </choice>
150
+ <element name="reachable" type="frnic:contactReachableType" minOccurs="0"/>
151
+ </sequence>
152
+ </complexType>
153
+
154
+ <complexType name="contactInfoType">
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"/>
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" use="required"/>
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:contactInfoType"/>
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
+ <choice>
413
+ <element name="individualInfos" type="frnic:contactCreateInfoIIDType" minOccurs="0"/>
414
+ <element name="legalEntityInfos" type="frnic:contactCreateInfoLIDType" minOccurs="0"/>
415
+ </choice>
416
+ <element name="reachability" type="frnic:contactReachabilityType"/>
417
+ </sequence>
418
+ </complexType>
419
+
420
+ <complexType name="contactReachabilityType">
421
+ <sequence>
422
+ <element name="reStatus" type="frnic:reachabilityStatusType"/>
423
+ <element name="voice" type="contact:e164Type" minOccurs="0"/>
424
+ <element name="email" type="eppcom:minTokenType" minOccurs="0"/>
425
+ </sequence>
426
+ </complexType>
427
+
428
+ <!--
429
+ AFNIC Trade command "op" attribute values
430
+ -->
431
+ <simpleType name="tradeOpType">
432
+ <restriction base="token">
433
+ <enumeration value="query"/>
434
+ <enumeration value="cancel"/>
435
+ <enumeration value="request"/>
436
+ </restriction>
437
+ </simpleType>
438
+
439
+ <!--
440
+ AFNIC Recover command "op" attribute values
441
+ -->
442
+ <simpleType name="recoverOpType">
443
+ <restriction base="token">
444
+ <enumeration value="query"/>
445
+ <enumeration value="request"/>
446
+ </restriction>
447
+ </simpleType>
448
+
449
+ <!--
450
+ AFNIC Trade process status identifiers.
451
+ -->
452
+ <simpleType name="tradeStatusType">
453
+ <restriction base="token">
454
+ <enumeration value="pending"/>
455
+ <enumeration value="newHolderApproved"/>
456
+ <enumeration value="oldHolderApproved"/>
457
+ <enumeration value="holdersApproved"/>
458
+ <enumeration value="newHolderRejected"/>
459
+ <enumeration value="oldHolderRejected"/>
460
+ </restriction>
461
+ </simpleType>
462
+
463
+ <!--
464
+ AFNIC Identification process status identifiers.
465
+ -->
466
+ <simpleType name="identificationStatusListType">
467
+ <restriction base="token">
468
+ <enumeration value="no"/>
469
+ <enumeration value="pending"/>
470
+ <enumeration value="ok"/>
471
+ <enumeration value="problem"/>
472
+ <enumeration value="ko"/>
473
+ <enumeration value="deprecated"/>
474
+ <enumeration value="control"/>
475
+ <enumeration value="delayed"/>
476
+ </restriction>
477
+ </simpleType>
478
+
479
+ <complexType name="identificationStatusType">
480
+ <simpleContent>
481
+ <extension base="frnic:identificationStatusListType">
482
+ <attribute name="when" type="dateTime"/>
483
+ <attribute name="source" type="frnic:qualificationSourceAttributeType"/>
484
+ </extension>
485
+ </simpleContent>
486
+ </complexType>
487
+
488
+ <complexType name="idtReasonType">
489
+ <simpleContent>
490
+ <extension base="frnic:idtReasonBaseType">
491
+ <attribute name="lang" type="language"/>
492
+ </extension>
493
+ </simpleContent>
494
+ </complexType>
495
+
496
+ <simpleType name="idtReasonBaseType">
497
+ <restriction base="token">
498
+ <minLength value="1"/>
499
+ <maxLength value="128"/>
500
+ </restriction>
501
+ </simpleType>
502
+
503
+ <complexType name="identificationProcessType">
504
+ <simpleContent>
505
+ <extension base="normalizedString">
506
+ <attribute name="s" type="frnic:identificationProcessValueType" use="required"/>
507
+ <attribute name="lang" type="language" default="en"/>
508
+ </extension>
509
+ </simpleContent>
510
+ </complexType>
511
+
512
+ <simpleType name="identificationProcessValueType">
513
+ <restriction base="token">
514
+ <enumeration value="start"/>
515
+ <enumeration value="pending"/>
516
+ <enumeration value="finished"/>
517
+ </restriction>
518
+ </simpleType>
519
+
520
+ <!--
521
+ AFNIC Qualification process status identifiers.
522
+ -->
523
+ <simpleType name="reachabilityStatusType">
524
+ <restriction base="token">
525
+ <enumeration value="no"/>
526
+ <enumeration value="pending"/>
527
+ <enumeration value="ok"/>
528
+ <enumeration value="ko"/>
529
+ </restriction>
530
+ </simpleType>
531
+
532
+ <simpleType name="reachabilityMediaType">
533
+ <restriction base="token">
534
+ <enumeration value="voice"/>
535
+ <enumeration value="email"/>
536
+ </restriction>
537
+ </simpleType>
538
+
539
+ <simpleType name="qualificationSourceAttributeType">
540
+ <restriction base="token">
541
+ <enumeration value="registry"/>
542
+ <enumeration value="registrar"/>
543
+ </restriction>
544
+ </simpleType>
545
+
546
+ <complexType name="qualificationProcessType">
547
+ <simpleContent>
548
+ <extension base="normalizedString">
549
+ <attribute name="s" type="frnic:qualificationProcessValueType" use="required"/>
550
+ <attribute name="lang" type="language" default="en"/>
551
+ </extension>
552
+ </simpleContent>
553
+ </complexType>
554
+
555
+ <simpleType name="qualificationProcessValueType">
556
+ <restriction base="token">
557
+ <enumeration value="start"/>
558
+ <enumeration value="problem"/>
559
+ <enumeration value="finished"/>
560
+ </restriction>
561
+ </simpleType>
562
+
563
+ </schema>