167 lines
6.8 KiB
XML
167 lines
6.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<xsd:schema xmlns="http://www.fleettracker.de/api/1.0" xmlns:tns="http://www.fleettracker.de/api/1.0" attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://www.fleettracker.de/api/1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
|
<xsd:include schemaLocation="position.xsd" />
|
|
<xsd:complexType name="GeoArea">
|
|
<xsd:annotation>
|
|
<xsd:documentation>This is a geographical area. It can be a polygon
|
|
or a bounding box.
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
<xsd:sequence>
|
|
<xsd:element minOccurs="0" maxOccurs="unbounded" name="coverages" type="tns:GeoAreaCoverage">
|
|
<xsd:annotation>
|
|
<xsd:documentation>Geographical coverages of this area
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element minOccurs="1" maxOccurs="1" name="aid" type="xsd:int">
|
|
<xsd:annotation>
|
|
<xsd:documentation>DB Area ID
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element minOccurs="1" maxOccurs="1" name="alid" type="xsd:int">
|
|
<xsd:annotation>
|
|
<xsd:documentation>DB Area list ID
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element minOccurs="1" maxOccurs="1" name="name" type="xsd:string">
|
|
<xsd:annotation>
|
|
<xsd:documentation>DB Area name
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="GeoAreaCoverage">
|
|
<xsd:annotation>
|
|
<xsd:documentation>This is a geographical coverage belonging to an area.
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
<xsd:sequence>
|
|
<xsd:element minOccurs="2" maxOccurs="unbounded" name="positions" type="tns:Position">
|
|
<xsd:annotation>
|
|
<xsd:documentation>Geographical positions
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element minOccurs="1" maxOccurs="1" default="polygon" name="areatype">
|
|
<xsd:annotation>
|
|
<xsd:documentation>The type of this coverage. Bounding boxes are
|
|
between the first 2 positions.
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
<xsd:simpleType>
|
|
<xsd:restriction base="xsd:string">
|
|
<xsd:enumeration value="polygon" />
|
|
<xsd:enumeration value="boundingbox" />
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
</xsd:element>
|
|
<xsd:element minOccurs="1" maxOccurs="1" name="acid" type="xsd:int">
|
|
<xsd:annotation>
|
|
<xsd:documentation>DB Area coverage ID
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element minOccurs="1" maxOccurs="1" name="name" type="xsd:string">
|
|
<xsd:annotation>
|
|
<xsd:documentation>DB Area Coverage name
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="GeoAreaEvent">
|
|
<xsd:annotation>
|
|
<xsd:documentation>This is an event related to an area.
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
<xsd:sequence>
|
|
<xsd:element minOccurs="1" maxOccurs="1" name="position" type="tns:PositionFix">
|
|
<xsd:annotation>
|
|
<xsd:documentation>Geographical position when the event happened.
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element minOccurs="1" maxOccurs="1" name="acid" type="xsd:int">
|
|
<xsd:annotation>
|
|
<xsd:documentation>DB Area coverage ID
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element minOccurs="1" maxOccurs="1" name="aid" type="xsd:int">
|
|
<xsd:annotation>
|
|
<xsd:documentation>DB Area ID
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element minOccurs="1" maxOccurs="1" name="alid" type="xsd:int">
|
|
<xsd:annotation>
|
|
<xsd:documentation>DB Area list ID
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element minOccurs="1" maxOccurs="1" name="areaName" type="xsd:string">
|
|
<xsd:annotation>
|
|
<xsd:documentation>DB Area name
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element minOccurs="1" maxOccurs="1" name="areaCoverageName" type="xsd:string">
|
|
<xsd:annotation>
|
|
<xsd:documentation>DB Area Coverage name
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element minOccurs="1" maxOccurs="1" default="true" name="preliminary" type="xsd:boolean">
|
|
<xsd:annotation>
|
|
<xsd:documentation>This flag indicates that the event has been generated but
|
|
not yet been proven. Example: It is proven if the vessel is within the areas more than 1 minute.
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element minOccurs="1" maxOccurs="1" default="false" name="reported" type="xsd:boolean">
|
|
<xsd:annotation>
|
|
<xsd:documentation>This flag indicates that the event has been reported ashore.
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element minOccurs="1" maxOccurs="1" default="ENTER" name="eventType">
|
|
<xsd:annotation>
|
|
<xsd:documentation>The type of this event.
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
<xsd:simpleType>
|
|
<xsd:restriction base="xsd:string">
|
|
<xsd:enumeration value="ENTER">
|
|
<xsd:annotation>
|
|
<xsd:documentation>The vessel has entered the area
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:enumeration>
|
|
<xsd:enumeration value="LEAVE">
|
|
<xsd:annotation>
|
|
<xsd:documentation>The vessel has left the area
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:enumeration>
|
|
<xsd:enumeration value="STOPPED">
|
|
<xsd:annotation>
|
|
<xsd:documentation>The vessel has stopped in the area
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:enumeration>
|
|
<xsd:enumeration value="MOVING">
|
|
<xsd:annotation>
|
|
<xsd:documentation>The vessel has started moving within the area
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:enumeration>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
</xsd:element>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
</xsd:schema> |