eQuote file schema definition

XML Schema Documentation

Table of Contents

top

Schema Document Properties

Target Namespace http://www.escis.com.au/2013/XML/Quote
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 (at ESdatFileType.xsd)
Documentation eQuotes (electronic quotes) are an electronic representation of the quotes laboratories send to their clients (e.g. ‘book price’ or project specific). These are xml files with a fixed schema (as the eCoC and eSRN). The eQuote contains all details regarding the analyses a lab is able to provide for a given client. The information also includes pricing, containers, holding times, etc. The analyses are organized by Analyses Groups -> Analyses Suites -> Methods -> Analytes to allow the labs to offers different kinds of ‘packages’ to the client. An additional feature is the ability for the lab to define if a client can sub select analyses at a lower level or not. (i.e. a lab might offer Analyses Suite ‘AS1’ with method ‘Mx’ that consists of analytes ‘A1, A2 and A3’ – the lab can define whether the client can or cannot select analyte A1 for a given sample. The lab can also define expiry dates on the eQuotes if desired. Laboratories can send their eQuotes to the client’s LSPECS defined email address and the system will import them automatically, making them available for the users to select when defining their eCoCs (Lab Submissions).

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
local http://www.escis.com.au/2013/XML/Quote
Schema Component Representation
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.escis.com.au/2013/XML/Quote">
<xs:import namespace="http://www.escis.com.au/2013/XML" schemaLocation="ESdatFileType.xsd"/>
...
</xs:schema>
top

Global Definitions

Complex Type: Analysis_Group

Super-types: None
Sub-types: None
Name Analysis_Group
Abstract no
Documentation First level of the hierarchy in terms of analysis organisation. One analysis group can contain one or many suites.
XML Instance Representation
<...
Name="xs:string [1] ?"
Description="xs:string [0..1] ?">
<local:Suites> local:Suites </local:Suites> [1] ?
</...>
Schema Component Representation
<xs:complexType name="Analysis_Group">
<xs:sequence>
<xs:element name="Suites" type="local:Suites"/>
</xs:sequence>
<xs:attribute name="Name" type="xs:string" use="required"/>
<xs:attribute name="Description" type="xs:string" use="optional"/>
</xs:complexType>
top

Complex Type: Analysis_Groups

Super-types: None
Sub-types: None
Name Analysis_Groups
Abstract no
Documentation Collection of Analysis Groups.
XML Instance Representation
<...>
<local:Analysis_Group> local:Analysis_Group </local:Analysis_Group> [0..*]
</...>
Schema Component Representation
<xs:complexType name="Analysis_Groups">
<xs:sequence>
<xs:element name="Analysis_Group" type="local:Analysis_Group" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: Analyte

Super-types: None
Sub-types: None
Name Analyte
Abstract no
XML Instance Representation
<...
Name="xs:string [1] ?"
ESdat_Code="local:stringTwenty [1] ?"
Detection_Limit="xs:decimal [0..1] ?"
Quatitiation_Limit="xs:decimal [0..1] ?"
Quantitiation_Limit="xs:decimal [0..1] ?"
Units="xs:string [0..1] ?"/>
Schema Component Representation
<xs:complexType name="Analyte">
<xs:attribute name="Name" type="xs:string" use="required"/>
<xs:attribute name="ESdat_Code" type="local:stringTwenty" use="required"/>
<xs:attribute name="Detection_Limit" type="xs:decimal" use="optional"/>
<xs:attribute name="Quatitiation_Limit" type="xs:decimal" use="optional"/>
<xs:attribute name="Quantitiation_Limit" type="xs:decimal" use="optional"/>
<xs:attribute name="Units" type="xs:string" use="optional"/>
</xs:complexType>
top

Complex Type: Analytes

Super-types: None
Sub-types: None
Name Analytes
Abstract no
Documentation Collection of Analytes.
XML Instance Representation
<...>
<local:Analyte> local:Analyte </local:Analyte> [0..*]
</...>
Schema Component Representation
<xs:complexType name="Analytes">
<xs:sequence>
<xs:element name="Analyte" type="local:Analyte" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: Container

Super-types: None
Sub-types: None
Name Container
Abstract no
XML Instance Representation
<...
Type="xs:string [1] ?"
Lab_Ref="xs:string [1] ?"
Preservative="xs:string [0..1] ?"
Volume="xs:string [0..1] ?"
Volume_Units="xs:string [0..1] ?"
Filtered="xs:boolean [0..1] ?"
Colour="xs:string [0..1] ?"
Holding_Time="xs:decimal [0..1] ?"
Holding_Time_Units="xs:string [0..1] ?"/>
Schema Component Representation
<xs:complexType name="Container">
<xs:attribute name="Type" type="xs:string" use="required"/>
<xs:attribute name="Lab_Ref" type="xs:string" use="required"/>
<xs:attribute name="Preservative" type="xs:string" use="optional"/>
<xs:attribute name="Volume" type="xs:string" use="optional"/>
<xs:attribute name="Volume_Units" type="xs:string" use="optional"/>
<xs:attribute name="Filtered" type="xs:boolean" use="optional"/>
<xs:attribute name="Colour" type="xs:string" use="optional"/>
<xs:attribute name="Holding_Time" type="xs:decimal" use="optional"/>
<xs:attribute name="Holding_Time_Units" type="xs:string" use="optional"/>
</xs:complexType>
top

Complex Type: Containers

Super-types: None
Sub-types: None
Name Containers
Abstract no
XML Instance Representation
<...>
<local:Container> local:Container </local:Container> [0..*]
</...>
Schema Component Representation
<xs:complexType name="Containers">
<xs:sequence>
<xs:element name="Container" type="local:Container" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: eQuote

Super-types: None
Sub-types: None
Name eQuote
Abstract no
XML Instance Representation
<...
Quote_Name="xs:string [1] ?"
Quote_Number="xs:string [1] ?"
Lab_Contact_Name="xs:string [1] ?"
Lab_Ref="xs:string [1] ?"
Lab_Office="xs:string [1] ?"
Turnaround_Time="xs:decimal [0..1] ?"
Turnaround_Units="xs:string [0..1] ?"
Currency="xs:string [1] ?"
Create_Date="xs:dateTime [1] ?"
Expiry_Date="xs:dateTime [1] ?"
Blanket_Quote="xs:boolean [1] ?">
<local:Analysis_Groups> local:Analysis_Groups </local:Analysis_Groups> [1]
</...>
Schema Component Representation
<xs:complexType name="eQuote">
<xs:sequence>
<xs:element name="Analysis_Groups" type="local:Analysis_Groups"/>
</xs:sequence>
<xs:attribute name="Quote_Name" type="xs:string" use="required"/>
<xs:attribute name="Quote_Number" type="xs:string" use="required"/>
<xs:attribute name="Lab_Contact_Name" type="xs:string" use="required"/>
<xs:attribute name="Lab_Ref" type="xs:string" use="required"/>
<xs:attribute name="Lab_Office" type="xs:string" use="required"/>
<xs:attribute name="Turnaround_Time" type="xs:decimal" use="optional"/>
<xs:attribute name="Turnaround_Units" type="xs:string" use="optional"/>
<xs:attribute name="Currency" type="xs:string" use="required"/>
<xs:attribute name="Create_Date" type="xs:dateTime" use="required"/>
<xs:attribute name="Expiry_Date" type="xs:dateTime" use="required"/>
<xs:attribute name="Blanket_Quote" type="xs:boolean" use="required"/>
</xs:complexType>
top

Complex Type: eQuotes

Super-types: None
Sub-types: None
Name eQuotes
Abstract no
XML Instance Representation
<...
Lab_Name="xs:string [1] ?"
Report_Name="xs:string [0..1] ?"
Client_Ref="xs:string [0..1] ?"
Client_Name="xs:string [0..1] ?">
<local:eQuote> local:eQuote </local:eQuote> [0..*]
</...>
Schema Component Representation
<xs:complexType name="eQuotes">
<xs:sequence>
<xs:element name="eQuote" type="local:eQuote" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="Lab_Name" type="xs:string" use="required"/>
<xs:attribute name="Report_Name" type="xs:string" use="optional"/>
<xs:attribute name="Client_Ref" type="xs:string" use="optional"/>
<xs:attribute name="Client_Name" type="xs:string" use="optional"/>
</xs:complexType>
top

Complex Type: Method

Super-types: None
Sub-types: None
Name Method
Abstract no
XML Instance Representation
<...
Name="xs:string [1] ?"
Code="xs:string [1] ?"
Lab_Ref="xs:string [1] ?"
Matrix="xs:string [1] ?"
Description="xs:string [0..1] ?">
<local:Analytes> local:Analytes </local:Analytes> [1] ?
<local:Containers> local:Containers </local:Containers> [1] ?
</...>
Schema Component Representation
<xs:complexType name="Method">
<xs:sequence>
<xs:element name="Analytes" type="local:Analytes"/>
<xs:element name="Containers" type="local:Containers"/>
</xs:sequence>
<xs:attribute name="Name" type="xs:string" use="required"/>
<xs:attribute name="Code" type="xs:string" use="required"/>
<xs:attribute name="Lab_Ref" type="xs:string" use="required"/>
<xs:attribute name="Matrix" type="xs:string" use="required"/>
<xs:attribute name="Description" type="xs:string" use="optional"/>
</xs:complexType>
top

Complex Type: Methods

Super-types: None
Sub-types: None
Name Methods
Abstract no
Documentation Collection of Methods.
XML Instance Representation
<...>
<local:Method> local:Method </local:Method> [0..*]
</...>
Schema Component Representation
<xs:complexType name="Methods">
<xs:sequence>
<xs:element name="Method" type="local:Method" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: Suite

Super-types: None
Sub-types: None
Name Suite
Abstract no
Documentation Each analysis suite can contain 1 or more analytes and their respective methods. In LSPECS users can select individual suites for each sample. Laboratories can indicate if the user can sub select individual analytes from the suites.
XML Instance Representation
<...
Name="xs:string [1] ?"
Item="xs:string [1] ?"
Lab_Ref="xs:string [1] ?"
Can_Sub_Select="xs:boolean [1] ?"
Full_Suite_Price="xs:decimal [0..1] ?"
Sub_Suite_Min_Price="xs:decimal [0..1] ?"
Sub_Suite_Per_Analyte_Price="xs:decimal [0..1] ?"
Description="xs:string [0..1] ?">
<local:Methods> local:Methods </local:Methods> [1]
</...>
Schema Component Representation
<xs:complexType name="Suite">
<xs:sequence>
<xs:element name="Methods" type="local:Methods"/>
</xs:sequence>
<xs:attribute name="Name" type="xs:string" use="required"/>
<xs:attribute name="Item" type="xs:string" use="required"/>
<xs:attribute name="Lab_Ref" type="xs:string" use="required"/>
<xs:attribute name="Can_Sub_Select" type="xs:boolean" use="required"/>
<xs:attribute name="Full_Suite_Price" type="xs:decimal" use="optional"/>
<xs:attribute name="Sub_Suite_Min_Price" type="xs:decimal" use="optional"/>
<xs:attribute name="Sub_Suite_Per_Analyte_Price" type="xs:decimal" use="optional"/>
<xs:attribute name="Description" type="xs:string" use="optional"/>
</xs:complexType>
top

Complex Type: Suites

Super-types: None
Sub-types: None
Name Suites
Abstract no
Documentation Collection of Analysis Suites.
XML Instance Representation
<...>
<local:Suite> local:Suite </local:Suite> [0..*]
</...>
Schema Component Representation
<xs:complexType name="Suites">
<xs:sequence>
<xs:element name="Suite" type="local:Suite" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
top

Simple Type: stringTwenty

Super-types: xs:string < stringTwenty (by restriction)
Sub-types: None
Name stringTwenty
Content
  • Base XSD Type: string
  • length <= 20
Schema Component Representation
<xs:simpleType name="stringTwenty">
<xs:restriction base="xs:string">
<xs:maxLength value="20"/>
</xs:restriction>
</xs:simpleType>
top

  • Contact
  • 100% of environmental professionals saved time when using Esdat Environmental Data Software. Over 50% of professionals achieved time savings of at least 40%.
  • © 2017