<xsd:schema xmlns="http://www.iredes.org/schema/Tracking" xmlns:IR="http://www.iredes.org/xml" elementFormDefault="qualified" targetNamespace="http://www.iredes.org/schema/Tracking" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:include schemaLocation="TrackingBaseClasses.xsd" />
<xsd:include schemaLocation="../../CuO/MachineProfileBaseClasses.xsd" />
<xsd:import schemaLocation="../../CuO/IRappBaseClasses.xsd" namespace="http://www.iredes.org/xml" />
<xsd:annotation>
<xsd:documentation>
IREDES data exchange standard for tracking of equipment, and personnel.
Tracking data provides a location of the tracked asset (eg. in zone#1) instead of an exact coordinate.
</xsd:documentation>
</xsd:annotation>
<xsd:element name="Tracking">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="IR:IRRealTimeGenType">
<xsd:sequence>
<xsd:element name="Location" type="LocationType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
2 types of representation of choice: Location and RelativeLocation.
"Location" indicates accurate location of the tracked asset.
An accurate location is defined by LocationID, or LocationName, or it's coordinate, defined in LocationType data type.
"RelativeLocation" is a location relative to some named locations.
It is used when the current location could not be uniquely identified by the system, defined in RelativeLocationType data type.
For most cases, RelativeLocation would occur more than 1 time in order for an accurate location to be calculated unless a distance and direction is provided to one "RelativeLocation".
</xsd:documentation>
<xsd:documentation>
"Location" can only be presented once. You can not be here and there.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="RelativeLocation" type="RelativeLocationType" minOccurs="0" maxOccurs="5" />
<xsd:element name="Device" type="Device" minOccurs="0" maxOccurs="1" />
<xsd:element name="AssetGroup" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
<xsd:element name="ID" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
ID is the unique identification of assets. Must be present.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Comment" type="xsd:string" minOccurs="0" />
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
</xsd:schema>
|