Added missing verified attribute for domain delete

This commit is contained in:
Timo Võhmar 2015-11-27 20:13:21 +02:00
parent 0884b8c9aa
commit e5654fbb20

View file

@ -1,447 +1,458 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="https://epp.tld.ee/schema/domain-eis-1.0.xsd" <schema targetNamespace="https://epp.tld.ee/schema/domain-eis-1.0.xsd"
xmlns:domain="https://epp.tld.ee/schema/domain-eis-1.0.xsd" xmlns:domain="https://epp.tld.ee/schema/domain-eis-1.0.xsd"
xmlns:host="urn:ietf:params:xml:ns:host-1.0" xmlns:host="urn:ietf:params:xml:ns:host-1.0"
xmlns:epp="urn:ietf:params:xml:ns:epp-1.0" xmlns:epp="urn:ietf:params:xml:ns:epp-1.0"
xmlns:eppcom="urn:ietf:params:xml:ns:eppcom-1.0" xmlns:eppcom="urn:ietf:params:xml:ns:eppcom-1.0"
xmlns="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"> elementFormDefault="qualified">
<!-- <!--
Import common element types. Import common element types.
--> -->
<import namespace="urn:ietf:params:xml:ns:eppcom-1.0"/> <import namespace="urn:ietf:params:xml:ns:eppcom-1.0"/>
<import namespace="urn:ietf:params:xml:ns:epp-1.0"/> <import namespace="urn:ietf:params:xml:ns:epp-1.0"/>
<import namespace="urn:ietf:params:xml:ns:host-1.0"/> <import namespace="urn:ietf:params:xml:ns:host-1.0"/>
<import namespace="urn:ietf:params:xml:ns:secDNS-1.1"/> <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/eis-1.0.xsd"/>
<annotation> <annotation>
<documentation> <documentation>
Extensible Provisioning Protocol v1.0 Extensible Provisioning Protocol v1.0
domain provisioning schema. domain provisioning schema.
</documentation> </documentation>
</annotation> </annotation>
<!-- <!--
Child elements found in EPP commands. Child elements found in EPP commands.
--> -->
<element name="check" type="domain:mNameType"/> <element name="check" type="domain:mNameType"/>
<element name="create" type="domain:createType"/> <element name="create" type="domain:createType"/>
<element name="delete" type="domain:sNameType"/> <element name="delete" type="domain:deleteType"/>
<element name="info" type="domain:infoType"/> <element name="info" type="domain:infoType"/>
<element name="renew" type="domain:renewType"/> <element name="renew" type="domain:renewType"/>
<element name="transfer" type="domain:transferType"/> <element name="transfer" type="domain:transferType"/>
<element name="update" type="domain:updateType"/> <element name="update" type="domain:updateType"/>
<!--
Child elements of the <create> command.
-->
<complexType name="createType">
<sequence>
<element name="name" type="eppcom:labelType"/>
<element name="period" type="domain:periodType"
minOccurs="0"/>
<element name="ns" type="domain:nsType"
minOccurs="0"/>
<element name="registrant" type="eppcom:clIDType"
minOccurs="0"/>
<element name="contact" type="domain:contactType"
minOccurs="0" maxOccurs="unbounded"/>
<element name="authInfo" type="domain:authInfoType" minOccurs="0"/>
</sequence>
</complexType>
<complexType name="periodType"> <!--
<simpleContent> Child elements of the <create> command.
<extension base="domain:pLimitType"> -->
<attribute name="unit" type="domain:pUnitType" <complexType name="createType">
use="required"/> <sequence>
</extension> <element name="name" type="eppcom:labelType"/>
</simpleContent> <element name="period" type="domain:periodType"
</complexType> minOccurs="0"/>
<element name="ns" type="domain:nsType"
minOccurs="0"/>
<element name="registrant" type="eppcom:clIDType"
minOccurs="0"/>
<element name="contact" type="domain:contactType"
minOccurs="0" maxOccurs="unbounded"/>
<element name="authInfo" type="domain:authInfoType" minOccurs="0"/>
</sequence>
</complexType>
<simpleType name="pLimitType"> <complexType name="periodType">
<restriction base="unsignedShort"> <simpleContent>
<minInclusive value="1"/> <extension base="domain:pLimitType">
<maxInclusive value="1095"/> <attribute name="unit" type="domain:pUnitType"
</restriction> use="required"/>
</simpleType> </extension>
</simpleContent>
</complexType>
<simpleType name="pUnitType"> <simpleType name="pLimitType">
<restriction base="token"> <restriction base="unsignedShort">
<enumeration value="y"/> <minInclusive value="1"/>
<enumeration value="m"/> <maxInclusive value="1095"/>
<enumeration value="d"/> </restriction>
</restriction> </simpleType>
</simpleType>
<complexType name="nsType"> <simpleType name="pUnitType">
<choice> <restriction base="token">
<element name="hostObj" type="eppcom:labelType" <enumeration value="y"/>
maxOccurs="unbounded"/> <enumeration value="m"/>
<element name="hostAttr" type="domain:hostAttrType" <enumeration value="d"/>
maxOccurs="unbounded"/> </restriction>
</choice> </simpleType>
</complexType>
<!--
Name servers are either host objects or attributes.
-->
<complexType name="hostAttrType"> <complexType name="nsType">
<sequence> <choice>
<element name="hostName" type="eppcom:labelType"/> <element name="hostObj" type="eppcom:labelType"
<element name="hostAddr" type="host:addrType" maxOccurs="unbounded"/>
minOccurs="0" maxOccurs="unbounded"/> <element name="hostAttr" type="domain:hostAttrType"
</sequence> maxOccurs="unbounded"/>
</complexType> </choice>
<!-- </complexType>
If attributes, addresses are optional and follow the <!--
structure defined in the host mapping. Name servers are either host objects or attributes.
--> -->
<complexType name="contactType"> <complexType name="hostAttrType">
<simpleContent> <sequence>
<extension base="eppcom:clIDType"> <element name="hostName" type="eppcom:labelType"/>
<attribute name="type" type="domain:contactAttrType"/> <element name="hostAddr" type="host:addrType"
</extension> minOccurs="0" maxOccurs="unbounded"/>
</simpleContent> </sequence>
</complexType> </complexType>
<!--
If attributes, addresses are optional and follow the
structure defined in the host mapping.
-->
<simpleType name="contactAttrType"> <complexType name="contactType">
<restriction base="token"> <simpleContent>
<enumeration value="admin"/> <extension base="eppcom:clIDType">
<enumeration value="billing"/> <attribute name="type" type="domain:contactAttrType"/>
<enumeration value="tech"/> </extension>
</restriction> </simpleContent>
</simpleType> </complexType>
<complexType name="authInfoType"> <simpleType name="contactAttrType">
<choice> <restriction base="token">
<element name="pw" type="eppcom:pwAuthInfoType"/> <enumeration value="admin"/>
<element name="ext" type="eppcom:extAuthInfoType"/> <enumeration value="billing"/>
</choice> <enumeration value="tech"/>
</complexType> </restriction>
</simpleType>
<!-- <complexType name="authInfoType">
Child element of commands that require a single name. <choice>
--> <element name="pw" type="eppcom:pwAuthInfoType"/>
<complexType name="sNameType"> <element name="ext" type="eppcom:extAuthInfoType"/>
<sequence> </choice>
<element name="name" type="eppcom:labelType"/> </complexType>
</sequence>
</complexType>
<!--
Child element of commands that accept multiple names.
-->
<complexType name="mNameType">
<sequence>
<element name="name" type="eppcom:labelType"
maxOccurs="unbounded"/>
</sequence>
</complexType>
<!-- <!--
Child elements of the <info> command. Child element of commands that require a single name.
--> -->
<complexType name="infoType"> <complexType name="sNameType">
<sequence> <sequence>
<element name="name" type="domain:infoNameType"/> <element name="name" type="eppcom:labelType"/>
<element name="authInfo" type="domain:authInfoType" </sequence>
minOccurs="0"/> </complexType>
</sequence> <!--
</complexType> Child element of commands that accept multiple names.
-->
<complexType name="mNameType">
<sequence>
<element name="name" type="eppcom:labelType"
maxOccurs="unbounded"/>
</sequence>
</complexType>
<complexType name="infoNameType"> <!--
<simpleContent> Child element of the <delete> command - .ee specific (verified)
<extension base = "eppcom:labelType"> -->
<attribute name="hosts" type="domain:hostsType" <complexType name="deleteType">
default="all"/> <sequence>
</extension> <element name="name" type="eppcom:labelType"/>
</simpleContent> </sequence>
</complexType> <attribute name="verified" type="domain:verifiedType"
use="optional"/>
</complexType>
<simpleType name="hostsType"> <!--
<restriction base="token"> Child elements of the <info> command.
<enumeration value="all"/> -->
<enumeration value="del"/> <complexType name="infoType">
<enumeration value="none"/> <sequence>
<enumeration value="sub"/> <element name="name" type="domain:infoNameType"/>
</restriction> <element name="authInfo" type="domain:authInfoType"
</simpleType> minOccurs="0"/>
</sequence>
</complexType>
<!-- <complexType name="infoNameType">
Child elements of the <renew> command. <simpleContent>
--> <extension base = "eppcom:labelType">
<complexType name="renewType"> <attribute name="hosts" type="domain:hostsType"
<sequence> default="all"/>
<element name="name" type="eppcom:labelType"/> </extension>
<element name="curExpDate" type="date"/> </simpleContent>
<element name="period" type="domain:periodType" </complexType>
minOccurs="0"/>
</sequence>
</complexType>
<!-- <simpleType name="hostsType">
Child elements of the <transfer> command. <restriction base="token">
--> <enumeration value="all"/>
<complexType name="transferType"> <enumeration value="del"/>
<sequence> <enumeration value="none"/>
<element name="name" type="eppcom:labelType"/> <enumeration value="sub"/>
<element name="period" type="domain:periodType" </restriction>
minOccurs="0"/> </simpleType>
<element name="authInfo" type="domain:authInfoType"
minOccurs="0"/>
</sequence>
</complexType>
<!-- <!--
Child elements of the <update> command. Child elements of the <renew> command.
--> -->
<complexType name="updateType"> <complexType name="renewType">
<sequence> <sequence>
<element name="name" type="eppcom:labelType"/> <element name="name" type="eppcom:labelType"/>
<element name="add" type="domain:addRemType" <element name="curExpDate" type="date"/>
minOccurs="0"/> <element name="period" type="domain:periodType"
<element name="rem" type="domain:addRemType" minOccurs="0"/>
minOccurs="0"/> </sequence>
<element name="chg" type="domain:chgType" </complexType>
minOccurs="0"/>
</sequence>
</complexType>
<!-- <!--
Data elements that can be added or removed. Child elements of the <transfer> command.
--> -->
<complexType name="addRemType"> <complexType name="transferType">
<sequence> <sequence>
<element name="ns" type="domain:nsType" <element name="name" type="eppcom:labelType"/>
minOccurs="0"/> <element name="period" type="domain:periodType"
<element name="contact" type="domain:contactType" minOccurs="0"/>
minOccurs="0" maxOccurs="unbounded"/> <element name="authInfo" type="domain:authInfoType"
<element name="status" type="domain:statusType" minOccurs="0"/>
minOccurs="0" maxOccurs="11"/> </sequence>
</sequence> </complexType>
</complexType>
<!-- <!--
Data elements that can be changed. Child elements of the <update> command.
--> -->
<complexType name="chgType"> <complexType name="updateType">
<sequence> <sequence>
<element name="registrant" type="domain:clIDChgType" <element name="name" type="eppcom:labelType"/>
minOccurs="0"/> <element name="add" type="domain:addRemType"
<element name="authInfo" type="domain:authInfoChgType" minOccurs="0"/>
minOccurs="0"/> <element name="rem" type="domain:addRemType"
</sequence> minOccurs="0"/>
</complexType> <element name="chg" type="domain:chgType"
minOccurs="0"/>
</sequence>
</complexType>
<!-- <!--
Allow the registrant value to be nullified by changing the Data elements that can be added or removed.
minLength restriction to "0". -->
--> <complexType name="addRemType">
<sequence>
<element name="ns" type="domain:nsType"
minOccurs="0"/>
<element name="contact" type="domain:contactType"
minOccurs="0" maxOccurs="unbounded"/>
<element name="status" type="domain:statusType"
minOccurs="0" maxOccurs="11"/>
</sequence>
</complexType>
<complexType name="clIDChgType"> <!--
<simpleContent> Data elements that can be changed.
<extension base="domain:clIDChgSimpleType"> -->
<attribute name="verified" type="domain:verifiedType"/> <complexType name="chgType">
</extension> <sequence>
</simpleContent> <element name="registrant" type="domain:clIDChgType"
</complexType> minOccurs="0"/>
<element name="authInfo" type="domain:authInfoChgType"
minOccurs="0"/>
</sequence>
</complexType>
<simpleType name="clIDChgSimpleType"> <!--
<restriction base="token"> Allow the registrant value to be nullified by changing the
<minLength value="0"/> minLength restriction to "0".
</restriction> -->
</simpleType>
<simpleType name="verifiedType"> <complexType name="clIDChgType">
<restriction base="token"> <simpleContent>
<enumeration value="yes"/> <extension base="domain:clIDChgSimpleType">
<enumeration value="no"/> <attribute name="verified" type="domain:verifiedType"/>
</restriction> </extension>
</simpleType> </simpleContent>
</complexType>
<simpleType name="clIDChgSimpleType">
<restriction base="token">
<minLength value="0"/>
</restriction>
</simpleType>
<!-- <simpleType name="verifiedType">
Allow the authInfo value to be nullified by including an <restriction base="token">
empty element within the choice. <enumeration value="yes"/>
--> <enumeration value="no"/>
<complexType name="authInfoChgType"> </restriction>
<choice> </simpleType>
<element name="pw" type="eppcom:pwAuthInfoType"/>
<element name="ext" type="eppcom:extAuthInfoType"/>
<element name="null"/>
</choice>
</complexType>
<!-- <!--
Child response elements. Allow the authInfo value to be nullified by including an
--> empty element within the choice.
<element name="chkData" type="domain:chkDataType"/> -->
<element name="creData" type="domain:creDataType"/> <complexType name="authInfoChgType">
<element name="infData" type="domain:infDataType"/> <choice>
<element name="panData" type="domain:panDataType"/> <element name="pw" type="eppcom:pwAuthInfoType"/>
<element name="renData" type="domain:renDataType"/> <element name="ext" type="eppcom:extAuthInfoType"/>
<element name="trnData" type="domain:trnDataType"/> <element name="null"/>
</choice>
</complexType>
<!-- <!--
<check> response elements. Child response elements.
--> -->
<complexType name="chkDataType"> <element name="chkData" type="domain:chkDataType"/>
<sequence> <element name="creData" type="domain:creDataType"/>
<element name="cd" type="domain:checkType" <element name="infData" type="domain:infDataType"/>
maxOccurs="unbounded"/> <element name="panData" type="domain:panDataType"/>
</sequence> <element name="renData" type="domain:renDataType"/>
</complexType> <element name="trnData" type="domain:trnDataType"/>
<complexType name="checkType"> <!--
<sequence> <check> response elements.
<element name="name" type="domain:checkNameType"/> -->
<element name="reason" type="eppcom:reasonType" <complexType name="chkDataType">
minOccurs="0"/> <sequence>
</sequence> <element name="cd" type="domain:checkType"
</complexType> maxOccurs="unbounded"/>
</sequence>
</complexType>
<complexType name="checkNameType"> <complexType name="checkType">
<simpleContent> <sequence>
<extension base="eppcom:labelType"> <element name="name" type="domain:checkNameType"/>
<attribute name="avail" type="boolean" <element name="reason" type="eppcom:reasonType"
use="required"/> minOccurs="0"/>
</extension> </sequence>
</simpleContent> </complexType>
</complexType>
<!-- <complexType name="checkNameType">
<create> response elements. <simpleContent>
--> <extension base="eppcom:labelType">
<complexType name="creDataType"> <attribute name="avail" type="boolean"
<sequence> use="required"/>
<element name="name" type="eppcom:labelType"/> </extension>
<element name="crDate" type="dateTime"/> </simpleContent>
<element name="exDate" type="dateTime" </complexType>
minOccurs="0"/>
</sequence>
</complexType>
<!-- <!--
<info> response elements. <create> response elements.
--> -->
<complexType name="creDataType">
<sequence>
<element name="name" type="eppcom:labelType"/>
<element name="crDate" type="dateTime"/>
<element name="exDate" type="dateTime"
minOccurs="0"/>
</sequence>
</complexType>
<complexType name="infDataType"> <!--
<sequence> <info> response elements.
<element name="name" type="eppcom:labelType"/> -->
<element name="roid" type="eppcom:roidType"/>
<element name="status" type="domain:statusType"
minOccurs="0" maxOccurs="11"/>
<element name="registrant" type="eppcom:clIDType"
minOccurs="0"/>
<element name="contact" type="domain:contactType"
minOccurs="0" maxOccurs="unbounded"/>
<element name="ns" type="domain:nsType"
minOccurs="0"/>
<element name="host" type="eppcom:labelType"
minOccurs="0" maxOccurs="unbounded"/>
<element name="clID" type="eppcom:clIDType"/>
<element name="crID" type="eppcom:clIDType"
minOccurs="0"/>
<element name="crDate" type="dateTime"
minOccurs="0"/>
<element name="upID" type="eppcom:clIDType"
minOccurs="0"/>
<element name="upDate" type="dateTime"
minOccurs="0"/>
<element name="exDate" type="dateTime"
minOccurs="0"/>
<element name="trDate" type="dateTime"
minOccurs="0"/>
<element name="authInfo" type="domain:authInfoType"
minOccurs="0"/>
</sequence>
</complexType>
<!-- <complexType name="infDataType">
Status is a combination of attributes and an optional <sequence>
human-readable message that may be expressed in languages other <element name="name" type="eppcom:labelType"/>
than English. <element name="roid" type="eppcom:roidType"/>
--> <element name="status" type="domain:statusType"
<complexType name="statusType"> minOccurs="0" maxOccurs="11"/>
<simpleContent> <element name="registrant" type="eppcom:clIDType"
<extension base="normalizedString"> minOccurs="0"/>
<attribute name="s" type="domain:statusValueType" <element name="contact" type="domain:contactType"
use="required"/> minOccurs="0" maxOccurs="unbounded"/>
<attribute name="lang" type="language" <element name="ns" type="domain:nsType"
default="en"/> minOccurs="0"/>
</extension> <element name="host" type="eppcom:labelType"
</simpleContent> minOccurs="0" maxOccurs="unbounded"/>
</complexType> <element name="clID" type="eppcom:clIDType"/>
<element name="crID" type="eppcom:clIDType"
minOccurs="0"/>
<element name="crDate" type="dateTime"
minOccurs="0"/>
<element name="upID" type="eppcom:clIDType"
minOccurs="0"/>
<element name="upDate" type="dateTime"
minOccurs="0"/>
<element name="exDate" type="dateTime"
minOccurs="0"/>
<element name="trDate" type="dateTime"
minOccurs="0"/>
<element name="authInfo" type="domain:authInfoType"
minOccurs="0"/>
</sequence>
</complexType>
<simpleType name="statusValueType"> <!--
<restriction base="token"> Status is a combination of attributes and an optional
<enumeration value="clientDeleteProhibited"/> human-readable message that may be expressed in languages other
<enumeration value="clientHold"/> than English.
<enumeration value="clientRenewProhibited"/> -->
<enumeration value="clientTransferProhibited"/> <complexType name="statusType">
<enumeration value="clientUpdateProhibited"/> <simpleContent>
<enumeration value="inactive"/> <extension base="normalizedString">
<enumeration value="ok"/> <attribute name="s" type="domain:statusValueType"
<enumeration value="expired"/> use="required"/>
<enumeration value="pendingCreate"/> <attribute name="lang" type="language"
<enumeration value="pendingDelete"/> default="en"/>
<enumeration value="pendingRenew"/> </extension>
<enumeration value="pendingTransfer"/> </simpleContent>
<enumeration value="pendingUpdate"/> </complexType>
<enumeration value="pendingDeleteConfirmation"/>
<enumeration value="serverDeleteProhibited"/>
<enumeration value="serverHold"/>
<enumeration value="serverRenewProhibited"/>
<enumeration value="serverTransferProhibited"/>
<enumeration value="serverUpdateProhibited"/>
<enumeration value="serverForceDelete"/>
<enumeration value="serverManualInzone"/>
<enumeration value="serverRegistrantChangeProhibited"/>
<enumeration value="serverAdminChangeProhibited"/>
<enumeration value="serverTechChangeProhibited"/>
<enumeration value="deleteCandidate"/>
</restriction>
</simpleType>
<!-- <simpleType name="statusValueType">
Pending action notification response elements. <restriction base="token">
--> <enumeration value="clientDeleteProhibited"/>
<complexType name="panDataType"> <enumeration value="clientHold"/>
<sequence> <enumeration value="clientRenewProhibited"/>
<element name="name" type="domain:paNameType"/> <enumeration value="clientTransferProhibited"/>
<element name="paTRID" type="epp:trIDType"/> <enumeration value="clientUpdateProhibited"/>
<element name="paDate" type="dateTime"/> <enumeration value="inactive"/>
</sequence> <enumeration value="ok"/>
</complexType> <enumeration value="expired"/>
<enumeration value="pendingCreate"/>
<enumeration value="pendingDelete"/>
<enumeration value="pendingRenew"/>
<enumeration value="pendingTransfer"/>
<enumeration value="pendingUpdate"/>
<enumeration value="pendingDeleteConfirmation"/>
<enumeration value="serverDeleteProhibited"/>
<enumeration value="serverHold"/>
<enumeration value="serverRenewProhibited"/>
<enumeration value="serverTransferProhibited"/>
<enumeration value="serverUpdateProhibited"/>
<enumeration value="serverForceDelete"/>
<enumeration value="serverManualInzone"/>
<enumeration value="serverRegistrantChangeProhibited"/>
<enumeration value="serverAdminChangeProhibited"/>
<enumeration value="serverTechChangeProhibited"/>
<enumeration value="deleteCandidate"/>
</restriction>
</simpleType>
<complexType name="paNameType"> <!--
<simpleContent> Pending action notification response elements.
<extension base="eppcom:labelType"> -->
<attribute name="paResult" type="boolean" <complexType name="panDataType">
use="required"/> <sequence>
</extension> <element name="name" type="domain:paNameType"/>
</simpleContent> <element name="paTRID" type="epp:trIDType"/>
</complexType> <element name="paDate" type="dateTime"/>
</sequence>
</complexType>
<!-- <complexType name="paNameType">
<renew> response elements. <simpleContent>
--> <extension base="eppcom:labelType">
<complexType name="renDataType"> <attribute name="paResult" type="boolean"
<sequence> use="required"/>
</extension>
</simpleContent>
</complexType>
<!--
<renew> response elements.
-->
<complexType name="renDataType">
<sequence>
<element name="name" type="eppcom:labelType"/> <element name="name" type="eppcom:labelType"/>
<element name="exDate" type="dateTime" <element name="exDate" type="dateTime"
minOccurs="0"/> minOccurs="0"/>
</sequence> </sequence>
</complexType> </complexType>
<!-- <!--
<transfer> response elements. <transfer> response elements.
--> -->
<complexType name="trnDataType"> <complexType name="trnDataType">
<sequence> <sequence>
<element name="name" type="eppcom:labelType"/> <element name="name" type="eppcom:labelType"/>
<element name="trStatus" type="eppcom:trStatusType"/> <element name="trStatus" type="eppcom:trStatusType"/>
<element name="reID" type="eppcom:clIDType"/> <element name="reID" type="eppcom:clIDType"/>
@ -450,9 +461,10 @@
<element name="acDate" type="dateTime"/> <element name="acDate" type="dateTime"/>
<element name="exDate" type="dateTime" <element name="exDate" type="dateTime"
minOccurs="0"/> minOccurs="0"/>
</sequence> </sequence>
</complexType> </complexType>
<!--
End of schema. <!--
--> End of schema.
</schema> -->
</schema>