diff --git a/pkg/command_data.go b/pkg/command_data.go index 4931668..dbbeaad 100644 --- a/pkg/command_data.go +++ b/pkg/command_data.go @@ -65,6 +65,7 @@ type DomainCreate struct { Registrant string `xml:"registrant"` DsData []*DsData `xml:"dsData"` RegistryLock string `xml:"unlock"` + EIDVerified bool `xml:"eid"` ClTrID string `xml:"clTrID"` } diff --git a/pkg/config.go b/pkg/config.go index ad53994..944d10a 100644 --- a/pkg/config.go +++ b/pkg/config.go @@ -207,7 +207,6 @@ var CommandConfig = []*Command{ "urn:ietf:params:xml:ns:domain-1.0", }, ExtensionNamespaces: []string{ - "urn:ietf:params:xml:ns:secDNS-1.0", "urn:ietf:params:xml:ns:secDNS-1.1", "urn:se:iis:xml:epp:iis-1.2", "urn:se:iis:xml:epp:registryLock-1.0", diff --git a/pkg/templates/domain_create.xml b/pkg/templates/domain_create.xml index c139f97..21e7047 100644 --- a/pkg/templates/domain_create.xml +++ b/pkg/templates/domain_create.xml @@ -31,8 +31,8 @@ {{.Registrant}} - {{- if or .DsData .RegistryLock}} - + {{- if or .DsData .RegistryLock .EIDVerified}} + {{- if .DsData}} {{- range $d := .DsData}} @@ -50,6 +50,7 @@ {{.RegistryLock}} {{- end}} + {{- end}} {{- if .ClTrID}} diff --git a/pkg/validation/xsd/iis-1.2.xsd b/pkg/validation/xsd/iis-1.2.xsd index e146f58..56f2bb9 100644 --- a/pkg/validation/xsd/iis-1.2.xsd +++ b/pkg/validation/xsd/iis-1.2.xsd @@ -46,6 +46,12 @@ $LastChangedBy: Ulrich Wisser $ + + + + + +