59 lines
2.6 KiB
XML
59 lines
2.6 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">
|
|
<!--
|
|
#######################################################################
|
|
These definition are used to define inland position data types.
|
|
-->
|
|
<xsd:include schemaLocation="inlandPosition.xsd" />
|
|
<!--
|
|
#######################################################################
|
|
-->
|
|
<xsd:complexType name="Target">
|
|
<xsd:annotation>
|
|
<xsd:documentation>This represents a river.</xsd:documentation>
|
|
</xsd:annotation>
|
|
<xsd:sequence>
|
|
<xsd:element name="milesmarker" type="tns:MilesMarker"
|
|
minOccurs="0" maxOccurs="1">
|
|
<xsd:annotation>
|
|
<xsd:documentation>This is the current miles marker
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element name="movingDirection" minOccurs="1"
|
|
maxOccurs="1" default="UNKNOWN">
|
|
<xsd:simpleType>
|
|
<xsd:restriction base="xsd:string">
|
|
<xsd:enumeration value="UNKNOWN" />
|
|
<xsd:enumeration value="INCREASING_MILES" />
|
|
<xsd:enumeration value="DECREASING_MILES" />
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
</xsd:element>
|
|
<xsd:element name="mmsi" type="xsd:int" minOccurs="0"
|
|
maxOccurs="1">
|
|
<xsd:annotation>
|
|
<xsd:documentation>This is the current miles marker
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element name="name" type="xsd:string" minOccurs="0"
|
|
maxOccurs="1">
|
|
<xsd:annotation>
|
|
<xsd:documentation>This is the name of the target
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element name="inlandSpeed" type="tns:InlandSpeed" minOccurs="0"
|
|
maxOccurs="1">
|
|
<xsd:annotation>
|
|
<xsd:documentation>This is the current speed
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
</xsd:schema> |