mirror of
https://github.com/google/nomulus.git
synced 2025-06-27 14:54:51 +02:00
Add support for a domain transfer request superuser EPP extension
Allow superusers to change the transfer period to zero years and allow superusers to change the automatic transfer length. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=167598314
This commit is contained in:
parent
263aea3b2a
commit
2e4b63bb79
28 changed files with 1018 additions and 124 deletions
41
java/google/registry/xml/xsd/superuser.xsd
Normal file
41
java/google/registry/xml/xsd/superuser.xsd
Normal file
|
@ -0,0 +1,41 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<schema
|
||||
xmlns="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:superuser="urn:google:params:xml:ns:superuser-1.0"
|
||||
targetNamespace="urn:google:params:xml:ns:superuser-1.0"
|
||||
elementFormDefault="qualified">
|
||||
|
||||
<element name="domainTransferRequest"
|
||||
type="superuser:domainTransferRequest" />
|
||||
|
||||
<complexType name="domainTransferRequest">
|
||||
<all>
|
||||
<element name="renewalPeriod" type="superuser:periodType" />
|
||||
<element name="automaticTransferLength" type="nonNegativeInteger" />
|
||||
</all>
|
||||
</complexType>
|
||||
|
||||
<complexType name="periodType">
|
||||
<simpleContent>
|
||||
<extension base="superuser:pLimitType">
|
||||
<attribute name="unit" type="superuser:pUnitType"
|
||||
use="required"/>
|
||||
</extension>
|
||||
</simpleContent>
|
||||
</complexType>
|
||||
|
||||
<simpleType name="pLimitType">
|
||||
<restriction base="unsignedShort">
|
||||
<minInclusive value="0"/>
|
||||
<maxInclusive value="99"/>
|
||||
</restriction>
|
||||
</simpleType>
|
||||
|
||||
<simpleType name="pUnitType">
|
||||
<restriction base="token">
|
||||
<enumeration value="y"/>
|
||||
<enumeration value="m"/>
|
||||
</restriction>
|
||||
</simpleType>
|
||||
|
||||
</schema>
|
Loading…
Add table
Add a link
Reference in a new issue