Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pkg/command_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}

Expand Down
1 change: 0 additions & 1 deletion pkg/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 3 additions & 2 deletions pkg/templates/domain_create.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
<domain:registrant>{{.Registrant}}</domain:registrant>
</domain:create>
</create>
{{- if or .DsData .RegistryLock}}
<extension>
{{- if or .DsData .RegistryLock .EIDVerified}}
<extension xmlns:iis="urn:se:iis:xml:epp:iis-1.2" xsi:schemaLocation="urn:se:iis:xml:epp:iis-1.2 iis-1.2.xsd">
{{- if .DsData}}
<secDNS:create xmlns:secDNS="urn:ietf:params:xml:ns:secDNS-1.1" xsi:schemaLocation="urn:ietf:params:xml:ns:secDNS-1.1 secDNS-1.1.xsd">
{{- range $d := .DsData}}
Expand All @@ -50,6 +50,7 @@
<rl:unlock>{{.RegistryLock}}</rl:unlock>
</rl:lock>
{{- end}}
<iis:eid verified="{{BoolToInt .EIDVerified}}"/>
</extension>
{{- end}}
{{- if .ClTrID}}
Expand Down
6 changes: 6 additions & 0 deletions pkg/validation/xsd/iis-1.2.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ $LastChangedBy: Ulrich Wisser $
</xs:sequence>
</xs:complexType>

<xs:element name="eid">
<xs:complexType>
<xs:attribute name="verified" type="xs:boolean" use="required"/>
</xs:complexType>
</xs:element>

<!-- **************************************************************** -->
<!-- extension to update -->
<!-- -->
Expand Down