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,6 +1,6 @@
<?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"
@ -8,36 +8,37 @@
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. <!--
--> Child elements of the <create> command.
<complexType name="createType"> -->
<complexType name="createType">
<sequence> <sequence>
<element name="name" type="eppcom:labelType"/> <element name="name" type="eppcom:labelType"/>
<element name="period" type="domain:periodType" <element name="period" type="domain:periodType"
@ -50,130 +51,141 @@
minOccurs="0" maxOccurs="unbounded"/> minOccurs="0" maxOccurs="unbounded"/>
<element name="authInfo" type="domain:authInfoType" minOccurs="0"/> <element name="authInfo" type="domain:authInfoType" minOccurs="0"/>
</sequence> </sequence>
</complexType> </complexType>
<complexType name="periodType"> <complexType name="periodType">
<simpleContent> <simpleContent>
<extension base="domain:pLimitType"> <extension base="domain:pLimitType">
<attribute name="unit" type="domain:pUnitType" <attribute name="unit" type="domain:pUnitType"
use="required"/> use="required"/>
</extension> </extension>
</simpleContent> </simpleContent>
</complexType> </complexType>
<simpleType name="pLimitType"> <simpleType name="pLimitType">
<restriction base="unsignedShort"> <restriction base="unsignedShort">
<minInclusive value="1"/> <minInclusive value="1"/>
<maxInclusive value="1095"/> <maxInclusive value="1095"/>
</restriction> </restriction>
</simpleType> </simpleType>
<simpleType name="pUnitType"> <simpleType name="pUnitType">
<restriction base="token"> <restriction base="token">
<enumeration value="y"/> <enumeration value="y"/>
<enumeration value="m"/> <enumeration value="m"/>
<enumeration value="d"/> <enumeration value="d"/>
</restriction> </restriction>
</simpleType> </simpleType>
<complexType name="nsType"> <complexType name="nsType">
<choice> <choice>
<element name="hostObj" type="eppcom:labelType" <element name="hostObj" type="eppcom:labelType"
maxOccurs="unbounded"/> maxOccurs="unbounded"/>
<element name="hostAttr" type="domain:hostAttrType" <element name="hostAttr" type="domain:hostAttrType"
maxOccurs="unbounded"/> maxOccurs="unbounded"/>
</choice> </choice>
</complexType> </complexType>
<!-- <!--
Name servers are either host objects or attributes. Name servers are either host objects or attributes.
--> -->
<complexType name="hostAttrType"> <complexType name="hostAttrType">
<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>
<!-- <!--
If attributes, addresses are optional and follow the If attributes, addresses are optional and follow the
structure defined in the host mapping. structure defined in the host mapping.
--> -->
<complexType name="contactType"> <complexType name="contactType">
<simpleContent> <simpleContent>
<extension base="eppcom:clIDType"> <extension base="eppcom:clIDType">
<attribute name="type" type="domain:contactAttrType"/> <attribute name="type" type="domain:contactAttrType"/>
</extension> </extension>
</simpleContent> </simpleContent>
</complexType> </complexType>
<simpleType name="contactAttrType"> <simpleType name="contactAttrType">
<restriction base="token"> <restriction base="token">
<enumeration value="admin"/> <enumeration value="admin"/>
<enumeration value="billing"/> <enumeration value="billing"/>
<enumeration value="tech"/> <enumeration value="tech"/>
</restriction> </restriction>
</simpleType> </simpleType>
<complexType name="authInfoType"> <complexType name="authInfoType">
<choice> <choice>
<element name="pw" type="eppcom:pwAuthInfoType"/> <element name="pw" type="eppcom:pwAuthInfoType"/>
<element name="ext" type="eppcom:extAuthInfoType"/> <element name="ext" type="eppcom:extAuthInfoType"/>
</choice> </choice>
</complexType> </complexType>
<!-- <!--
Child element of commands that require a single name. Child element of commands that require a single name.
--> -->
<complexType name="sNameType"> <complexType name="sNameType">
<sequence> <sequence>
<element name="name" type="eppcom:labelType"/> <element name="name" type="eppcom:labelType"/>
</sequence> </sequence>
</complexType> </complexType>
<!-- <!--
Child element of commands that accept multiple names. Child element of commands that accept multiple names.
--> -->
<complexType name="mNameType"> <complexType name="mNameType">
<sequence> <sequence>
<element name="name" type="eppcom:labelType" <element name="name" type="eppcom:labelType"
maxOccurs="unbounded"/> maxOccurs="unbounded"/>
</sequence> </sequence>
</complexType> </complexType>
<!-- <!--
Child elements of the <info> command. Child element of the <delete> command - .ee specific (verified)
--> -->
<complexType name="infoType"> <complexType name="deleteType">
<sequence>
<element name="name" type="eppcom:labelType"/>
</sequence>
<attribute name="verified" type="domain:verifiedType"
use="optional"/>
</complexType>
<!--
Child elements of the <info> command.
-->
<complexType name="infoType">
<sequence> <sequence>
<element name="name" type="domain:infoNameType"/> <element name="name" type="domain:infoNameType"/>
<element name="authInfo" type="domain:authInfoType" <element name="authInfo" type="domain:authInfoType"
minOccurs="0"/> minOccurs="0"/>
</sequence> </sequence>
</complexType> </complexType>
<complexType name="infoNameType"> <complexType name="infoNameType">
<simpleContent> <simpleContent>
<extension base = "eppcom:labelType"> <extension base = "eppcom:labelType">
<attribute name="hosts" type="domain:hostsType" <attribute name="hosts" type="domain:hostsType"
default="all"/> default="all"/>
</extension> </extension>
</simpleContent> </simpleContent>
</complexType> </complexType>
<simpleType name="hostsType"> <simpleType name="hostsType">
<restriction base="token"> <restriction base="token">
<enumeration value="all"/> <enumeration value="all"/>
<enumeration value="del"/> <enumeration value="del"/>
<enumeration value="none"/> <enumeration value="none"/>
<enumeration value="sub"/> <enumeration value="sub"/>
</restriction> </restriction>
</simpleType> </simpleType>
<!-- <!--
Child elements of the <renew> command. Child elements of the <renew> command.
--> -->
<complexType name="renewType"> <complexType name="renewType">
<sequence> <sequence>
<element name="name" type="eppcom:labelType"/> <element name="name" type="eppcom:labelType"/>
<element name="curExpDate" type="date"/> <element name="curExpDate" type="date"/>
@ -182,10 +194,10 @@
</sequence> </sequence>
</complexType> </complexType>
<!-- <!--
Child elements of the <transfer> command. Child elements of the <transfer> command.
--> -->
<complexType name="transferType"> <complexType name="transferType">
<sequence> <sequence>
<element name="name" type="eppcom:labelType"/> <element name="name" type="eppcom:labelType"/>
<element name="period" type="domain:periodType" <element name="period" type="domain:periodType"
@ -193,12 +205,12 @@
<element name="authInfo" type="domain:authInfoType" <element name="authInfo" type="domain:authInfoType"
minOccurs="0"/> minOccurs="0"/>
</sequence> </sequence>
</complexType> </complexType>
<!-- <!--
Child elements of the <update> command. Child elements of the <update> command.
--> -->
<complexType name="updateType"> <complexType name="updateType">
<sequence> <sequence>
<element name="name" type="eppcom:labelType"/> <element name="name" type="eppcom:labelType"/>
<element name="add" type="domain:addRemType" <element name="add" type="domain:addRemType"
@ -208,12 +220,12 @@
<element name="chg" type="domain:chgType" <element name="chg" type="domain:chgType"
minOccurs="0"/> minOccurs="0"/>
</sequence> </sequence>
</complexType> </complexType>
<!-- <!--
Data elements that can be added or removed. Data elements that can be added or removed.
--> -->
<complexType name="addRemType"> <complexType name="addRemType">
<sequence> <sequence>
<element name="ns" type="domain:nsType" <element name="ns" type="domain:nsType"
minOccurs="0"/> minOccurs="0"/>
@ -222,113 +234,112 @@
<element name="status" type="domain:statusType" <element name="status" type="domain:statusType"
minOccurs="0" maxOccurs="11"/> minOccurs="0" maxOccurs="11"/>
</sequence> </sequence>
</complexType> </complexType>
<!-- <!--
Data elements that can be changed. Data elements that can be changed.
--> -->
<complexType name="chgType"> <complexType name="chgType">
<sequence> <sequence>
<element name="registrant" type="domain:clIDChgType" <element name="registrant" type="domain:clIDChgType"
minOccurs="0"/> minOccurs="0"/>
<element name="authInfo" type="domain:authInfoChgType" <element name="authInfo" type="domain:authInfoChgType"
minOccurs="0"/> minOccurs="0"/>
</sequence> </sequence>
</complexType> </complexType>
<!-- <!--
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".
--> -->
<complexType name="clIDChgType"> <complexType name="clIDChgType">
<simpleContent> <simpleContent>
<extension base="domain:clIDChgSimpleType"> <extension base="domain:clIDChgSimpleType">
<attribute name="verified" type="domain:verifiedType"/> <attribute name="verified" type="domain:verifiedType"/>
</extension> </extension>
</simpleContent> </simpleContent>
</complexType> </complexType>
<simpleType name="clIDChgSimpleType"> <simpleType name="clIDChgSimpleType">
<restriction base="token"> <restriction base="token">
<minLength value="0"/> <minLength value="0"/>
</restriction> </restriction>
</simpleType> </simpleType>
<simpleType name="verifiedType"> <simpleType name="verifiedType">
<restriction base="token"> <restriction base="token">
<enumeration value="yes"/> <enumeration value="yes"/>
<enumeration value="no"/> <enumeration value="no"/>
</restriction> </restriction>
</simpleType> </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. -->
--> <complexType name="authInfoChgType">
<complexType name="authInfoChgType">
<choice> <choice>
<element name="pw" type="eppcom:pwAuthInfoType"/> <element name="pw" type="eppcom:pwAuthInfoType"/>
<element name="ext" type="eppcom:extAuthInfoType"/> <element name="ext" type="eppcom:extAuthInfoType"/>
<element name="null"/> <element name="null"/>
</choice> </choice>
</complexType> </complexType>
<!-- <!--
Child response elements. Child response elements.
--> -->
<element name="chkData" type="domain:chkDataType"/> <element name="chkData" type="domain:chkDataType"/>
<element name="creData" type="domain:creDataType"/> <element name="creData" type="domain:creDataType"/>
<element name="infData" type="domain:infDataType"/> <element name="infData" type="domain:infDataType"/>
<element name="panData" type="domain:panDataType"/> <element name="panData" type="domain:panDataType"/>
<element name="renData" type="domain:renDataType"/> <element name="renData" type="domain:renDataType"/>
<element name="trnData" type="domain:trnDataType"/> <element name="trnData" type="domain:trnDataType"/>
<!-- <!--
<check> response elements. <check> response elements.
--> -->
<complexType name="chkDataType"> <complexType name="chkDataType">
<sequence> <sequence>
<element name="cd" type="domain:checkType" <element name="cd" type="domain:checkType"
maxOccurs="unbounded"/> maxOccurs="unbounded"/>
</sequence> </sequence>
</complexType> </complexType>
<complexType name="checkType"> <complexType name="checkType">
<sequence> <sequence>
<element name="name" type="domain:checkNameType"/> <element name="name" type="domain:checkNameType"/>
<element name="reason" type="eppcom:reasonType" <element name="reason" type="eppcom:reasonType"
minOccurs="0"/> minOccurs="0"/>
</sequence> </sequence>
</complexType> </complexType>
<complexType name="checkNameType"> <complexType name="checkNameType">
<simpleContent> <simpleContent>
<extension base="eppcom:labelType"> <extension base="eppcom:labelType">
<attribute name="avail" type="boolean" <attribute name="avail" type="boolean"
use="required"/> use="required"/>
</extension> </extension>
</simpleContent> </simpleContent>
</complexType> </complexType>
<!-- <!--
<create> response elements. <create> response elements.
--> -->
<complexType name="creDataType"> <complexType name="creDataType">
<sequence> <sequence>
<element name="name" type="eppcom:labelType"/> <element name="name" type="eppcom:labelType"/>
<element name="crDate" type="dateTime"/> <element name="crDate" type="dateTime"/>
<element name="exDate" type="dateTime" <element name="exDate" type="dateTime"
minOccurs="0"/> minOccurs="0"/>
</sequence> </sequence>
</complexType> </complexType>
<!-- <!--
<info> response elements. <info> response elements.
--> -->
<complexType name="infDataType"> <complexType name="infDataType">
<sequence> <sequence>
<element name="name" type="eppcom:labelType"/> <element name="name" type="eppcom:labelType"/>
<element name="roid" type="eppcom:roidType"/> <element name="roid" type="eppcom:roidType"/>
@ -358,14 +369,14 @@
<element name="authInfo" type="domain:authInfoType" <element name="authInfo" type="domain:authInfoType"
minOccurs="0"/> minOccurs="0"/>
</sequence> </sequence>
</complexType> </complexType>
<!-- <!--
Status is a combination of attributes and an optional Status is a combination of attributes and an optional
human-readable message that may be expressed in languages other human-readable message that may be expressed in languages other
than English. than English.
--> -->
<complexType name="statusType"> <complexType name="statusType">
<simpleContent> <simpleContent>
<extension base="normalizedString"> <extension base="normalizedString">
<attribute name="s" type="domain:statusValueType" <attribute name="s" type="domain:statusValueType"
@ -374,9 +385,9 @@
default="en"/> default="en"/>
</extension> </extension>
</simpleContent> </simpleContent>
</complexType> </complexType>
<simpleType name="statusValueType"> <simpleType name="statusValueType">
<restriction base="token"> <restriction base="token">
<enumeration value="clientDeleteProhibited"/> <enumeration value="clientDeleteProhibited"/>
<enumeration value="clientHold"/> <enumeration value="clientHold"/>
@ -404,43 +415,43 @@
<enumeration value="serverTechChangeProhibited"/> <enumeration value="serverTechChangeProhibited"/>
<enumeration value="deleteCandidate"/> <enumeration value="deleteCandidate"/>
</restriction> </restriction>
</simpleType> </simpleType>
<!-- <!--
Pending action notification response elements. Pending action notification response elements.
--> -->
<complexType name="panDataType"> <complexType name="panDataType">
<sequence> <sequence>
<element name="name" type="domain:paNameType"/> <element name="name" type="domain:paNameType"/>
<element name="paTRID" type="epp:trIDType"/> <element name="paTRID" type="epp:trIDType"/>
<element name="paDate" type="dateTime"/> <element name="paDate" type="dateTime"/>
</sequence> </sequence>
</complexType> </complexType>
<complexType name="paNameType"> <complexType name="paNameType">
<simpleContent> <simpleContent>
<extension base="eppcom:labelType"> <extension base="eppcom:labelType">
<attribute name="paResult" type="boolean" <attribute name="paResult" type="boolean"
use="required"/> use="required"/>
</extension> </extension>
</simpleContent> </simpleContent>
</complexType> </complexType>
<!-- <!--
<renew> response elements. <renew> response elements.
--> -->
<complexType name="renDataType"> <complexType name="renDataType">
<sequence> <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"/>
@ -451,8 +462,9 @@
<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>