Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add new ee-1.1.xsd schema #2454

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/epp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
* [epp-ee-1.0.xsd](/lib/schemas/epp-ee-1.0.xsd)
* [domain-ee-1.2.xsd](/lib/schemas/domain-ee-1.2.xsd)
* [contact-ee-1.1.xsd](/lib/schemas/contact-ee-1.1.xsd)
* [ee-1.1.xsd](/lib/schemas/ee-1.1.xsd)

More info about The Extensible Provisioning Protocol (EPP):
http://en.wikipedia.org/wiki/Extensible_Provisioning_Protocol
2 changes: 1 addition & 1 deletion lib/schemas/all-ee-1.3.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
schemaLocation="lib/schemas/host-1.0.xsd"/>
<!-- EPP protocol extension: .ee specific -->
<import namespace="https://epp.tld.ee/schema/eis-1.0"
schemaLocation="lib/schemas/eis-1.0.xsd"/>
schemaLocation="lib/schemas/ee-1.1.xsd"/>
<import namespace="https://epp.tld.ee/schema/contact-ee-1.1"
schemaLocation="lib/schemas/contact-ee-1.1.xsd"/>
<import namespace="https://epp.tld.ee/schema/domain-ee-1.2"
Expand Down
2 changes: 1 addition & 1 deletion lib/schemas/contact-ee-1.1.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->
<import namespace="urn:ietf:params:xml:ns:eppcom-1.0"/>
<import namespace="https://epp.tld.ee/schema/epp-ee-1.0.xsd"/>
<import namespace="https://epp.tld.ee/schema/eis-1.0.xsd"/>
<import namespace="https://epp.tld.ee/schema/ee-1.1.xsd"/>

<annotation>
<documentation>
Expand Down
2 changes: 1 addition & 1 deletion lib/schemas/domain-ee-1.2.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Import common element types.
<import namespace="https://epp.tld.ee/schema/epp-ee-1.0.xsd"/>
<import namespace="urn:ietf:params:xml:ns:host-1.0"/>
<import namespace="urn:ietf:params:xml:ns:secDNS-1.1"/>
<import namespace="https://epp.tld.ee/schema/eis-1.0.xsd"/>
<import namespace="https://epp.tld.ee/schema/ee-1.1.xsd"/>

<annotation>
<documentation>
Expand Down
110 changes: 110 additions & 0 deletions lib/schemas/ee-1.1.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
<?xml version="1.0" encoding="UTF-8"?>
<schema
targetNamespace="https://epp.tld.ee/schema/ee-1.1.xsd"
xmlns:eis="https://epp.tld.ee/schema/ee-1.1.xsd"
xmlns="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified">

<annotation>
<documentation>
Extensible Provisioning Protocol v1.0 extension schema.
</documentation>
</annotation>

<!--
Child elements found in EPP commands.
-->

<element name="extdata" type="eis:eisExtType"/>

<!--
Child elements supporting EIS specific values.
-->
<complexType name="eisExtType">
<sequence>
<element name="ident" type="eis:identType" minOccurs="0" maxOccurs="1"/>
<element name="legalDocument" type="eis:legalDocType" minOccurs="0" maxOccurs="1"/>
<element name="reserved" type="eis:reservedType" minOccurs="0" maxOccurs="1"/>
</sequence>
</complexType>

<!--
Child elements of extdata
-->

<!--
Reserved for providing passwords for reserved domains
-->

<complexType name="reservedType">
<sequence>
<element name="pw" type="eis:pwType" minOccurs="0" maxOccurs="1"/>
</sequence>
</complexType>

<simpleType name="pwType">
<restriction base="normalizedString">
<minLength value="1"/>
<maxLength value="255"/>
</restriction>
</simpleType>

<!--
Legal document, encoded in base64
-->
<complexType name="legalDocType">
<simpleContent>
<extension base="base64Binary">
<attribute name="type" type="eis:legalDocEnumType" use="required"/>
</extension>
</simpleContent>
</complexType>

<simpleType name="legalDocEnumType">
<restriction base="token">
<enumeration value="pdf"/>
<enumeration value="asice"/>
<enumeration value="asics"/>
<enumeration value="sce"/>
<enumeration value="scs"/>
<enumeration value="adoc"/>
<enumeration value="bdoc"/>
<enumeration value="edoc"/>
<enumeration value="zip"/>
<enumeration value="rar"/>
<enumeration value="gz"/>
<enumeration value="tar"/>
<enumeration value="7z"/>
<enumeration value="odt"/>
<enumeration value="doc"/>
<enumeration value="docx"/>
</restriction>
</simpleType>

<!--
Ident with type and country code
-->
<complexType name="identType">
<simpleContent>
<extension base="normalizedString">
<attribute name="type" type="eis:identEnumType" use="required"/>
<attribute name="cc" type="eis:ccType"/>
</extension>
</simpleContent>
</complexType>

<simpleType name="identEnumType">
<restriction base="token">
<enumeration value="org"/>
<enumeration value="priv"/>
<enumeration value="birthday"/>
</restriction>
</simpleType>

<simpleType name="ccType">
<restriction base="normalizedString">
<minLength value="2"/>
<maxLength value="2"/>
</restriction>
</simpleType>
</schema>
1 change: 0 additions & 1 deletion lib/schemas/eis-1.0.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@
<enumeration value="adoc"/>
<enumeration value="bdoc"/>
<enumeration value="edoc"/>
<enumeration value="ddoc"/>
<enumeration value="zip"/>
<enumeration value="rar"/>
<enumeration value="gz"/>
Expand Down