e164val-1.0.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <schema targetNamespace="urn:ietf:params:xml:ns:e164val-1.0"
  3. xmlns:e164val="urn:ietf:params:xml:ns:e164val-1.0"
  4. xmlns:eppcom="urn:ietf:params:xml:ns:eppcom-1.0"
  5. xmlns="http://www.w3.org/2001/XMLSchema"
  6. elementFormDefault="qualified">
  7. <!--
  8. Import common element types.
  9. -->
  10. <import namespace="urn:ietf:params:xml:ns:eppcom-1.0"
  11. schemaLocation="eppcom-1.0.xsd"/>
  12. <annotation>
  13. <documentation>
  14. Extensible Provisioning Protocol v1.0
  15. domain name extension schema for framework for
  16. provisioning of E.164 number validation information.
  17. </documentation>
  18. </annotation>
  19. <!--
  20. Child elements found in EPP commands.
  21. -->
  22. <element name="create" type="e164val:insertType"/>
  23. <element name="update" type="e164val:updateType"/>
  24. <element name="renew" type="e164val:insertType"/>
  25. <element name="transfer" type="e164val:insertType"/>
  26. <!--
  27. Child elements of the <create>, <renew>, and <update> commands.
  28. -->
  29. <complexType name="insertType">
  30. <sequence>
  31. <element name="add" type="e164val:addType"
  32. maxOccurs="unbounded" />
  33. </sequence>
  34. </complexType>
  35. <!--
  36. Child elements of the <update> command.
  37. -->
  38. <complexType name="updateType">
  39. <sequence>
  40. <element name="add" type="e164val:addType"
  41. minOccurs="0"
  42. maxOccurs="unbounded"/>
  43. <element name="rem" type="e164val:remType"
  44. minOccurs="0"
  45. maxOccurs="unbounded"/>
  46. <element name="chg" type="e164val:chgType"
  47. minOccurs="0"
  48. maxOccurs="unbounded"/>
  49. </sequence>
  50. </complexType>
  51. <!--
  52. Data elements for add, chg and rem.
  53. -->
  54. <complexType name="addType">
  55. <sequence>
  56. <element ref="e164val:validationInfo"/>
  57. </sequence>
  58. <attribute name="id" type="eppcom:minTokenType"
  59. use="required"/>
  60. </complexType>
  61. <complexType name="chgType">
  62. <sequence>
  63. <element ref="e164val:validationInfo"/>
  64. </sequence>
  65. <attribute name="id" type="eppcom:minTokenType"
  66. use="required"/>
  67. </complexType>
  68. <complexType name="remType">
  69. <attribute name="id" type="eppcom:minTokenType"
  70. use="required"/>
  71. </complexType>
  72. <!--
  73. Child elements found in EPP responses
  74. -->
  75. <element name="infData" type="e164val:infDataType"/>
  76. <!--
  77. child elements of the <info> response.
  78. -->
  79. <complexType name="infDataType">
  80. <sequence>
  81. <element name="inf" type="e164val:infType"
  82. minOccurs="0"
  83. maxOccurs="unbounded"/>
  84. </sequence>
  85. </complexType>
  86. <!--
  87. Data elements for inf
  88. -->
  89. <complexType name="infType">
  90. <sequence>
  91. <element ref="e164val:validationInfo"/>
  92. </sequence>
  93. <attribute name="id" type="eppcom:minTokenType"
  94. use="required"/>
  95. </complexType>
  96. <!--
  97. Global elements.
  98. -->
  99. <element name="validationInfo" type="e164val:ValidationInfoType" />
  100. <!--
  101. Extension framework types.
  102. -->
  103. <complexType name="ValidationInfoType">
  104. <sequence>
  105. <any namespace="##other"/>
  106. </sequence>
  107. </complexType>
  108. <!--
  109. End of schema.
  110. -->
  111. </schema>