summaryrefslogtreecommitdiffstats
path: root/schemas/e164epp-1.0.xml
blob: 8f4462124168939b0f67b9cf6dba60b27212ac33 (plain)
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
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns:e164="urn:ietf:params:xml:ns:e164epp-1.0" xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:ietf:params:xml:ns:e164epp-1.0" elementFormDefault="qualified">
  <annotation>
    <documentation>
         Extensible Provisioning Protocol v1.0
         domain name extension schema for E.164 number provisioning.
       </documentation>
  </annotation>
<!--
   Child elements found in EPP commands.
   -->
  <element name="create" type="e164:createType"/>
  <element name="update" type="e164:updateType"/>
<!--
   Global elements.
   -->
  <element name="naptr" type="e164:naptrType"/>
<!--
   Child elements of the <create> command.
   -->
  <complexType name="createType">
    <sequence>
      <element ref="e164:naptr" maxOccurs="unbounded"/>
    </sequence>
  </complexType>
  <complexType name="naptrType">
    <sequence>
      <element name="order" type="unsignedShort"/>
      <element name="pref" type="unsignedShort"/>
      <element name="flags" type="e164:flagsType" minOccurs="0"/>
      <element name="svc" type="e164:svcType"/>
      <element name="regex" type="e164:regexType" minOccurs="0"/>
      <element name="repl" type="e164:replType" minOccurs="0"/>
    </sequence>
  </complexType>
  <simpleType name="flagsType">
    <restriction base="token">
      <pattern value="[A-Z]|[a-z]|[0-9]"/>
      <length value="1"/>
    </restriction>
  </simpleType>
  <simpleType name="svcType">
    <restriction base="token">
      <minLength value="1"/>
    </restriction>
  </simpleType>
  <simpleType name="regexType">
    <restriction base="token">
      <minLength value="1"/>
    </restriction>
  </simpleType>
  <simpleType name="replType">
    <restriction base="token">
      <minLength value="1"/>
      <maxLength value="255"/>
    </restriction>
  </simpleType>
<!--
   Child elements of the <update> command.
   -->
  <complexType name="updateType">
    <sequence>
      <element name="add" type="e164:addRemType" minOccurs="0"/>
      <element name="rem" type="e164:addRemType" minOccurs="0"/>
    </sequence>
  </complexType>
<!--
   Data elements that can be added or removed.
   -->
  <complexType name="addRemType">
    <sequence>
      <element ref="e164:naptr" maxOccurs="unbounded"/>
    </sequence>
  </complexType>
<!--
   Child response elements.
   -->
  <element name="infData" type="e164:infDataType"/>
<!--
   <info> response elements.
   -->
  <complexType name="infDataType">
    <sequence>
      <element ref="e164:naptr" maxOccurs="unbounded"/>
    </sequence>
  </complexType>
<!--
   End of schema.
   -->
</schema>
OpenPOWER on IntegriCloud