# EPP integration specification for Estonian Internet Foundation ## Introduction Introduction text here ## Domain related functions ### Domain create ##### domain:create | Field name | Required | Attributes | Field description | | ----------------- |----------| -----|----------------- | | domain:name | true | | Domain name. Can contain unicode characters. | | domain:period | false | unit (y, m, d) | Registration period for domain. Must add up to 1 / 2 / 3 years. | | domain:ns | true | | Nameserver listing | | domain:registrant | true | | Contact reference to the registrant | | domain:contact | false | type (tech, admin) | Contact reference | | domain:contact | false | type (tech, admin) | Contact reference | ||||| ##### domain:ns | Field name | Required | Attributes | Field description | | ----------------- |----------| -----|----------------- | | domain:hostAttr | true | | | ##### domain:hostAttr | Field name | Required | Attributes | Field description | | ----------------- |----------| -----|----------------- | | domain:hostName | true | | Hostname of the nameserver | | domain:hostAddr | true if nameserver is under domain zone | ip (v4, v6) | | #### Extension ##### secDNS:create (not required) | Field name | Required | Attributes | Field description | | ----------------- |----------| -----|----------------- | | secDNS:keyData | true | | DNSSEC key data | ##### secDNS:keyData (required) | Field name | Required | Attributes | Field description | | ----------------- |----------| -----|----------------- | | secDNS:flags | true | | Allowed values: 0, 256, 257 | | secDNS:protocol | true | | Allowed values: 3 | | secDNS:alg | true | | Allowed values: 3, 5, 6, 7, 8, 252, 253, 254, 255 | | secDNS:pubKey | true | | Public key | ##### eis:extdata (required) | Field name | Required | Attributes | Field description | | ----------------- |----------| -----|----------------- | | eis:legalDocument | true | type (pdf) | Base64 encoded document |