e164epp-1.0.xml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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">
  3. <annotation>
  4. <documentation>
  5. Extensible Provisioning Protocol v1.0
  6. domain name extension schema for E.164 number provisioning.
  7. </documentation>
  8. </annotation>
  9. <!--
  10. Child elements found in EPP commands.
  11. -->
  12. <element name="create" type="e164:createType"/>
  13. <element name="update" type="e164:updateType"/>
  14. <!--
  15. Global elements.
  16. -->
  17. <element name="naptr" type="e164:naptrType"/>
  18. <!--
  19. Child elements of the <create> command.
  20. -->
  21. <complexType name="createType">
  22. <sequence>
  23. <element ref="e164:naptr" maxOccurs="unbounded"/>
  24. </sequence>
  25. </complexType>
  26. <complexType name="naptrType">
  27. <sequence>
  28. <element name="order" type="unsignedShort"/>
  29. <element name="pref" type="unsignedShort"/>
  30. <element name="flags" type="e164:flagsType" minOccurs="0"/>
  31. <element name="svc" type="e164:svcType"/>
  32. <element name="regex" type="e164:regexType" minOccurs="0"/>
  33. <element name="repl" type="e164:replType" minOccurs="0"/>
  34. </sequence>
  35. </complexType>
  36. <simpleType name="flagsType">
  37. <restriction base="token">
  38. <pattern value="[A-Z]|[a-z]|[0-9]"/>
  39. <length value="1"/>
  40. </restriction>
  41. </simpleType>
  42. <simpleType name="svcType">
  43. <restriction base="token">
  44. <minLength value="1"/>
  45. </restriction>
  46. </simpleType>
  47. <simpleType name="regexType">
  48. <restriction base="token">
  49. <minLength value="1"/>
  50. </restriction>
  51. </simpleType>
  52. <simpleType name="replType">
  53. <restriction base="token">
  54. <minLength value="1"/>
  55. <maxLength value="255"/>
  56. </restriction>
  57. </simpleType>
  58. <!--
  59. Child elements of the <update> command.
  60. -->
  61. <complexType name="updateType">
  62. <sequence>
  63. <element name="add" type="e164:addRemType" minOccurs="0"/>
  64. <element name="rem" type="e164:addRemType" minOccurs="0"/>
  65. </sequence>
  66. </complexType>
  67. <!--
  68. Data elements that can be added or removed.
  69. -->
  70. <complexType name="addRemType">
  71. <sequence>
  72. <element ref="e164:naptr" maxOccurs="unbounded"/>
  73. </sequence>
  74. </complexType>
  75. <!--
  76. Child response elements.
  77. -->
  78. <element name="infData" type="e164:infDataType"/>
  79. <!--
  80. <info> response elements.
  81. -->
  82. <complexType name="infDataType">
  83. <sequence>
  84. <element ref="e164:naptr" maxOccurs="unbounded"/>
  85. </sequence>
  86. </complexType>
  87. <!--
  88. End of schema.
  89. -->
  90. </schema>