1<?xml version="1.0" encoding="UTF-8"?>
2<schema xmlns="http://www.w3.org/2001/XMLSchema"
3 xmlns:is-ext-host="urn:is.isnic:xml:ns:is-ext-host-1.0"
4 xmlns:eppcom="urn:ietf:params:xml:ns:eppcom-1.0"
5 targetNamespace="urn:is.isnic:xml:ns:is-ext-host-1.0"
6 elementFormDefault="qualified">
7
8 <annotation><documentation>.is host extension</documentation></annotation>
9
10 <import namespace="urn:ietf:params:xml:ns:eppcom-1.0" schemaLocation="eppcom-1.0.xsd"/>
11
12 <element name="create" type="is-ext-host:createType"/>
13 <element name="update" type="is-ext-host:updateType"/>
14
15 <complexType name="contactType">
16 <annotation><documentation>Only the admin contact is returned here</documentation></annotation>
17 <simpleContent>
18 <extension base="eppcom:clIDType">
19 <attribute name="type" type="is-ext-host:contactAttrType"/>
20 </extension>
21 </simpleContent>
22 </complexType>
23
24 <simpleType name="contactAttrType">
25 <restriction base="token">
26 <enumeration value="admin"><annotation><documentation>Admin contact on host becomes the Zone contact on domains for the first host defined on a domain.</documentation></annotation></enumeration>
27 </restriction>
28 </simpleType>
29
30 <complexType name="createType">
31 <sequence>
32 <element name="contact" type="is-ext-host:contactType" minOccurs="0" maxOccurs="unbounded"><annotation><documentation>If nothing set the logged in user will be set to admin contact</documentation></annotation></element>
33 </sequence>
34 </complexType>
35
36 <complexType name="updateType">
37 <sequence>
38 <element name="contact" type="is-ext-host:contactType" minOccurs="0" maxOccurs="unbounded"><annotation><documentation>Since there is no host transfer, and there is no domain->host subordinate connection all host object haf admin contacts</documentation></annotation></element> </sequence>
39 </complexType>
40
41</schema>