-
Notifications
You must be signed in to change notification settings - Fork 4
/
dkhm-1.2.xsd
86 lines (74 loc) · 2.68 KB
/
dkhm-1.2.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<?xml version="1.0" encoding="utf-8"?>
<schema targetNamespace="urn:dkhm:params:xml:ns:dkhm-1.2"
xmlns:dkhm="urn:dkhm:params:xml:ns:dkhm-1.2"
xmlns:eppcom="urn:ietf:params:xml:ns:eppcom-1.0"
xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<!--
Import common element types.
-->
<import namespace="urn:ietf:params:xml:ns:eppcom-1.0" schemaLocation="eppcom-1.0.xsd"/>
<import namespace="urn:dkhm:params:xml:ns:dkhm-1.1" schemaLocation="dkhm-1.1.xsd"/>
<annotation>
<documentation>Extensible Provisioning Protocol v1.0 provisioning schema. DKHM extension v1.2</documentation>
</annotation>
<!--
Child elements found in EPP commands.
-->
<element name="userType" type="dkhm:userType" />
<element name="EAN" type="dkhm:EAN" />
<element name="CVR" type="dkhm:CVR" />
<element name="contact" type="dkhm:contact" />
<element name="trackingNo" type="dkhm:trackingNo" />
<element name="domainAdvisory" type="dkhm:domainAdvisory" />
<element name="orderconfirmationToken" type="dkhm:orderconfirmationToken" />
<!--
Utility types.
-->
<!-- custom: host contact -->
<simpleType name="contact">
<restriction base="eppcom:clIDType" />
</simpleType>
<!-- custom: trackingNo -->
<simpleType name="trackingNo">
<restriction base="token" />
</simpleType>
<!-- custom: domainAdvisory -->
<complexType name="domainAdvisory">
<attribute name="domain" type="token"/>
<attribute name="advisory" type="token"/>
</complexType>
<!-- custom: Usertype enumeration -->
<simpleType name="userType">
<restriction base="token">
<enumeration value="C" />
<enumeration value="P" />
<enumeration value="A" />
<enumeration value="I" />
<enumeration value="company" />
<enumeration value="public_organization" />
<!-- <enumeration value="public_organisation" /> -->
<enumeration value="association" />
<enumeration value="individual" />
</restriction>
</simpleType>
<!-- custom: CVR -->
<simpleType name="CVR">
<restriction base="token">
<maxLength value="50" />
</restriction>
</simpleType>
<!-- custom: EAN -->
<simpleType name="EAN">
<restriction base="token">
<maxLength value="30" />
<!-- 13 according to international std? -->
</restriction>
</simpleType>
<!-- custom: trackingNo -->
<simpleType name="orderconfirmationToken">
<restriction base="token" />
</simpleType>
<!--
End of schema.
-->
</schema>