200 lines
6.6 KiB
XML
200 lines
6.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">
|
|
|
|
<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 name="coverages" type="GeoAreaCoverage"
|
|
minOccurs="0" maxOccurs="unbounded">
|
|
<xsd:annotation>
|
|
<xsd:documentation>Geographical coverages of this area
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element name="aid" type="xsd:int" minOccurs="1"
|
|
maxOccurs="1">
|
|
<xsd:annotation>
|
|
<xsd:documentation>DB Area ID
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element name="alid" type="xsd:int" minOccurs="1"
|
|
maxOccurs="1">
|
|
<xsd:annotation>
|
|
<xsd:documentation>DB Area list ID
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element name="name" type="xsd:string" minOccurs="1"
|
|
maxOccurs="1">
|
|
<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 name="positions" type="tns:Position" minOccurs="2"
|
|
maxOccurs="unbounded">
|
|
<xsd:annotation>
|
|
<xsd:documentation>Geographical positions
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element name="areatype" minOccurs="1" maxOccurs="1"
|
|
default="polygon">
|
|
<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 name="acid" type="xsd:int" minOccurs="1"
|
|
maxOccurs="1">
|
|
<xsd:annotation>
|
|
<xsd:documentation>DB Area coverage ID
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element name="name" type="xsd:string" minOccurs="1"
|
|
maxOccurs="1">
|
|
<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 name="position" type="tns:PositionFix"
|
|
minOccurs="1" maxOccurs="1">
|
|
<xsd:annotation>
|
|
<xsd:documentation>Geographical position when the event happened.
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element name="acid" type="xsd:int" minOccurs="1"
|
|
maxOccurs="1">
|
|
<xsd:annotation>
|
|
<xsd:documentation>DB Area coverage ID
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
|
|
<xsd:element name="aid" type="xsd:int" minOccurs="1"
|
|
maxOccurs="1">
|
|
<xsd:annotation>
|
|
<xsd:documentation>DB Area ID
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element name="alid" type="xsd:int" minOccurs="1"
|
|
maxOccurs="1">
|
|
<xsd:annotation>
|
|
<xsd:documentation>DB Area list ID
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element name="areaName" type="xsd:string" minOccurs="1"
|
|
maxOccurs="1">
|
|
<xsd:annotation>
|
|
<xsd:documentation>DB Area name
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element name="areaCoverageName" type="xsd:string"
|
|
minOccurs="1" maxOccurs="1" >
|
|
<xsd:annotation>
|
|
<xsd:documentation>DB Area Coverage name
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element name="preliminary" type="xsd:boolean"
|
|
minOccurs="1" maxOccurs="1" default="true">
|
|
<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 name="reported" type="xsd:boolean"
|
|
minOccurs="1" maxOccurs="1" default="false">
|
|
<xsd:annotation>
|
|
<xsd:documentation>This flag indicates that the event has been reported ashore.
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
<xsd:element name="eventType" minOccurs="1" maxOccurs="1"
|
|
default="ENTER">
|
|
<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> |