Created
May 5, 2012 15:42
-
-
Save kubicek/2603446 to your computer and use it in GitHub Desktop.
ISDOC extension for invoicing domain names
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://czreg.cz/isdoc/namespace/domain-1.0" xmlns="http://czreg.cz/isdoc/namespace/domain-1.0" elementFormDefault="qualified" version="1.0"> | |
<xs:annotation> | |
<xs:documentation> | |
ISDOC extension for domain names invoicing. | |
Sample usage (billing two domains in one invoice line): | |
<Extensions> | |
<Domains xmlns="http://czreg.cz/isdoc/namespace/domain-1.0"> | |
<Domain> | |
<Name>pokus.cz</Name> | |
<Since>2011-08-22</Since> | |
<Till>2012-08-21</Till> | |
</Domain> | |
<Domain> | |
<Name>pokus.sk</Name> | |
<Since>2011-08-20</Since> | |
<Till>2012-08-20</Till> | |
</Domain> | |
</Domains> | |
</Extensions> | |
</xs:documentation> | |
</xs:annotation> | |
<xs:element name="Domains"> | |
<xs:annotation> | |
<xs:documentation xml:lang="cs">Kolekce záznamů o doménách</xs:documentation> | |
<xs:documentation xml:lang="en">Domains collection</xs:documentation> | |
</xs:annotation> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element name="Domain" type="DomainType"/> | |
</xs:sequence> | |
</xs:complexType> | |
</xs:element> | |
<xs:complexType name="DomainType"> | |
<xs:sequence> | |
<xs:element name="Name" minOccurs="1" maxOccurs="1" type="NameType"/> | |
<xs:element name="Since" minOccurs="0" maxOccurs="1" type="SinceType"/> | |
<xs:element name="Till" minOccurs="0" maxOccurs="1" type="TillType"/> | |
</xs:sequence> | |
</xs:complexType> | |
<xs:simpleType name="NameType"> | |
<xs:annotation> | |
<xs:documentation xml:lang="cs">Jméno domény</xs:documentation> | |
<xs:documentation xml:lang="en">Domain name</xs:documentation> | |
</xs:annotation> | |
<xs:restriction base="xs:string"/> | |
</xs:simpleType> | |
<xs:simpleType name="SinceType"> | |
<xs:annotation> | |
<xs:documentation xml:lang="cs">Datum začátku poskytování služby</xs:documentation> | |
<xs:documentation xml:lang="en">Date the billed service is provided since</xs:documentation> | |
</xs:annotation> | |
<xs:restriction base="xs:date"/> | |
</xs:simpleType> | |
<xs:simpleType name="TillType"> | |
<xs:annotation> | |
<xs:documentation xml:lang="cs">Datum konce poskytování služby</xs:documentation> | |
<xs:documentation xml:lang="en">Date the billed service is provided till</xs:documentation> | |
</xs:annotation> | |
<xs:restriction base="xs:date"/> | |
</xs:simpleType> | |
</xs:schema> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment