XML Schema Documentation

Table of Contents

top

Schema Document Properties

Target Namespace http://xilution.com/t20/schemas
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.

Declared Namespaces

Prefix Namespace
xml http://www.w3.org/XML/1998/namespace
xs http://www.w3.org/2001/XMLSchema
t20 http://xilution.com/t20/schemas
Schema Component Representation
<xs:schema elementFormDefault="qualified" targetNamespace="http://xilution.com/t20/schemas">
...
</xs:schema>
top

Global Declarations

Element: account

Name account
Type Locally-defined complex type
Nillable no
Abstract no
Diagram
XML Instance Representation
<t20:account>
<t20:id> ... </t20:id> [1]
<t20:business-name> ... </t20:business-name> [0..1]
</t20:account>
Schema Component Representation
<xs:element name="account">
<xs:complexType>
<xs:sequence>
<xs:element ref="t20:id" minOccurs="1" maxOccurs="1"/>
<xs:element ref="t20:business-name" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: account-id

Name account-id
Type xs:long
Nillable no
Abstract no
Diagram
XML Instance Representation
<t20:account-id> xs:long </t20:account-id>
Schema Component Representation
<xs:element name="account-id" type="xs:long"/>
top

Element: accounts

Name accounts
Type Locally-defined complex type
Nillable no
Abstract no
Diagram
XML Instance Representation
<t20:accounts>
<t20:account> ... </t20:account> [0..*]
</t20:accounts>
Schema Component Representation
<xs:element name="accounts">
<xs:complexType>
<xs:sequence>
<xs:element ref="t20:account" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: amount

Name amount
Type xs:double
Nillable no
Abstract no
Diagram
XML Instance Representation
<t20:amount> xs:double </t20:amount>
Schema Component Representation
<xs:element name="amount" type="xs:double"/>
top

Element: business-name

Name business-name
Type xs:string
Nillable no
Abstract no
Diagram
XML Instance Representation
<t20:business-name> xs:string </t20:business-name>
Schema Component Representation
<xs:element name="business-name" type="xs:string"/>
top

Element: category

Name category
Type xs:string
Nillable no
Abstract no
Diagram
XML Instance Representation
<t20:category> xs:string </t20:category>
Schema Component Representation
<xs:element name="category" type="xs:string"/>
top

Element: contact

Name contact
Type Locally-defined complex type
Nillable no
Abstract no
Diagram
XML Instance Representation
<t20:contact>
<t20:id> ... </t20:id> [1]
<t20:account-id> ... </t20:account-id> [0..1]
<t20:first-name> ... </t20:first-name> [0..1]
<t20:last-name> ... </t20:last-name> [0..1]
<t20:username> ... </t20:username> [0..1]
</t20:contact>
Schema Component Representation
<xs:element name="contact">
<xs:complexType>
<xs:sequence>
<xs:element ref="t20:id" minOccurs="1" maxOccurs="1"/>
<xs:element ref="t20:account-id" minOccurs="0" maxOccurs="1"/>
<xs:element ref="t20:first-name" minOccurs="0" maxOccurs="1"/>
<xs:element ref="t20:last-name" minOccurs="0" maxOccurs="1"/>
<xs:element ref="t20:username" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: contact-id

Name contact-id
Type xs:long
Nillable no
Abstract no
Diagram
XML Instance Representation
<t20:contact-id> xs:long </t20:contact-id>
Schema Component Representation
<xs:element name="contact-id" type="xs:long"/>
top

Element: contacts

Name contacts
Type Locally-defined complex type
Nillable no
Abstract no
Diagram
XML Instance Representation
<t20:contacts>
<t20:contact> ... </t20:contact> [0..*]
</t20:contacts>
Schema Component Representation
<xs:element name="contacts">
<xs:complexType>
<xs:sequence>
<xs:element ref="t20:contact" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: create-count

Name create-count
Type xs:integer
Nillable no
Abstract no
Diagram
XML Instance Representation
<t20:create-count> xs:integer </t20:create-count>
Schema Component Representation
<xs:element name="create-count" type="xs:integer"/>
top

Element: currency

Name currency
Type xs:string
Nillable no
Abstract no
Diagram
XML Instance Representation
<t20:currency> xs:string </t20:currency>
Schema Component Representation
<xs:element name="currency" type="xs:string"/>
top

Element: description

Name description
Type xs:string
Nillable no
Abstract no
Diagram
XML Instance Representation
<t20:description> xs:string </t20:description>
Schema Component Representation
<xs:element name="description" type="xs:string"/>
top

Element: DownloadTimeEntriesRequest

Name DownloadTimeEntriesRequest
Type Locally-defined complex type
Nillable no
Abstract no
Diagram
XML Instance Representation
<t20:DownloadTimeEntriesRequest>
<t20:accounts> ... </t20:accounts> [1]
<t20:contacts> ... </t20:contacts> [1]
<t20:start-timestamp> ... </t20:start-timestamp> [1]
<t20:end-timestamp> ... </t20:end-timestamp> [1]
</t20:DownloadTimeEntriesRequest>
Schema Component Representation
<xs:element name="DownloadTimeEntriesRequest">
<xs:complexType>
<xs:sequence>
<xs:element ref="t20:accounts"/>
<xs:element ref="t20:contacts"/>
<xs:element ref="t20:start-timestamp"/>
<xs:element ref="t20:end-timestamp"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: DownloadTimeEntriesResponse

Name DownloadTimeEntriesResponse
Type Locally-defined complex type
Nillable no
Abstract no
Diagram
XML Instance Representation
<t20:DownloadTimeEntriesResponse>
<t20:accounts> ... </t20:accounts> [1]
<t20:contacts> ... </t20:contacts> [1]
<t20:start-timestamp> ... </t20:start-timestamp> [1]
<t20:end-timestamp> ... </t20:end-timestamp> [1]
<t20:time-entries> ... </t20:time-entries> [1]
</t20:DownloadTimeEntriesResponse>
Schema Component Representation
<xs:element name="DownloadTimeEntriesResponse">
<xs:complexType>
<xs:sequence>
<xs:element ref="t20:accounts"/>
<xs:element ref="t20:contacts"/>
<xs:element ref="t20:start-timestamp"/>
<xs:element ref="t20:end-timestamp"/>
<xs:element ref="t20:time-entries"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: DownloadTimeSummariesRequest

Name DownloadTimeSummariesRequest
Type Locally-defined complex type
Nillable no
Abstract no
Diagram
XML Instance Representation
<t20:DownloadTimeSummariesRequest>
<t20:accounts> ... </t20:accounts> [1]
<t20:contacts> ... </t20:contacts> [1]
<t20:interval-duration> ... </t20:interval-duration> [1]
<t20:start-timestamp> ... </t20:start-timestamp> [1]
<t20:end-timestamp> ... </t20:end-timestamp> [1]
</t20:DownloadTimeSummariesRequest>
Schema Component Representation
<xs:element name="DownloadTimeSummariesRequest">
<xs:complexType>
<xs:sequence>
<xs:element ref="t20:accounts"/>
<xs:element ref="t20:contacts"/>
<xs:element ref="t20:interval-duration"/>
<xs:element ref="t20:start-timestamp"/>
<xs:element ref="t20:end-timestamp"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: DownloadTimeSummariesResponse

Name DownloadTimeSummariesResponse
Type Locally-defined complex type
Nillable no
Abstract no
Diagram
XML Instance Representation
<t20:DownloadTimeSummariesResponse>
<t20:accounts> ... </t20:accounts> [1]
<t20:contacts> ... </t20:contacts> [1]
<t20:start-timestamp> ... </t20:start-timestamp> [1]
<t20:end-timestamp> ... </t20:end-timestamp> [1]
<t20:intervals> ... </t20:intervals> [1]
</t20:DownloadTimeSummariesResponse>
Schema Component Representation
<xs:element name="DownloadTimeSummariesResponse">
<xs:complexType>
<xs:sequence>
<xs:element ref="t20:accounts"/>
<xs:element ref="t20:contacts"/>
<xs:element ref="t20:start-timestamp"/>
<xs:element ref="t20:end-timestamp"/>
<xs:element ref="t20:intervals"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: duration

Name duration
Type xs:long
Nillable no
Abstract no
Diagram
XML Instance Representation
<t20:duration> xs:long </t20:duration>
Schema Component Representation
<xs:element name="duration" type="xs:long"/>
top

Element: end-timestamp

Name end-timestamp
Type xs:string
Nillable no
Abstract no
Diagram
XML Instance Representation
<t20:end-timestamp> xs:string </t20:end-timestamp>
Schema Component Representation
<xs:element name="end-timestamp" type="xs:string"/>
top

Element: first-name

Name first-name
Type xs:string
Nillable no
Abstract no
Diagram
XML Instance Representation
<t20:first-name> xs:string </t20:first-name>
Schema Component Representation
<xs:element name="first-name" type="xs:string"/>
top

Element: id

Name id
Type xs:long
Nillable no
Abstract no
Diagram
XML Instance Representation
<t20:id> xs:long </t20:id>
Schema Component Representation
<xs:element name="id" type="xs:long"/>
top

Element: interval

Name interval
Type Locally-defined complex type
Nillable no
Abstract no
Diagram
XML Instance Representation
<t20:interval>
<t20:start-timestamp> ... </t20:start-timestamp> [1]
<t20:end-timestamp> ... </t20:end-timestamp> [1]
<t20:time-summaries> ... </t20:time-summaries> [0..*]
</t20:interval>
Schema Component Representation
<xs:element name="interval">
<xs:complexType>
<xs:sequence>
<xs:element ref="t20:start-timestamp"/>
<xs:element ref="t20:end-timestamp"/>
<xs:element ref="t20:time-summaries" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: interval-duration

Name interval-duration
Type xs:long
Nillable no
Abstract no
Diagram
XML Instance Representation
<t20:interval-duration> xs:long </t20:interval-duration>
Schema Component Representation
<xs:element name="interval-duration" type="xs:long"/>
top

Element: intervals

Name intervals
Type Locally-defined complex type
Nillable no
Abstract no
Diagram
XML Instance Representation
<t20:intervals>
<t20:interval> ... </t20:interval> [0..*]
</t20:intervals>
Schema Component Representation
<xs:element name="intervals">
<xs:complexType>
<xs:sequence>
<xs:element ref="t20:interval" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: last-name

Name last-name
Type xs:string
Nillable no
Abstract no
Diagram
XML Instance Representation
<t20:last-name> xs:string </t20:last-name>
Schema Component Representation
<xs:element name="last-name" type="xs:string"/>
top

Element: rate

Name rate
Type xs:double
Nillable no
Abstract no
Diagram
XML Instance Representation
<t20:rate> xs:double </t20:rate>
Schema Component Representation
<xs:element name="rate" type="xs:double"/>
top

Element: start-timestamp

Name start-timestamp
Type xs:string
Nillable no
Abstract no
Diagram
XML Instance Representation
<t20:start-timestamp> xs:string </t20:start-timestamp>
Schema Component Representation
<xs:element name="start-timestamp" type="xs:string"/>
top

Element: time-entries

Name time-entries
Type Locally-defined complex type
Nillable no
Abstract no
Diagram
XML Instance Representation
<t20:time-entries>
<t20:time-entry> ... </t20:time-entry> [0..*]
</t20:time-entries>
Schema Component Representation
<xs:element name="time-entries">
<xs:complexType>
<xs:sequence>
<xs:element ref="t20:time-entry" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: time-entry

Name time-entry
Type Locally-defined complex type
Nillable no
Abstract no
Diagram
XML Instance Representation
<t20:time-entry>
<t20:id> ... </t20:id> [0..1]
<t20:contact-id> ... </t20:contact-id> [1]
<t20:timestamp> ... </t20:timestamp> [1]
<t20:category> ... </t20:category> [0..1]
<t20:description> ... </t20:description> [0..1]
</t20:time-entry>
Schema Component Representation
<xs:element name="time-entry">
<xs:complexType>
<xs:sequence>
<xs:element ref="t20:id" minOccurs="0" maxOccurs="1"/>
<xs:element ref="t20:contact-id" minOccurs="1" maxOccurs="1"/>
<xs:element ref="t20:timestamp" minOccurs="1" maxOccurs="1"/>
<xs:element ref="t20:category" minOccurs="0" maxOccurs="1"/>
<xs:element ref="t20:description" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: timestamp

Name timestamp
Type xs:string
Nillable no
Abstract no
Diagram
XML Instance Representation
<t20:timestamp> xs:string </t20:timestamp>
Schema Component Representation
<xs:element name="timestamp" type="xs:string"/>
top

Element: time-summaries

Name time-summaries
Type Locally-defined complex type
Nillable no
Abstract no
Diagram
XML Instance Representation
<t20:time-summaries>
<t20:time-summary> ... </t20:time-summary> [0..*]
</t20:time-summaries>
Schema Component Representation
<xs:element name="time-summaries">
<xs:complexType>
<xs:sequence>
<xs:element ref="t20:time-summary" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: time-summary

Name time-summary
Type Locally-defined complex type
Nillable no
Abstract no
Diagram
XML Instance Representation
<t20:time-summary>
<t20:contact-id> ... </t20:contact-id> [1]
<t20:category> ... </t20:category> [1]
<t20:duration> ... </t20:duration> [1]
<t20:rate> ... </t20:rate> [1]
<t20:amount> ... </t20:amount> [1]
<t20:currency> ... </t20:currency> [1]
</t20:time-summary>
Schema Component Representation
<xs:element name="time-summary">
<xs:complexType>
<xs:sequence>
<xs:element ref="t20:contact-id"/>
<xs:element ref="t20:category"/>
<xs:element ref="t20:duration"/>
<xs:element ref="t20:rate"/>
<xs:element ref="t20:amount"/>
<xs:element ref="t20:currency"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: update-count

Name update-count
Type xs:integer
Nillable no
Abstract no
Diagram