ESdat xml file schema definition

ESdat.xsd schema definition reference document

All electronic ESdat files are included on this schema definition. When creating or receiving an xml file in the esdat format the first element will alway be 'ESdat'.

XML Schema Documentation

Table of Contents

top

Schema Document Properties

Target Namespace http://www.escis.com.au/2013/XML
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations belong to this schema's target namespace.
  • By default, local attribute declarations have no namespace.
Schema Composition
  • This schema imports schema(s) from the following namespace(s):
    • http://www.escis.com.au/2013/XML/Quote
    • http://www.escis.com.au/2013/XML/CoC
    • http://www.escis.com.au/2013/XML/SRN
    • http://www.escis.com.au/2013/XML/LabReport
Documentation The ESdat xsd file (schema definition) acts as the parent (root) and main container for all the other file definitions: eQuote eCoC eSRN eLabReport

Declared Namespaces

Prefix Namespace
xml http://www.w3.org/XML/1998/namespace
xsi http://www.w3.org/2001/XMLSchema-instance
xs http://www.w3.org/2001/XMLSchema
Schema Component Representation
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.escis.com.au/2013/XML">
<xs:import namespace="http://www.escis.com.au/2013/XML/Quote"/>
<xs:import namespace="http://www.escis.com.au/2013/XML/CoC"/>
<xs:import namespace="http://www.escis.com.au/2013/XML/SRN"/>
<xs:import namespace="http://www.escis.com.au/2013/XML/LabReport"/>
...
</xs:schema>
top

Global Declarations

Element: ESdat

Name ESdat
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Root element of all esdat 'e' files. Identifies the xml file as being an electronic esdat file.
XML Instance Representation
<ESdat
generated="xs:dateTime [1] ?"
fileType="xs:string [1] ?"
schemaVersion="xs:string [1] ?">
<eQuotes> quote:eQuotes </eQuotes> [0..1] ?
<eCoC> coc:eCoC </eCoC> [0..1] ?
<eSRN> srn:eSRN </eSRN> [0..1] ?
<LabReport> labreport:LabReport </LabReport> [0..1] ?
</ESdat>
Schema Component Representation
<xs:element name="ESdat">
<xs:complexType>
<xs:sequence>
<xs:element name="eQuotes" type="quote:eQuotes" minOccurs="0"/>
<xs:element name="eCoC" type="coc:eCoC" minOccurs="0"/>
<xs:element name="eSRN" type="srn:eSRN" minOccurs="0"/>
<xs:element name="LabReport" type="labreport:LabReport" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="generated" type="xs:dateTime" use="required"/>
<xs:attribute name="fileType" type="xs:string" use="required"/>
<xs:attribute name="schemaVersion" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
top