rgp-1.0.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <schema targetNamespace="urn:ietf:params:xml:ns:rgp-1.0"
  3. xmlns:rgp="urn:ietf:params:xml:ns:rgp-1.0"
  4. xmlns="http://www.w3.org/2001/XMLSchema"
  5. elementFormDefault="qualified">
  6. <annotation>
  7. <documentation>
  8. Extensible Provisioning Protocol v1.0
  9. domain name extension schema for registry grace period
  10. processing.
  11. </documentation>
  12. </annotation>
  13. <!--
  14. Child elements found in EPP commands.
  15. -->
  16. <element name="update" type="rgp:updateType"/>
  17. <!--
  18. Child elements of the <update> command for the
  19. redemption grace period.
  20. -->
  21. <complexType name="updateType">
  22. <sequence>
  23. <element name="restore" type="rgp:restoreType"/>
  24. </sequence>
  25. </complexType>
  26. <complexType name="restoreType">
  27. <sequence>
  28. <element name="report" type="rgp:reportType"
  29. minOccurs="0"/>
  30. </sequence>
  31. <attribute name="op" type="rgp:rgpOpType" use="required"/>
  32. </complexType>
  33. <!--
  34. New redemption grace period operations can be defined
  35. by adding to this enumeration.
  36. -->
  37. <simpleType name="rgpOpType">
  38. <restriction base="token">
  39. <enumeration value="request"/>
  40. <enumeration value="report"/>
  41. </restriction>
  42. </simpleType>
  43. <complexType name="reportType">
  44. <sequence>
  45. <element name="preData" type="rgp:mixedType"/>
  46. <element name="postData" type="rgp:mixedType"/>
  47. <element name="delTime" type="dateTime"/>
  48. <element name="resTime" type="dateTime"/>
  49. <element name="resReason" type="rgp:reportTextType"/>
  50. <element name="statement" type="rgp:reportTextType"
  51. maxOccurs="2"/>
  52. <element name="other" type="rgp:mixedType"
  53. minOccurs="0"/>
  54. </sequence>
  55. </complexType>
  56. <complexType name="mixedType">
  57. <complexContent mixed="true">
  58. <restriction base="anyType">
  59. <sequence>
  60. <any processContents="lax"
  61. minOccurs="0" maxOccurs="unbounded"/>
  62. </sequence>
  63. </restriction>
  64. </complexContent>
  65. </complexType>
  66. <complexType name="reportTextType">
  67. <complexContent mixed="true">
  68. <restriction base="anyType">
  69. <sequence>
  70. <any processContents="lax"
  71. minOccurs="0" maxOccurs="unbounded"/>
  72. </sequence>
  73. <attribute name="lang" type="language" default="en"/>
  74. </restriction>
  75. </complexContent>
  76. </complexType>
  77. <!--
  78. Child response elements.
  79. -->
  80. <element name="infData" type="rgp:respDataType"/>
  81. <element name="upData" type="rgp:respDataType"/>
  82. <!--
  83. <Response elements.
  84. -->
  85. <complexType name="respDataType">
  86. <sequence>
  87. <element name="rgpStatus" type="rgp:statusType"/>
  88. </sequence>
  89. </complexType>
  90. <!--
  91. Status is a combination of attributes and an optional
  92. human-readable message that may be expressed in languages
  93. other than English.
  94. -->
  95. <complexType name="statusType">
  96. <simpleContent>
  97. <extension base="normalizedString">
  98. <attribute name="s" type="rgp:statusValueType"
  99. use="required"/>
  100. <attribute name="lang" type="language" default="en"/>
  101. </extension>
  102. </simpleContent>
  103. </complexType>
  104. <simpleType name="statusValueType">
  105. <restriction base="token">
  106. <enumeration value="addPeriod"/>
  107. <enumeration value="autoRenewPeriod"/>
  108. <enumeration value="renewPeriod"/>
  109. <enumeration value="transferPeriod"/>
  110. <enumeration value="pendingDelete"/>
  111. <enumeration value="pendingRestore"/>
  112. <enumeration value="redemptionPeriod"/>
  113. </restriction>
  114. </simpleType>
  115. <!--
  116. End of schema.
  117. -->
  118. </schema>