197 lines
5.0 KiB
Common Lisp
197 lines
5.0 KiB
Common Lisp
<?xml version="1.0" encoding="UTF-8"?>
|
|
<schema targetNamespace="urn:X-ote:params:xml:ns:oteext-1.0"
|
|
xmlns:oteext="urn:X-ote:params:xml:ns:oteext-1.0"
|
|
xmlns:eppcom="urn:ietf:params:xml:ns:eppcom-1.0"
|
|
xmlns:epp="urn:ietf:params:xml:ns:epp-1.0"
|
|
xmlns="http://www.w3.org/2001/XMLSchema"
|
|
elementFormDefault="qualified">
|
|
|
|
<!--
|
|
Import common element types.
|
|
-->
|
|
<import namespace="urn:ietf:params:xml:ns:eppcom-1.0" schemaLocation="eppcom-1.0.xsd"/>
|
|
<import namespace="urn:ietf:params:xml:ns:epp-1.0" schemaLocation="epp-1.0.xsd"/>
|
|
|
|
<annotation>
|
|
<documentation>
|
|
.ote Extensions to the
|
|
Extensible Provisioning Protocol v1.0 schema.
|
|
</documentation>
|
|
</annotation>
|
|
|
|
<!--
|
|
Protocol extension framework elements.
|
|
-->
|
|
<element name="command" type="oteext:commandType"/>
|
|
|
|
<!--
|
|
Protocol extension type definitions.
|
|
-->
|
|
<complexType name="commandType">
|
|
<sequence>
|
|
<choice>
|
|
<element name="registrantTransfer" type="epp:readWriteType"/>
|
|
</choice>
|
|
<element name="clTRID" type="epp:trIDStringType"
|
|
minOccurs="0"/>
|
|
</sequence>
|
|
</complexType>
|
|
|
|
<!--
|
|
Command-response framework extension elements.
|
|
-->
|
|
<element name="create" type="oteext:createType"/>
|
|
<element name="update" type="oteext:updateType"/>
|
|
<element name="infData" type="oteext:infDataType"/>
|
|
|
|
<!--
|
|
.ote update command extension
|
|
-->
|
|
<complexType name="updateType">
|
|
<sequence>
|
|
<element name="oteProperties" type="oteext:otePropertiesType"
|
|
minOccurs="1"/>
|
|
<element name="explanation" type="oteext:explanationType"
|
|
minOccurs="1"/>
|
|
</sequence>
|
|
</complexType>
|
|
|
|
<!--
|
|
.ote create command extension
|
|
-->
|
|
<complexType name="createType">
|
|
<sequence>
|
|
<element name="oteProperties" type="oteext:otePropertiesType"
|
|
minOccurs="1"/>
|
|
</sequence>
|
|
</complexType>
|
|
|
|
<!--
|
|
.ote info response extension
|
|
-->
|
|
<complexType name="infDataType">
|
|
<sequence>
|
|
<element name="oteProperties" type="oteext:otePropertiesType"
|
|
minOccurs="1"/>
|
|
</sequence>
|
|
</complexType>
|
|
|
|
<!--
|
|
the .ote extension domain properties
|
|
-->
|
|
<complexType name="otePropertiesType">
|
|
<sequence>
|
|
<element name="registrantName" type="eppcom:labelType"
|
|
minOccurs="1"/>
|
|
<element name="registrantID" type="oteext:registrantIDType"
|
|
minOccurs="0"/>
|
|
<element name="eligibilityType" type="oteext:eligType"
|
|
minOccurs="1"/>
|
|
<element name="eligibilityName" type="eppcom:labelType"
|
|
minOccurs="0"/>
|
|
<element name="eligibilityID" type="oteext:eligibilityIDType"
|
|
minOccurs="0"/>
|
|
<element name="policyReason" type="oteext:policyNumType" minOccurs="0"/>
|
|
</sequence>
|
|
</complexType>
|
|
|
|
<!--
|
|
the explanation type
|
|
-->
|
|
<simpleType name="explanationType">
|
|
<restriction base="normalizedString">
|
|
<maxLength value="1000"/>
|
|
</restriction>
|
|
</simpleType>
|
|
|
|
<!--
|
|
registrant id type is used for registrantID
|
|
-->
|
|
<complexType name="registrantIDType">
|
|
<simpleContent>
|
|
<extension base="eppcom:labelType">
|
|
<attribute name="type" type="oteext:registrantoteIdType"
|
|
use="required"/>
|
|
</extension>
|
|
</simpleContent>
|
|
</complexType>
|
|
|
|
<!--
|
|
eligibility id type is used for eligibilityID
|
|
-->
|
|
<complexType name="eligibilityIDType">
|
|
<simpleContent>
|
|
<extension base="eppcom:labelType">
|
|
<attribute name="type" type="oteext:eligibilityoteIdType"
|
|
use="required"/>
|
|
</extension>
|
|
</simpleContent>
|
|
</complexType>
|
|
|
|
<!--
|
|
enumeration of valid registrant ID types for the .ote namespace
|
|
-->
|
|
<simpleType name="registrantoteIdType">
|
|
<restriction base="token">
|
|
<enumeration value="Trade License"/>
|
|
</restriction>
|
|
</simpleType>
|
|
|
|
<!--
|
|
enumeration of valid eligibility ID types for the .ote namespace
|
|
-->
|
|
<simpleType name="eligibilityoteIdType">
|
|
<restriction base="token">
|
|
<enumeration value="Trademark"/>
|
|
</restriction>
|
|
</simpleType>
|
|
|
|
<!--
|
|
enumeration of valid Eligibility Types for the .ote namespace
|
|
-->
|
|
<simpleType name="eligType">
|
|
<restriction base="token">
|
|
<enumeration value="Trade License"/>
|
|
<enumeration value="Freezone Trade License"/>
|
|
<enumeration value="Trademark"/>
|
|
<enumeration value="Freezone Trademark"/>
|
|
<enumeration value="Trade License (IT)"/>
|
|
<enumeration value="Freezone Trade License (IT)"/>
|
|
<enumeration value="Trademark (IT)"/>
|
|
<enumeration value="Freezone Trademark (IT)"/>
|
|
<enumeration value="Legacy"/>
|
|
<enumeration value="Legacy - Approved"/>
|
|
<enumeration value="Citizen"/>
|
|
<enumeration value="Permanent Resident"/>
|
|
<enumeration value="Sporting Organisation"/>
|
|
<enumeration value="Charitable Organisation"/>
|
|
<enumeration value="Religious Organisation"/>
|
|
<enumeration value="University"/>
|
|
<enumeration value="Technical College"/>
|
|
<enumeration value="School"/>
|
|
<enumeration value="Academy"/>
|
|
<enumeration value="Government Approved"/>
|
|
</restriction>
|
|
</simpleType>
|
|
|
|
<!--
|
|
Policy reason numbers are left unassigned to a meaning to promote
|
|
flexibility of policy application. The range is also left more
|
|
open than is strictly known at the time of writing in order to
|
|
reduce the need for redistribution of an updated version of this
|
|
schema should the supported policy numbers change at some time in
|
|
the future.
|
|
-->
|
|
<simpleType name="policyNumType">
|
|
<restriction base="integer">
|
|
<minInclusive value="1"/>
|
|
<maxInclusive value="99"/>
|
|
</restriction>
|
|
</simpleType>
|
|
|
|
<!--
|
|
End of schema.
|
|
-->
|
|
</schema>
|
|
|