127 lines
4.0 KiB
XML
127 lines
4.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<xsd:schema elementFormDefault="unqualified"
|
|
attributeFormDefault="unqualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
xmlns="http://www.fleettracker.de/api/1.0" xmlns:tns="http://www.fleettracker.de/api/1.0"
|
|
targetNamespace="http://www.fleettracker.de/api/1.0">
|
|
<!--
|
|
#######################################################################
|
|
-->
|
|
<xsd:complexType name="Position">
|
|
<xsd:annotation>
|
|
<xsd:documentation>This is a geographical position.
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
<xsd:sequence>
|
|
<xsd:element name="lat" type="xsd:int" minOccurs="1"
|
|
maxOccurs="1">
|
|
<xsd:annotation>
|
|
<xsd:documentation>Latitude in degrees x 60000, North > 0
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element name="lon" type="xsd:int" minOccurs="1"
|
|
maxOccurs="1">
|
|
<xsd:annotation>
|
|
<xsd:documentation>Latitude in degrees x 60000, East > 0
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
|
|
|
|
<!--
|
|
#######################################################################
|
|
-->
|
|
<xsd:complexType name="PositionFix">
|
|
<xsd:annotation>
|
|
<xsd:documentation>This is a geographical position with a timestamp.
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
<xsd:complexContent>
|
|
<xsd:extension base="tns:Position">
|
|
<xsd:sequence>
|
|
<xsd:element name="timestamp" type="xsd:dateTime"
|
|
minOccurs="1" maxOccurs="1">
|
|
<xsd:annotation>
|
|
<xsd:documentation>Timestamp when the position was made
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
</xsd:sequence>
|
|
</xsd:extension>
|
|
</xsd:complexContent>
|
|
</xsd:complexType>
|
|
<!--
|
|
#######################################################################
|
|
-->
|
|
<xsd:complexType name="PasttrackPosition">
|
|
<xsd:annotation>
|
|
<xsd:documentation>This is a geographical position of a pasttrack.
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
<xsd:complexContent>
|
|
<xsd:extension base="tns:PositionFix">
|
|
<xsd:sequence>
|
|
<xsd:element name="orderNumber" type="xsd:int"
|
|
minOccurs="1" maxOccurs="1">
|
|
<xsd:annotation>
|
|
<xsd:documentation>The order number of the pastttack. The
|
|
higher
|
|
the number, the older the position.</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element name="rot" type="xsd:float" minOccurs="0"
|
|
maxOccurs="1">
|
|
<xsd:annotation>
|
|
<xsd:documentation>Rate of turn in deg/s, right > 0, left <
|
|
0)</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element name="sog" type="xsd:float" minOccurs="0"
|
|
maxOccurs="1">
|
|
<xsd:annotation>
|
|
<xsd:documentation>Speed over ground in knots
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element name="cog" type="xsd:float" minOccurs="0"
|
|
maxOccurs="1">
|
|
<xsd:annotation>
|
|
<xsd:documentation>Course over ground in degrees
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element name="hdg" type="xsd:float" minOccurs="0"
|
|
maxOccurs="1">
|
|
<xsd:annotation>
|
|
<xsd:documentation>Heading in degrees
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element name="eta" type="xsd:dateTime" minOccurs="0"
|
|
maxOccurs="1">
|
|
<xsd:annotation>
|
|
<xsd:documentation>ETA to next port
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element name="etb" type="xsd:dateTime" minOccurs="0"
|
|
maxOccurs="1">
|
|
<xsd:annotation>
|
|
<xsd:documentation>ETB to next port
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element name="nextport" type="xsd:string"
|
|
minOccurs="0" maxOccurs="1">
|
|
<xsd:annotation>
|
|
<xsd:documentation>Next port
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
</xsd:sequence>
|
|
</xsd:extension>
|
|
</xsd:complexContent>
|
|
</xsd:complexType>
|
|
</xsd:schema> |