diff --git a/app/models/legal_document.rb b/app/models/legal_document.rb index c1f9243e3..5126e75e7 100644 --- a/app/models/legal_document.rb +++ b/app/models/legal_document.rb @@ -6,7 +6,7 @@ class LegalDocument < ActiveRecord::Base if ENV['legal_document_types'].present? TYPES = ENV['legal_document_types'].split(',').map(&:strip) else - TYPES = %w(pdf bdoc ddoc zip rar gz tar 7z odt doc docx).freeze + TYPES = %w(pdf asice bdoc ddoc zip rar gz tar 7z odt doc docx).freeze end attr_accessor :body diff --git a/config/application-example.yml b/config/application-example.yml index e61293b4c..60ae87952 100644 --- a/config/application-example.yml +++ b/config/application-example.yml @@ -67,7 +67,7 @@ contact_org_enabled: 'false' # iptables_server_ip: '127.0.0.1' # Custom legal document types. Changing this requires updating EPP extension schema for allowed legalDocEnumType values. -# System default for legal document types is: pdf,bdoc,ddoc,zip,rar,gz,tar,7z,odt,doc,docx +# System default for legal document types is: pdf,asice,bdoc,ddoc,zip,rar,gz,tar,7z,odt,doc,docx # legal_document_types: "pdf,bdoc,ddoc,zip,rar,gz,tar,7z,odt,doc,docx" diff --git a/doc/epp/contact.md b/doc/epp/contact.md index b1f00aedf..1dcd9b6d2 100644 --- a/doc/epp/contact.md +++ b/doc/epp/contact.md @@ -8,7 +8,7 @@ More info at http://en.wikipedia.org/wiki/Extensible_Provisioning_Protocol Contact Mapping protocol short version: All values are limited to Unicode Latin characters if stricter limits are not specified. This includes unicode blocks -Basic Latin, Latin-1 Supplement, Latin Extended-A, Latin Extended-B, Latin Extended C, Latin Extended D, +Basic Latin, Latin-1 Supplement, Latin Extended-A, Latin Extended-B, Latin Extended C, Latin Extended D, Latin Extended Additional, Diacritics. More info: https://en.wikipedia.org/wiki/Latin_script_in_Unicode @@ -16,9 +16,9 @@ More info: https://en.wikipedia.org/wiki/Latin_script_in_Unicode Field name Min-max Field description ----------------------- ------- ----------------- - 1 + 1 1 Attribute: xmlns:contact="https://epp.tld.ee/schema/contact-ee-1.1.xsd" - 0-1 Contact id, optional, + 0-1 Contact id, optional, string: ASCII letters, numbers, ':', '-' characters, no spaces, max 100 characters, generated automatically if missing. @@ -34,7 +34,7 @@ More info: https://en.wikipedia.org/wiki/Latin_script_in_Unicode 1 Phone number in format \+ddd.d+ 0 Fax is not supported and must be blank or missing 1 E-mail - 1 + 1 1 Attribute: xmlns:eis="https://epp.tld.ee/schema/eis-1.0.xsd" 1 Identifier Attribute: "type" @@ -43,8 +43,8 @@ More info: https://en.wikipedia.org/wiki/Latin_script_in_Unicode "birthday" # Birthday date in format in YYYY-MM-DD Attribute: "cc" "EE" # Country code in ISO_3166-1 aplha 2 - 0-1 Base64 encoded document - Attribute: type="pdf/bdoc/ddoc/zip/rar/gz/tar/7z" + 0-1 Base64 encoded document + Attribute: type="pdf/asice/bdoc/ddoc/zip/rar/gz/tar/7z" 0-1 Client transaction id [EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-contact-with-valid-user-create-command-successfully-creates-a-contact) @@ -53,7 +53,7 @@ More info: https://en.wikipedia.org/wiki/Latin_script_in_Unicode Field name Min-max Field description ----------------------- ------- ----------------- - 1 + 1 1 Attribute: xmlns:contact="https://epp.tld.ee/schema/contact-ee-1.1.xsd" 1 Contact id, required 1 Change container @@ -71,7 +71,7 @@ More info: https://en.wikipedia.org/wiki/Latin_script_in_Unicode 0-1 E-mail 0-1 Required if registrar is not the owner of the contact. 1 Contact password. Attribute: roid="String" - 0-1 + 0-1 0-1 Attribute: xmlns:eis="https://epp.tld.ee/schema/eis-1.0.xsd" 0-1 Identifier Attribute: "type" @@ -80,8 +80,8 @@ More info: https://en.wikipedia.org/wiki/Latin_script_in_Unicode "birthday" # Birthday date in format in YYYY-MM-DD Attribute: "cc" "EE" # Country code in ISO_3166-1 aplha 2 - 0-1 Base64 encoded document. - Attribute: type="pdf/bdoc/ddoc/zip/rar/gz/tar/7z" + 0-1 Base64 encoded document. + Attribute: type="pdf/asice/bdoc/ddoc/zip/rar/gz/tar/7z" 0-1 Client transaction id @@ -91,15 +91,15 @@ More info: https://en.wikipedia.org/wiki/Latin_script_in_Unicode Field name Min-max Field description ----------------------- ------- ----------------- - 1 + 1 1 Attribute: xmlns:contact="https://epp.tld.ee/schema/contact-ee-1.1.xsd" 1 Contact id 0-1 Required if registrar is not the owner of the contact. 1 Contact password. Attribute: roid="String" - 0-1 + 0-1 0-1 Attribute: xmlns:eis="https://epp.tld.ee/schema/eis-1.0.xsd" - 0-1 Base64 encoded document. - Attribute: type="pdf/bdoc/ddoc/zip/rar/gz/tar/7z" + 0-1 Base64 encoded document. + Attribute: type="pdf/asice/bdoc/ddoc/zip/rar/gz/tar/7z" 0-1 Client transaction id [EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-contact-with-valid-user-delete-command-deletes-contact) @@ -109,9 +109,9 @@ More info: https://en.wikipedia.org/wiki/Latin_script_in_Unicode Field name Min-max Field description ----------------------- ------- ----------------- - 1 + 1 1 Attribute: xmlns:contact="https://epp.tld.ee/schema/contact-ee-1.1.xsd" - 1-n Contact id + 1-n Contact id 0-1 Client transaction id [EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-contact-with-valid-user-check-command-returns-info-about-contact-availability) @@ -121,9 +121,9 @@ More info: https://en.wikipedia.org/wiki/Latin_script_in_Unicode Field name Min-max Field description ----------------------- ------- ----------------- - 1 + 1 1 Attribute: xmlns:contact="https://epp.tld.ee/schema/contact-ee-1.1.xsd" - 1-n Contact id + 1-n Contact id 0-1 Required if registrar is not the owner of the contact. 1 Contact password. Attribute: roid="String" 0-1 Client transaction id diff --git a/doc/epp/domain.md b/doc/epp/domain.md index 0933efe4b..fa74b004c 100644 --- a/doc/epp/domain.md +++ b/doc/epp/domain.md @@ -12,15 +12,15 @@ Domain name mapping protocol short version: Field name Min-max Field description ------------------------- ------- ----------------- - 1 + 1 1 Attribute: xmlns:domain="https://epp.tld.ee/schema/domain-eis-1.0.xsd" 1 Domain name. Can contain unicode characters. - 0-1 Registration period for domain. + 0-1 Registration period for domain. Must add up to 3m, 6m, 9m, 1y, 2y, 3y, 4y, 5y, 6y, 7y, 8y, 9y, 10y. Attribute: unit="y/m/d" Default is 1 year. - 0-1 - 2-11 + 0-1 + 2-11 1 Hostname of the nameserver 0-2 Required if nameserver hostname is under the same domain. Attribute ip="v4 / v6" @@ -30,16 +30,16 @@ Domain name mapping protocol short version: 0-1 1 Transfer code. Attribute: roid="String" - 1 + 1 0-1 Attribute: xmlns:secDNS="urn:ietf:params:xml:ns:secDNS-1.1" - 1-n + 1-n 1 Allowed values: 0, 256, 257 1 Allowed values: 3 1 Allowed values: 3, 5, 6, 7, 8, 10, 13, 14 1 Public key 1 Attribute: xmlns:eis="https://epp.tld.ee/schema/eis-1.0.xsd" - 1 Base64 encoded document. - Attribute: type="pdf/bdoc/ddoc/zip/rar/gz/tar/7z" + 1 Base64 encoded document. + Attribute: type="pdf/asice/bdoc/ddoc/zip/rar/gz/tar/7z" 0-1 0-1 Required if registering a reserved domain 0-1 Client transaction id @@ -50,27 +50,27 @@ Domain name mapping protocol short version: Field name Min-max Field description ------------------------ -------- ----------------- - 1 + 1 1 Attribute: xmlns:domain="https://epp.tld.ee/schema/domain-eis-1.0.xsd" 1 Domain name. Can contain unicode characters. 0-1 Objects to add 0-n Contact reference. Attribute: type="admin / tech" - 0-n Status description. - Attribute: s="clientDeleteProhibited / clientHold / - clientRenewProhibited / clientTransferProhibited / + 0-n Status description. + Attribute: s="clientDeleteProhibited / clientHold / + clientRenewProhibited / clientTransferProhibited / clientUpdateProhibited" - 0-1 - 1 + 0-1 + 1 1 Hostname of the nameserver 0-2 Required if nameserver hostname is under the same domain. Attribute ip="v4 / v6" 0-1 Objects to remove 0-n Contact reference. Attribute: type="admin / tech" - 0-n Attribute: s="clientDeleteProhibited / clientHold / - clientRenewProhibited / clientTransferProhibited / + 0-n Attribute: s="clientDeleteProhibited / clientHold / + clientRenewProhibited / clientTransferProhibited / clientUpdateProhibited" - 0-1 - 1 + 0-1 + 1 1 Hostname of the nameserver 0-1 Attributes to change 0-1 Contact reference to the registrant @@ -80,18 +80,18 @@ Domain name mapping protocol short version: 0-1 Required if registrant is changing 0-1 Attribute: xmlns:secDNS="urn:ietf:params:xml:ns:secDNS-1.1" - 0-1 - 1-n + 0-1 + 1-n 1 Public key - 0-1 - 1-n + 0-1 + 1-n 1 Allowed values: 0, 256, 257 1 Allowed values: 3 1 Allowed values: 3, 5, 6, 7, 8, 10, 13, 14 1 Public key 0-1 Attribute: xmlns:eis="https://epp.tld.ee/schema/eis-1.0.xsd" - 0-1 Base64 encoded document. Required if registrant is changing. - Attribute: type="pdf/bdoc/ddoc/zip/rar/gz/tar/7z" + 0-1 Base64 encoded document. Required if registrant is changing. + Attribute: type="pdf/asice/bdoc/ddoc/zip/rar/gz/tar/7z" 0-1 Client transaction id [EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-domain-with-valid-domain-updates-domain-and-adds-objects) @@ -100,14 +100,14 @@ Domain name mapping protocol short version: Field name Min-max Field description ----------------------- ------- ----------------- - 1 + 1 1 Attribute: xmlns:domain="https://epp.tld.ee/schema/domain-eis-1.0.xsd" Optional attribute: verified="yes/no" 1 Domain name. Can contain unicode characters. - 1 + 1 1 Attribute: xmlns:eis="https://epp.tld.ee/schema/eis-1.0.xsd" - 1 Base64 encoded document. - Attribute: type="pdf/bdoc/ddoc/zip/rar/gz/tar/7z" + 1 Base64 encoded document. + Attribute: type="pdf/asice/bdoc/ddoc/zip/rar/gz/tar/7z" 0-1 Client transaction id [EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-domain-with-valid-domain-deletes-domain) @@ -116,9 +116,9 @@ Domain name mapping protocol short version: Field name Min-max Field description ----------------------- ------- ----------------- - 1 + 1 1 Attribute: xmlns:domain="https://epp.tld.ee/schema/domain-eis-1.0.xsd" - 1 Domain name. Can contain unicode characters. + 1 Domain name. Can contain unicode characters. Attribute: hosts="all / del / sub / none" 0-1 Required if registrar is not the owner of the domain. 1 Domain transfer code. Attribute: roid="String" @@ -130,18 +130,18 @@ Domain name mapping protocol short version: Field name Min-max Field description ----------------------- ------- ----------------- - 1 + 1 1 Attribute: xmlns:domain="https://epp.tld.ee/schema/domain-eis-1.0.xsd" - 1 Domain name. Can contain unicode characters. + 1 Domain name. Can contain unicode characters. 1 Current expiry date (ISO8601 format) - 0-1 Registration period for domain. + 0-1 Registration period for domain. Must add up to 3m, 6m, 9m, 1y, 2y, 3y, 4y, 5y, 6y, 7y, 8y, 9y, 10y. Attribute: unit="y/m/d" Default value is 1 year. - 0-1 + 0-1 0-1 Attribute: xmlns:eis="https://epp.tld.ee/schema/eis-1.0.xsd" - 0-1 Base64 encoded document. - Attribute: type="pdf/bdoc/ddoc/zip/rar/gz/tar/7z" + 0-1 Base64 encoded document. + Attribute: type="pdf/asice/bdoc/ddoc/zip/rar/gz/tar/7z" 0-1 Client transaction id [EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-domain-with-valid-domain-renews-a-domain) @@ -152,13 +152,13 @@ Domain name mapping protocol short version: ----------------------- ------- ----------------- 1 Attribute: op="request/query/approve/reject/cancel" 1 Attribute: xmlns:domain="https://epp.tld.ee/schema/domain-eis-1.0.xsd" - 1 Domain name. Can contain unicode characters. - 1 + 1 Domain name. Can contain unicode characters. + 1 1 Domain transfer code. Attribute: roid="String" - 0-1 + 0-1 0-1 Attribute: xmlns:eis="https://epp.tld.ee/schema/eis-1.0.xsd" - 0-1 Base64 encoded document. - Attribute: type="pdf/bdoc/ddoc/zip/rar/gz/tar/7z" + 0-1 Base64 encoded document. + Attribute: type="pdf/asice/bdoc/ddoc/zip/rar/gz/tar/7z" 0-1 Client transaction id [EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-domain-with-valid-domain-transfers-a-domain) @@ -167,9 +167,9 @@ Domain name mapping protocol short version: Field name Min-max Field description ----------------------- ------- ----------------- - 1 + 1 1 Attribute: xmlns:domain="https://epp.tld.ee/schema/domain-eis-1.0.xsd" - 1 Domain name. Can contain unicode characters. + 1 Domain name. Can contain unicode characters. 0-1 Client transaction id [EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-domain-with-valid-domain-checks-a-domain) diff --git a/lib/schemas/eis-1.0.xsd b/lib/schemas/eis-1.0.xsd index 0b2ad8f89..efc9b466f 100644 --- a/lib/schemas/eis-1.0.xsd +++ b/lib/schemas/eis-1.0.xsd @@ -63,6 +63,7 @@ +