System Status
System Status

ZA Contact Constraints

The following are the current constraints that are applied to contacts in any namespace under the ZA Product.

Reference the key (*(number)) next to the XML and the number in the interpretation.

Contact Create Constraints

Command

  <?xml version="1.0" encoding="UTF-8" standalone="no"?>
   <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
     <command>
       <create>
         <contact:create
          xmlns:contact="urn:ietf:params:xml:ns:contact-1.0">
*(1)       <contact:id>testID</contact:id>
*(2)           <contact:postalInfo type="loc">
*(3)         <contact:name>Test Rant</contact:name>
             <contact:addr>
*(4)           <contact:street>123 Fake Street</contact:street>
*(4)           <contact:street>Building Null</contact:street>
*(5)           <contact:city>Fake City</contact:city>
*(6)           <contact:sp>Fake Province</contact:sp>
*(7)           <contact:pc>90210</contact:pc>
*(8)           <contact:cc>ZA</contact:cc>
             </contact:addr>
           </contact:postalInfo>
*(9)       <contact:voice x="1234">+27.113555555</contact:voice>
*(9)       <contact:fax>+27.113555556</contact:fax>
*(10)       <contact:email>rantemail@example.com</contact:email>
           <contact:authInfo>
             <contact:pw>password</contact:pw>
           </contact:authInfo>
*(11)       <contact:disclose flag="0">
             <contact:voice/>
             <contact:email/>
           </contact:disclose>
         </contact:create>
       </create>
       <clTRID>ABC-12345</clTRID>
     </command>
   </epp>

Interpretation of Constraints

(1) : The <contact:id> element must be a minimum of 3 characters long with a maximum of 16 characters.
(2) : The <contact:postalInfo type=”loc”> represents the Localised version of the contact information. Registrars can also replace the “loc” with “int” in order to represent the Internationalised version of information. All contact object can support both types of postal information.
(3) : The contact:name> element must be a minimum of 1 character long with a maximum of 255 characters.
(5) : The <contact:street> element must be a minimum of 8 characters long with a maximum of 255 characters.
(5) : The <contact:city> element must be a minimum of 2 characters long with a maximum of 255 characters.
(6) : The <contact:sp> element must be a minimum of 2 characters long with a maximum of 255 characters.
(7) : The <contact:pc> element must be a minimum of 1 character long with a maximum of 16 characters.
(8) : The <contact:cc> element must be a minumum and maximum of 2 characters long.
(9) : The <contact: voice> and <contact:fax> elements must be a minimum of 4 characters long with a maximum of 17 characters.
(10) : The <contact:email> element must be minimum of 1 character long and include the “@” symbol.
The complete regex for the e-mail element is: [A-Z0-9a-z._%-]+@[A-Z0-9a-z.\-]+
(11) : The <contact:disclose> element is not supported by the coza EPP system. Attempting to include the element results in result code 2306.

Contact Update Constraints

Command

   <?xml version="1.0" encoding="UTF-8" standalone="no"?>
   <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
     <command>
       <update>
         <contact:update
          xmlns:contact="urn:ietf:params:xml:ns:contact-1.0">
           <contact:id>testID</contact:id>
           <contact:add>
*(1)         <contact:status s="clientDeleteProhibited"/>
           </contact:add>
           <contact:rem>
*(2)         <contact:status s="clientUpdateProhibited"/>
           </contact:rem>
           <contact:chg>
             <contact:postalInfo type="loc">
               <contact:org/>
               <contact:addr>
                 <contact:street>10 Fake Street</contact:street>
                 <contact:street>Building Null</contact:street>
                 <contact:city>Fakeville</contact:city>
                 <contact:sp>Fake Province</contact:sp>
                 <contact:pc>90210</contact:pc>
                 <contact:cc>ZA</contact:cc>
               </contact:addr>
             </contact:postalInfo>
             <contact:voice>+27.113444444</contact:voice>
             <contact:fax/>
*(3)         <contact:authInfo>
               <contact:pw>password</contact:pw>
             </contact:authInfo>
*(4)         <contact:disclose flag="1">
               <contact:voice/>
               <contact:email/>
             </contact:disclose>
           </contact:chg>
         </contact:update>
       </update>
       <clTRID>ABC-12345</clTRID>
     </command>
   </epp>

Interpretation of Constraints

(1): The <contact:add>/<contact:status> elements are not supported by coza policy. Attempting to use them will return a result code of 2306.
(2) : The <contact:rem>/<contact:status> elements are not supported by coza policy. Attempting to use them will return a result code of 2306.
(3) : the <contact:authInfo> element is not supported by coza policy. This means that the password for a contact cannot be changed.
Attempting to use the element will return a result code of 2306.
(4) : The <contact:disclose> element is not supported by coza policy. This means that the amount of information returned cannot be changed.