secDNS-1.0.xml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <schema targetNamespace="urn:ietf:params:xml:ns:secDNS-1.0"
  3. xmlns:secDNS="urn:ietf:params:xml:ns:secDNS-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 provisioning
  10. DNS security (DNSSEC) extensions.
  11. </documentation>
  12. </annotation>
  13. <!--
  14. Child elements found in EPP commands.
  15. -->
  16. <element name="create" type="secDNS:dsType"/>
  17. <element name="update" type="secDNS:updateType"/>
  18. <!--
  19. Child elements of the <create> command.
  20. -->
  21. <complexType name="dsType">
  22. <sequence>
  23. <element name="dsData" type="secDNS:dsDataType"
  24. maxOccurs="unbounded"/>
  25. </sequence>
  26. </complexType>
  27. <complexType name="dsDataType">
  28. <sequence>
  29. <element name="keyTag" type="unsignedShort"/>
  30. <element name="alg" type="unsignedByte"/>
  31. <element name="digestType" type="unsignedByte"/>
  32. <element name="digest" type="hexBinary"/>
  33. <element name="maxSigLife" type="secDNS:maxSigLifeType"
  34. minOccurs="0"/>
  35. <element name="keyData" type="secDNS:keyDataType"
  36. minOccurs="0"/>
  37. </sequence>
  38. </complexType>
  39. <simpleType name="maxSigLifeType">
  40. <restriction base="int">
  41. <minInclusive value="1"/>
  42. </restriction>
  43. </simpleType>
  44. <complexType name="keyDataType">
  45. <sequence>
  46. <element name="flags" type="unsignedShort"/>
  47. <element name="protocol" type="unsignedByte"/>
  48. <element name="alg" type="unsignedByte"/>
  49. <element name="pubKey" type="secDNS:keyType"/>
  50. </sequence>
  51. </complexType>
  52. <simpleType name="keyType">
  53. <restriction base="base64Binary">
  54. <minLength value="1"/>
  55. </restriction>
  56. </simpleType>
  57. <!--
  58. Child elements of the <update> command.
  59. -->
  60. <complexType name="updateType">
  61. <choice>
  62. <element name="add" type="secDNS:dsType"/>
  63. <element name="chg" type="secDNS:dsType"/>
  64. <element name="rem" type="secDNS:remType"/>
  65. </choice>
  66. <attribute name="urgent" type="boolean" default="false"/>
  67. </complexType>
  68. <complexType name="remType">
  69. <sequence>
  70. <element name="keyTag" type="unsignedShort"
  71. maxOccurs="unbounded"/>
  72. </sequence>
  73. </complexType>
  74. <!--
  75. Child response elements.
  76. -->
  77. <element name="infData" type="secDNS:dsType"/>
  78. <!--
  79. End of schema.
  80. -->
  81. </schema>