1<?xml version="1.0" encoding="UTF-8"?>
   2<schema xmlns="http://www.w3.org/2001/XMLSchema"
   3        xmlns:is-ext-list="urn:is.isnic:xml:ns:is-ext-list-1.0"
   4        xmlns:eppcom="urn:ietf:params:xml:ns:eppcom-1.0"
   5        targetNamespace="urn:is.isnic:xml:ns:is-ext-list-1.0"
   6        elementFormDefault="qualified">
   7
   8    <annotation><documentation>.is list extension</documentation></annotation>
   9
  10
  11    <import namespace="urn:ietf:params:xml:ns:eppcom-1.0" schemaLocation="eppcom-1.0.xsd"/>
  12
  13    <element name="info" type="is-ext-list:infoType"/>
  14
  15    <complexType name="infoType">
  16        <sequence>
  17            <element name="listName" type="is-ext-list:listNameType"/>
  18        </sequence>
  19    </complexType>
  20
  21    <simpleType name="listNameType">
  22        <restriction base="token">
  23            <enumeration value="my"/>
  24        </restriction>
  25    </simpleType>
  26
  27    <element name="infData" type="is-ext-list:infDataType"/>
  28
  29    <complexType name="infDataType">
  30        <sequence>
  31            <element name="myList" type="is-ext-list:myListDomain"
  32                     minOccurs="0" maxOccurs="unbounded"/>
  33        </sequence>
  34    </complexType>
  35
  36    <complexType name="myListDomain">
  37        <annotation><documentation>
  38            Lists domains associated with logged in user in any way.
  39            Logged in user is either registrant, admin-, tech-, billing- or zone contact for domain.
  40            Used to get list of domains that are ratelimit safe when calling other functions.
  41        </documentation></annotation>
  42        <sequence>
  43            <element name="name" type="eppcom:labelType" minOccurs="1" maxOccurs="1"/>
  44            <element name="status" type="is-ext-list:statusType"
  45                     minOccurs="1" maxOccurs="1"/>
  46            <element name="registrant" type="eppcom:clIDType"
  47                     minOccurs="1" maxOccurs="1"/>
  48            <element name="admin" type="eppcom:clIDType"
  49                     minOccurs="1" maxOccurs="1"/>
  50            <element name="billing" type="eppcom:clIDType"
  51                     minOccurs="1" maxOccurs="1"/>
  52            <element name="tech" type="eppcom:clIDType"
  53                     minOccurs="1" maxOccurs="1"/>
  54        </sequence>
  55    </complexType>
  56
  57    <complexType name="statusType">
  58        <simpleContent>
  59            <extension base="normalizedString">
  60                <attribute name="s" type="is-ext-list:statusValueType"
  61                           use="required"/>
  62                <attribute name="lang" type="language"
  63                           default="en"/>
  64            </extension>
  65        </simpleContent>
  66    </complexType>
  67
  68    <simpleType name="statusValueType">
  69        <restriction base="token">
  70           <enumeration value="ok"><annotation><documentation>No other status set, domain is delegated</documentation></annotation></enumeration>
  71           <enumeration value="hold"><annotation><documentation>Payment missing, technical erros, registration information insufficient or clientHold (isp initiated)</documentation></annotation></enumeration>
  72        </restriction>
  73    </simpleType>
  74</schema>