Schema TDD.xsd


schema location:  D:\CDS\2002-12-02\XML_schema_specifikace_xml\TDD.xsd
targetNamespace:  http://cds.ote-cr.cz
 
Elements 
TDD 


schema location:  D:\CDS\2002-12-02\XML_schema_specifikace_xml\cds_globals.xsd
targetNamespace:  cds_globals.xsd
 
Simple types 
ean 
ean13 
ean13_18 
ean18 
msg-id 


element TDD
diagram
namespace http://cds.ote-cr.cz
children SenderIdentification ReceiverIdentification TddProfile
attributes
Name  Type  Use  Default  Fixed  Annotation
id  cds:msg-id  required      
message-code  xsd:string  required      
date-time  xsd:dateTime  required      
answer-required  xsd:boolean  required      
source
<xsd:element name="TDD">
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="SenderIdentification">
        <xsd:annotation>
          <xsd:documentation xml:lang="CS">Identifikace odesílatele zprávy</xsd:documentation>
        </xsd:annotation>
        <xsd:complexType>
          <xsd:attribute name="id" type="cds:ean13" use="required"/>
          <xsd:attribute name="coding-scheme" type="xsd:string" use="required" fixed="14"/>
        </xsd:complexType>
      </xsd:element>
      <xsd:element name="ReceiverIdentification">
        <xsd:annotation>
          <xsd:documentation xml:lang="CS">Identifikace příjemce zprávy</xsd:documentation>
        </xsd:annotation>
        <xsd:complexType>
          <xsd:attribute name="id" type="cds:ean13" use="required"/>
          <xsd:attribute name="coding-scheme" type="xsd:string" use="required" fixed="14"/>
        </xsd:complexType>
      </xsd:element>
      <xsd:element name="TddProfile" maxOccurs="unbounded">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="TddData" maxOccurs="unbounded">
              <xsd:complexType>
                <xsd:attribute name="date-time-from" type="xsd:dateTime" use="required"/>
                <xsd:attribute name="date-time-to" type="xsd:dateTime" use="required"/>
                <xsd:attribute name="qty" use="required">
                  <xsd:simpleType>
                    <xsd:restriction base="xsd:string">
                      <xsd:maxLength value="18"/>
                      <xsd:pattern value="-?\d+(\.\d+)?"/>
                    </xsd:restriction>
                  </xsd:simpleType>
                </xsd:attribute>
              </xsd:complexType>
            </xsd:element>
          </xsd:sequence>
          <xsd:attribute name="id" use="required">
            <xsd:simpleType>
              <xsd:restriction base="xsd:string">
                <xsd:maxLength value="18"/>
              </xsd:restriction>
            </xsd:simpleType>
          </xsd:attribute>
          <xsd:attribute name="temp-area" use="required">
            <xsd:simpleType>
              <xsd:restriction base="xsd:string">
                <xsd:maxLength value="3"/>
              </xsd:restriction>
            </xsd:simpleType>
          </xsd:attribute>
          <xsd:attribute name="tdd-class" use="required">
            <xsd:simpleType>
              <xsd:restriction base="xsd:string">
                <xsd:maxLength value="3"/>
              </xsd:restriction>
            </xsd:simpleType>
          </xsd:attribute>
        </xsd:complexType>
      </xsd:element>
    </xsd:sequence>
    <xsd:attribute name="id" type="cds:msg-id" use="required"/>
    <xsd:attribute name="message-code" type="xsd:string" use="required"/>
    <xsd:attribute name="date-time" type="xsd:dateTime" use="required"/>
    <xsd:attribute name="answer-required" type="xsd:boolean" use="required"/>
  </xsd:complexType>
</xsd:element>

element TDD/SenderIdentification
diagram
namespace http://cds.ote-cr.cz
attributes
Name  Type  Use  Default  Fixed  Annotation
id  cds:ean13  required      
coding-scheme  xsd:string  required    14  
annotation
documentation 
Identifikace odesílatele zprávy
source
<xsd:element name="SenderIdentification">
  <xsd:annotation>
    <xsd:documentation xml:lang="CS">Identifikace odesílatele zprávy</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:attribute name="id" type="cds:ean13" use="required"/>
    <xsd:attribute name="coding-scheme" type="xsd:string" use="required" fixed="14"/>
  </xsd:complexType>
</xsd:element>

element TDD/ReceiverIdentification
diagram
namespace http://cds.ote-cr.cz
attributes
Name  Type  Use  Default  Fixed  Annotation
id  cds:ean13  required      
coding-scheme  xsd:string  required    14  
annotation
documentation 
Identifikace příjemce zprávy
source
<xsd:element name="ReceiverIdentification">
  <xsd:annotation>
    <xsd:documentation xml:lang="CS">Identifikace příjemce zprávy</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:attribute name="id" type="cds:ean13" use="required"/>
    <xsd:attribute name="coding-scheme" type="xsd:string" use="required" fixed="14"/>
  </xsd:complexType>
</xsd:element>

element TDD/TddProfile
diagram
namespace http://cds.ote-cr.cz
children TddData
attributes
Name  Type  Use  Default  Fixed  Annotation
id  xsd:string  required      
temp-area  xsd:string  required      
tdd-class  xsd:string  required      
source
<xsd:element name="TddProfile" maxOccurs="unbounded">
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="TddData" maxOccurs="unbounded">
        <xsd:complexType>
          <xsd:attribute name="date-time-from" type="xsd:dateTime" use="required"/>
          <xsd:attribute name="date-time-to" type="xsd:dateTime" use="required"/>
          <xsd:attribute name="qty" use="required">
            <xsd:simpleType>
              <xsd:restriction base="xsd:string">
                <xsd:maxLength value="18"/>
                <xsd:pattern value="-?\d+(\.\d+)?"/>
              </xsd:restriction>
            </xsd:simpleType>
          </xsd:attribute>
        </xsd:complexType>
      </xsd:element>
    </xsd:sequence>
    <xsd:attribute name="id" use="required">
      <xsd:simpleType>
        <xsd:restriction base="xsd:string">
          <xsd:maxLength value="18"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:attribute>
    <xsd:attribute name="temp-area" use="required">
      <xsd:simpleType>
        <xsd:restriction base="xsd:string">
          <xsd:maxLength value="3"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:attribute>
    <xsd:attribute name="tdd-class" use="required">
      <xsd:simpleType>
        <xsd:restriction base="xsd:string">
          <xsd:maxLength value="3"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:attribute>
  </xsd:complexType>
</xsd:element>

element TDD/TddProfile/TddData
diagram
namespace http://cds.ote-cr.cz
attributes
Name  Type  Use  Default  Fixed  Annotation
date-time-from  xsd:dateTime  required      
date-time-to  xsd:dateTime  required      
qty  xsd:string  required      
source
<xsd:element name="TddData" maxOccurs="unbounded">
  <xsd:complexType>
    <xsd:attribute name="date-time-from" type="xsd:dateTime" use="required"/>
    <xsd:attribute name="date-time-to" type="xsd:dateTime" use="required"/>
    <xsd:attribute name="qty" use="required">
      <xsd:simpleType>
        <xsd:restriction base="xsd:string">
          <xsd:maxLength value="18"/>
          <xsd:pattern value="-?\d+(\.\d+)?"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:attribute>
  </xsd:complexType>
</xsd:element>

simpleType cds:ean
namespace cds_globals.xsd
type restriction of xsd:string
used by
simpleTypes cds:ean13 cds:ean18
facets
pattern \d+
source
<xsd:simpleType name="ean">
  <xsd:restriction base="xsd:string">
    <xsd:pattern value="\d+"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType cds:ean13
namespace cds_globals.xsd
type restriction of cds:ean
used by
attributes TDD/SenderIdentification/@id TDD/ReceiverIdentification/@id
facets
length 13
pattern \d+
source
<xsd:simpleType name="ean13">
  <xsd:restriction base="ean">
    <xsd:length value="13"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType cds:ean13_18
namespace cds_globals.xsd
type restriction of xsd:string
facets
pattern \d{13}(\d{5})?
source
<xsd:simpleType name="ean13_18">
  <xsd:restriction base="xsd:string">
    <xsd:pattern value="\d{13}(\d{5})?"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType cds:ean18
namespace cds_globals.xsd
type restriction of cds:ean
facets
length 18
pattern \d+
source
<xsd:simpleType name="ean18">
  <xsd:restriction base="ean">
    <xsd:length value="18"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType cds:msg-id
namespace cds_globals.xsd
type restriction of xsd:string
used by
attribute TDD/@id
facets
pattern \d{8}\d+
source
<xsd:simpleType name="msg-id">
  <xsd:restriction base="xsd:string">
    <xsd:pattern value="\d{8}\d+"/>
  </xsd:restriction>
</xsd:simpleType>


XML Schema documentation generated with
XMLSPY Schema Editor http://www.altova.com/xmlspy