mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 10:16:01 +02:00
Add standard EPP schemas to repo #2683
This commit is contained in:
parent
1dedbacdab
commit
4f95802374
3 changed files with 44 additions and 39 deletions
|
@ -18,8 +18,8 @@ Our implementation supports following protocols:
|
||||||
|
|
||||||
Related XML Schema Definitions (may differ from policies applied to registry):
|
Related XML Schema Definitions (may differ from policies applied to registry):
|
||||||
|
|
||||||
[contact-1.0.xsd](schemas/contact-1.0.xsd)
|
[contact-eis-1.0.xsd](schemas/contact-eis-1.0.xsd)
|
||||||
[domain-1.0.xsd](schemas/domain-1.0.xsd)
|
[domain-eis-1.0.xsd](schemas/domain-eis-1.0.xsd)
|
||||||
[eis-1.0.xsd](schemas/eis-1.0.xsd)
|
[eis-1.0.xsd](schemas/eis-1.0.xsd)
|
||||||
[epp-1.0.xsd](schemas/epp-1.0.xsd)
|
[epp-1.0.xsd](schemas/epp-1.0.xsd)
|
||||||
[eppcom-1.0.xsd](schemas/eppcom-1.0.xsd)
|
[eppcom-1.0.xsd](schemas/eppcom-1.0.xsd)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<schema targetNamespace="urn:ietf:params:xml:ns:contact-1.0"
|
<schema targetNamespace="urn:ietf:params:xml:ns:contact-1.0"
|
||||||
xmlns:contact="urn:ietf:params:xml:ns:contact-1.0"
|
xmlns:contact="urn:ietf:params:xml:ns:contact-1.0"
|
||||||
|
@ -10,8 +10,8 @@
|
||||||
<!--
|
<!--
|
||||||
Import common element types.
|
Import common element types.
|
||||||
-->
|
-->
|
||||||
<import namespace="urn:ietf:params:xml:ns:eppcom-1.0" schemaLocation="doc/schemas/eppcom-1.0.xsd"/>
|
<import namespace="urn:ietf:params:xml:ns:eppcom-1.0"/>
|
||||||
<import namespace="urn:ietf:params:xml:ns:epp-1.0" schemaLocation="doc/schemas/epp-1.0.xsd"/>
|
<import namespace="urn:ietf:params:xml:ns:epp-1.0"/>
|
||||||
|
|
||||||
<annotation>
|
<annotation>
|
||||||
<documentation>
|
<documentation>
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
-->
|
-->
|
||||||
<element name="check" type="contact:mIDType"/>
|
<element name="check" type="contact:mIDType"/>
|
||||||
<element name="create" type="contact:createType"/>
|
<element name="create" type="contact:createType"/>
|
||||||
<element name="delete" type="contact:authIDType"/>
|
<element name="delete" type="contact:sIDType"/>
|
||||||
<element name="info" type="contact:authIDType"/>
|
<element name="info" type="contact:authIDType"/>
|
||||||
<element name="transfer" type="contact:authIDType"/>
|
<element name="transfer" type="contact:authIDType"/>
|
||||||
<element name="update" type="contact:updateType"/>
|
<element name="update" type="contact:updateType"/>
|
||||||
|
@ -38,6 +38,7 @@
|
||||||
<length value="2"/>
|
<length value="2"/>
|
||||||
</restriction>
|
</restriction>
|
||||||
</simpleType>
|
</simpleType>
|
||||||
|
|
||||||
<complexType name="e164Type">
|
<complexType name="e164Type">
|
||||||
<simpleContent>
|
<simpleContent>
|
||||||
<extension base="contact:e164StringType">
|
<extension base="contact:e164StringType">
|
||||||
|
@ -48,7 +49,7 @@
|
||||||
|
|
||||||
<simpleType name="e164StringType">
|
<simpleType name="e164StringType">
|
||||||
<restriction base="token">
|
<restriction base="token">
|
||||||
<!--<pattern value="(\+[0-9]{1,3}\.[0-9]{1,14})?"/> -->
|
<pattern value="(\+[0-9]{1,3}\.[0-9]{1,14})?"/>
|
||||||
<maxLength value="17"/>
|
<maxLength value="17"/>
|
||||||
</restriction>
|
</restriction>
|
||||||
</simpleType>
|
</simpleType>
|
||||||
|
@ -77,7 +78,7 @@
|
||||||
-->
|
-->
|
||||||
<complexType name="createType">
|
<complexType name="createType">
|
||||||
<sequence>
|
<sequence>
|
||||||
<element name="id" type="eppcom:clIDType" minOccurs="0"/>
|
<element name="id" type="eppcom:clIDType"/>
|
||||||
<element name="postalInfo" type="contact:postalInfoType"
|
<element name="postalInfo" type="contact:postalInfoType"
|
||||||
maxOccurs="2"/>
|
maxOccurs="2"/>
|
||||||
<element name="voice" type="contact:e164Type"
|
<element name="voice" type="contact:e164Type"
|
||||||
|
@ -85,8 +86,9 @@
|
||||||
<element name="fax" type="contact:e164Type"
|
<element name="fax" type="contact:e164Type"
|
||||||
minOccurs="0"/>
|
minOccurs="0"/>
|
||||||
<element name="email" type="eppcom:minTokenType"/>
|
<element name="email" type="eppcom:minTokenType"/>
|
||||||
<element name="authInfo" type="contact:authInfoType" minOccurs="0"/>
|
<element name="authInfo" type="contact:authInfoType"/>
|
||||||
|
<element name="disclose" type="contact:discloseType"
|
||||||
|
minOccurs="0"/>
|
||||||
</sequence>
|
</sequence>
|
||||||
</complexType>
|
</complexType>
|
||||||
|
|
||||||
|
@ -97,7 +99,8 @@
|
||||||
minOccurs="0"/>
|
minOccurs="0"/>
|
||||||
<element name="addr" type="contact:addrType"/>
|
<element name="addr" type="contact:addrType"/>
|
||||||
</sequence>
|
</sequence>
|
||||||
<attribute name="type" type="contact:postalInfoEnumType"/>
|
<attribute name="type" type="contact:postalInfoEnumType"
|
||||||
|
use="required"/>
|
||||||
</complexType>
|
</complexType>
|
||||||
|
|
||||||
<simpleType name="postalInfoEnumType">
|
<simpleType name="postalInfoEnumType">
|
||||||
|
@ -127,6 +130,21 @@
|
||||||
</choice>
|
</choice>
|
||||||
</complexType>
|
</complexType>
|
||||||
|
|
||||||
|
<complexType name="discloseType">
|
||||||
|
<sequence>
|
||||||
|
<element name="name" type="contact:intLocType"
|
||||||
|
minOccurs="0" maxOccurs="2"/>
|
||||||
|
<element name="org" type="contact:intLocType"
|
||||||
|
minOccurs="0" maxOccurs="2"/>
|
||||||
|
<element name="addr" type="contact:intLocType"
|
||||||
|
minOccurs="0" maxOccurs="2"/>
|
||||||
|
<element name="voice" minOccurs="0"/>
|
||||||
|
<element name="fax" minOccurs="0"/>
|
||||||
|
<element name="email" minOccurs="0"/>
|
||||||
|
</sequence>
|
||||||
|
<attribute name="flag" type="boolean" use="required"/>
|
||||||
|
</complexType>
|
||||||
|
|
||||||
<complexType name="intLocType">
|
<complexType name="intLocType">
|
||||||
<attribute name="type" type="contact:postalInfoEnumType"
|
<attribute name="type" type="contact:postalInfoEnumType"
|
||||||
use="required"/>
|
use="required"/>
|
||||||
|
@ -202,6 +220,8 @@
|
||||||
minOccurs="0"/>
|
minOccurs="0"/>
|
||||||
<element name="authInfo" type="contact:authInfoType"
|
<element name="authInfo" type="contact:authInfoType"
|
||||||
minOccurs="0"/>
|
minOccurs="0"/>
|
||||||
|
<element name="disclose" type="contact:discloseType"
|
||||||
|
minOccurs="0"/>
|
||||||
</sequence>
|
</sequence>
|
||||||
</complexType>
|
</complexType>
|
||||||
|
|
||||||
|
@ -214,7 +234,8 @@
|
||||||
<element name="addr" type="contact:addrType"
|
<element name="addr" type="contact:addrType"
|
||||||
minOccurs="0"/>
|
minOccurs="0"/>
|
||||||
</sequence>
|
</sequence>
|
||||||
<attribute name="type" type="contact:postalInfoEnumType"/>
|
<attribute name="type" type="contact:postalInfoEnumType"
|
||||||
|
use="required"/>
|
||||||
</complexType>
|
</complexType>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
@ -290,6 +311,8 @@
|
||||||
minOccurs="0"/>
|
minOccurs="0"/>
|
||||||
<element name="authInfo" type="contact:authInfoType"
|
<element name="authInfo" type="contact:authInfoType"
|
||||||
minOccurs="0"/>
|
minOccurs="0"/>
|
||||||
|
<element name="disclose" type="contact:discloseType"
|
||||||
|
minOccurs="0"/>
|
||||||
</sequence>
|
</sequence>
|
||||||
</complexType>
|
</complexType>
|
||||||
|
|
||||||
|
|
|
@ -11,10 +11,9 @@
|
||||||
<!--
|
<!--
|
||||||
Import common element types.
|
Import common element types.
|
||||||
-->
|
-->
|
||||||
<import namespace="urn:ietf:params:xml:ns:eppcom-1.0" schemaLocation="doc/schemas/eppcom-1.0.xsd"/>
|
<import namespace="urn:ietf:params:xml:ns:eppcom-1.0"/>
|
||||||
<import namespace="urn:ietf:params:xml:ns:epp-1.0" schemaLocation="doc/schemas/epp-1.0.xsd"/>
|
<import namespace="urn:ietf:params:xml:ns:epp-1.0"/>
|
||||||
<import namespace="urn:ietf:params:xml:ns:host-1.0" schemaLocation="doc/schemas/host-1.0.xsd"/>
|
<import namespace="urn:ietf:params:xml:ns:host-1.0"/>
|
||||||
<import namespace="urn:ietf:params:xml:ns:secDNS-1.1" schemaLocation="doc/schemas/secDNS-1.1.xsd"/>
|
|
||||||
|
|
||||||
<annotation>
|
<annotation>
|
||||||
<documentation>
|
<documentation>
|
||||||
|
@ -47,7 +46,7 @@
|
||||||
minOccurs="0"/>
|
minOccurs="0"/>
|
||||||
<element name="contact" type="domain:contactType"
|
<element name="contact" type="domain:contactType"
|
||||||
minOccurs="0" maxOccurs="unbounded"/>
|
minOccurs="0" maxOccurs="unbounded"/>
|
||||||
<element name="authInfo" type="domain:authInfoType" minOccurs="0"/>
|
<element name="authInfo" type="domain:authInfoType"/>
|
||||||
</sequence>
|
</sequence>
|
||||||
</complexType>
|
</complexType>
|
||||||
|
|
||||||
|
@ -63,7 +62,7 @@
|
||||||
<simpleType name="pLimitType">
|
<simpleType name="pLimitType">
|
||||||
<restriction base="unsignedShort">
|
<restriction base="unsignedShort">
|
||||||
<minInclusive value="1"/>
|
<minInclusive value="1"/>
|
||||||
<maxInclusive value="1095"/>
|
<maxInclusive value="99"/>
|
||||||
</restriction>
|
</restriction>
|
||||||
</simpleType>
|
</simpleType>
|
||||||
|
|
||||||
|
@ -71,7 +70,6 @@
|
||||||
<restriction base="token">
|
<restriction base="token">
|
||||||
<enumeration value="y"/>
|
<enumeration value="y"/>
|
||||||
<enumeration value="m"/>
|
<enumeration value="m"/>
|
||||||
<enumeration value="d"/>
|
|
||||||
</restriction>
|
</restriction>
|
||||||
</simpleType>
|
</simpleType>
|
||||||
|
|
||||||
|
@ -91,7 +89,6 @@
|
||||||
<sequence>
|
<sequence>
|
||||||
<element name="hostName" type="eppcom:labelType"/>
|
<element name="hostName" type="eppcom:labelType"/>
|
||||||
<element name="hostAddr" type="host:addrType"
|
<element name="hostAddr" type="host:addrType"
|
||||||
|
|
||||||
minOccurs="0" maxOccurs="unbounded"/>
|
minOccurs="0" maxOccurs="unbounded"/>
|
||||||
</sequence>
|
</sequence>
|
||||||
</complexType>
|
</complexType>
|
||||||
|
@ -240,29 +237,13 @@
|
||||||
Allow the registrant value to be nullified by changing the
|
Allow the registrant value to be nullified by changing the
|
||||||
minLength restriction to "0".
|
minLength restriction to "0".
|
||||||
-->
|
-->
|
||||||
|
<simpleType name="clIDChgType">
|
||||||
<complexType name="clIDChgType">
|
|
||||||
<simpleContent>
|
|
||||||
<extension base="domain:clIDChgSimpleType">
|
|
||||||
<attribute name="verified" type="domain:verifiedType"/>
|
|
||||||
</extension>
|
|
||||||
</simpleContent>
|
|
||||||
</complexType>
|
|
||||||
|
|
||||||
<simpleType name="clIDChgSimpleType">
|
|
||||||
<restriction base="token">
|
<restriction base="token">
|
||||||
<minLength value="0"/>
|
<minLength value="0"/>
|
||||||
|
<maxLength value="16"/>
|
||||||
</restriction>
|
</restriction>
|
||||||
</simpleType>
|
</simpleType>
|
||||||
|
|
||||||
<simpleType name="verifiedType">
|
|
||||||
<restriction base="token">
|
|
||||||
<enumeration value="yes"/>
|
|
||||||
<enumeration value="no"/>
|
|
||||||
</restriction>
|
|
||||||
</simpleType>
|
|
||||||
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Allow the authInfo value to be nullified by including an
|
Allow the authInfo value to be nullified by including an
|
||||||
empty element within the choice.
|
empty element within the choice.
|
||||||
|
@ -444,6 +425,7 @@
|
||||||
minOccurs="0"/>
|
minOccurs="0"/>
|
||||||
</sequence>
|
</sequence>
|
||||||
</complexType>
|
</complexType>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
End of schema.
|
End of schema.
|
||||||
-->
|
-->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue