<?xml version="1.0" encoding="UTF-8"?>
|
<xsd:schema xmlns="http://traxelektronik.pl/trax/ws/protocol"
|
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
targetNamespace="http://traxelektronik.pl/trax/ws/protocol" elementFormDefault="qualified">
|
|
<xsd:complexType name="HeaderRequest">
|
<xsd:annotation>
|
<xsd:documentation>Request header.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence minOccurs="1" maxOccurs="1">
|
<xsd:element ref="userName"/>
|
<xsd:element ref="password"/>
|
<xsd:element name="operationCode" type="xsd:string">
|
<xsd:annotation>
|
<xsd:documentation>Unique operation ID.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="dateTime" type="xsd:dateTime">
|
<xsd:annotation>
|
<xsd:documentation>Request date/time.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="deviceId" type="xsd:string">
|
<xsd:annotation>
|
<xsd:documentation>Sender description or ID.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:complexType>
|
|
<xsd:element name="response" type="Response">
|
<xsd:annotation>
|
<xsd:documentation>General response for particular request</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:complexType name="Response">
|
<xsd:annotation>
|
<xsd:documentation>General response for particular request.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:complexContent>
|
<xsd:extension base="HeaderResponse"></xsd:extension>
|
</xsd:complexContent>
|
</xsd:complexType>
|
<xsd:complexType name="HeaderResponse">
|
<xsd:annotation>
|
<xsd:documentation>Response header.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence minOccurs="1" maxOccurs="1">
|
<xsd:element name="operationCode" type="xsd:string">
|
<xsd:annotation>
|
<xsd:documentation>Operation ID (the same as in request header).</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="dateTime" type="xsd:dateTime">
|
<xsd:annotation>
|
<xsd:documentation>Response date/time.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element ref="statusCode"/>
|
<xsd:element ref="statusText">
|
<xsd:annotation>
|
<xsd:documentation>Request status description.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="deviceId" type="xsd:string">
|
<xsd:annotation>
|
<xsd:documentation>Sender description or ID.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:complexType>
|
|
<xsd:element name="pingRequest" type="PingRequest"/>
|
<xsd:complexType name="PingRequest">
|
<xsd:annotation>
|
<xsd:documentation>Simple ping command.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:complexContent>
|
<xsd:extension base="HeaderRequest"/>
|
</xsd:complexContent>
|
</xsd:complexType>
|
|
<xsd:element name="userName" type="xsd:NMTOKEN">
|
<xsd:annotation>
|
<xsd:documentation>User identifier (only characters, numbers and underscore allowed).</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="password" type="xsd:string">
|
<xsd:annotation>
|
<xsd:documentation>Password.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
|
<xsd:complexType name="Rectangle">
|
<xsd:annotation>
|
<xsd:documentation>Rectangle type element.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence minOccurs="1" maxOccurs="1">
|
<xsd:element name="pos" type="Point">
|
<xsd:annotation>
|
<xsd:documentation>Rectangle left-top corner.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="size" type="Size">
|
<xsd:annotation>
|
<xsd:documentation>Rectangle size.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:complexType>
|
<xsd:complexType name="Point">
|
<xsd:annotation>
|
<xsd:documentation>Point type element.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence minOccurs="1" maxOccurs="1">
|
<xsd:element name="x" type="xsd:int">
|
<xsd:annotation>
|
<xsd:documentation>Object X coordinate.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="y" type="xsd:int">
|
<xsd:annotation>
|
<xsd:documentation>Object Y coordinate.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:complexType>
|
<xsd:complexType name="Size">
|
<xsd:annotation>
|
<xsd:documentation>Size type element.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence minOccurs="1" maxOccurs="1">
|
<xsd:element name="width" type="xsd:int">
|
<xsd:annotation>
|
<xsd:documentation>Object width.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="height" type="xsd:int">
|
<xsd:annotation>
|
<xsd:documentation>Object height.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:complexType>
|
<xsd:complexType name="NotifyTargetList">
|
<xsd:annotation>
|
<xsd:documentation>List of notify target elements.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence maxOccurs="unbounded" minOccurs="0">
|
<xsd:element name="target" type="NotifyTarget">
|
<xsd:annotation>
|
<xsd:documentation>Notify target element.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:complexType>
|
<xsd:complexType name="NotifyTarget">
|
<xsd:annotation>
|
<xsd:documentation>Notify target.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence maxOccurs="1" minOccurs="1">
|
<xsd:element name="url" type="xsd:string">
|
<xsd:annotation>
|
<xsd:documentation>Server URL.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="authorization" type="Authorization">
|
<xsd:annotation>
|
<xsd:documentation>Server authorization.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="ping" type="PingTestType">
|
<xsd:annotation>
|
<xsd:documentation>Notify target communication test method.
|
If required server is not responding then VMS will be turned off when communication timeout
|
occurs.
|
Default value: Required.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:complexType>
|
<xsd:complexType name="Authorization">
|
<xsd:annotation>
|
<xsd:documentation>Authorization.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence minOccurs="1" maxOccurs="1">
|
<xsd:element name="user" type="xsd:string">
|
<xsd:annotation>
|
<xsd:documentation>User name (login). Checking skipped if empty.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="pass" type="xsd:string">
|
<xsd:annotation>
|
<xsd:documentation>Password. Checking skipped if empty.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:complexType>
|
<xsd:simpleType name="PingTestType">
|
<xsd:annotation>
|
<xsd:documentation>List of communication testing modes.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:restriction base="xsd:string">
|
<xsd:enumeration value="Skip">
|
<xsd:annotation>
|
<xsd:documentation>Response testing skipped</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="Alternative">
|
<xsd:annotation>
|
<xsd:documentation>Response required at least from 1 Alternative type source</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="Required">
|
<xsd:annotation>
|
<xsd:documentation>Response required from all Required type sources</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
</xsd:restriction>
|
</xsd:simpleType>
|
<xsd:simpleType name="OnOffType">
|
<xsd:annotation>
|
<xsd:documentation>List of on/off commands.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:restriction base="xsd:string">
|
<xsd:enumeration value="Off">
|
<xsd:annotation>
|
<xsd:documentation>OFF</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="On">
|
<xsd:annotation>
|
<xsd:documentation>ON</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
</xsd:restriction>
|
</xsd:simpleType>
|
<xsd:simpleType name="HiLoType">
|
<xsd:annotation>
|
<xsd:documentation>List of on/off commands.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:restriction base="xsd:string">
|
<xsd:enumeration value="Lo">
|
<xsd:annotation>
|
<xsd:documentation>Low level</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="Hi">
|
<xsd:annotation>
|
<xsd:documentation>High level</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
</xsd:restriction>
|
</xsd:simpleType>
|
|
<xsd:element name="statusCode" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>Status code.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:simpleType>
|
<xsd:restriction base="xsd:int">
|
<xsd:enumeration value="0">
|
<xsd:annotation>
|
<xsd:documentation>OK</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="-1">
|
<xsd:annotation>
|
<xsd:documentation>Wrong login or password</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="-2">
|
<xsd:annotation>
|
<xsd:documentation>Internal error</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="-3">
|
<xsd:annotation>
|
<xsd:documentation>Request rejected</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
|
<xsd:enumeration value="-10">
|
<xsd:annotation>
|
<xsd:documentation>Data missing or invalid</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
|
<xsd:enumeration value="-20">
|
<xsd:annotation>
|
<xsd:documentation>File not found</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="-21">
|
<xsd:annotation>
|
<xsd:documentation>Invalid file format</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
|
<xsd:enumeration value="-30">
|
<xsd:annotation>
|
<xsd:documentation>VMS status undetermined yet. Check again in few seconds</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="-31">
|
<xsd:annotation>
|
<xsd:documentation>Test mode (lines) in progress</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="-32">
|
<xsd:annotation>
|
<xsd:documentation>Test mode (LEDs) in progress</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="-33">
|
<xsd:annotation>
|
<xsd:documentation>Configuration failure</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="-34">
|
<xsd:annotation>
|
<xsd:documentation>Lines failure</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="-35">
|
<xsd:annotation>
|
<xsd:documentation>LEDs failure</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="-36">
|
<xsd:annotation>
|
<xsd:documentation>Brightness failure</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="-37">
|
<xsd:annotation>
|
<xsd:documentation>Timeout</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="-38">
|
<xsd:annotation>
|
<xsd:documentation>Out of sync</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="-39">
|
<xsd:annotation>
|
<xsd:documentation>Test mode (others) in progress</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
|
<xsd:enumeration value="-40">
|
<xsd:annotation>
|
<xsd:documentation>Power supply undetermined. Check again in few seconds</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="-41">
|
<xsd:annotation>
|
<xsd:documentation>Power supply failure</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="-42">
|
<xsd:annotation>
|
<xsd:documentation>Power supply is off by USER</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="-43">
|
<xsd:annotation>
|
<xsd:documentation>Power supply is off due to failure (line)</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="-44">
|
<xsd:annotation>
|
<xsd:documentation>Power supply is off due to timeout</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="-45">
|
<xsd:annotation>
|
<xsd:documentation>Power supply is off due to low battery</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="-46">
|
<xsd:annotation>
|
<xsd:documentation>Power supply is off due to failure (led)</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="-47">
|
<xsd:annotation>
|
<xsd:documentation>Power supply switching on. Check again in few seconds</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="-48">
|
<xsd:annotation>
|
<xsd:documentation>Power supply switching off. Check again in few seconds</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
|
<xsd:enumeration value="-99">
|
<xsd:annotation>
|
<xsd:documentation>Unknown error</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
</xsd:restriction>
|
</xsd:simpleType>
|
</xsd:element>
|
<xsd:element name="statusText" type="xsd:string" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>Plain status text.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="statusCodeSimple" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>Status code.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:simpleType>
|
<xsd:restriction base="xsd:int">
|
<xsd:enumeration value="0">
|
<xsd:annotation>
|
<xsd:documentation>OK</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="-1">
|
<xsd:annotation>
|
<xsd:documentation>Power supply is off due to failure</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="-2">
|
<xsd:annotation>
|
<xsd:documentation>Power supply is off</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="-3">
|
<xsd:annotation>
|
<xsd:documentation>Test mode in progress</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="-4">
|
<xsd:annotation>
|
<xsd:documentation>Error detected</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
</xsd:restriction>
|
</xsd:simpleType>
|
</xsd:element>
|
|
<xsd:complexType name="OnOffList">
|
<xsd:annotation>
|
<xsd:documentation>List of On/Off elements.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence maxOccurs="unbounded" minOccurs="0">
|
<xsd:element name="value" type="OnOffType">
|
<xsd:annotation>
|
<xsd:documentation>On/Off element.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:complexType>
|
<xsd:complexType name="HiLoList">
|
<xsd:annotation>
|
<xsd:documentation>List of High/Low elements.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence maxOccurs="unbounded" minOccurs="0">
|
<xsd:element name="value" type="HiLoType">
|
<xsd:annotation>
|
<xsd:documentation>High/Low element.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:complexType>
|
<xsd:complexType name="BoolList">
|
<xsd:annotation>
|
<xsd:documentation>List of Boolean elements.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence maxOccurs="unbounded" minOccurs="0">
|
<xsd:element name="value" type="xsd:boolean">
|
<xsd:annotation>
|
<xsd:documentation>Boolean element.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:complexType>
|
<xsd:complexType name="StringList">
|
<xsd:annotation>
|
<xsd:documentation>List of String elements.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence maxOccurs="unbounded" minOccurs="0">
|
<xsd:element name="value" type="xsd:string">
|
<xsd:annotation>
|
<xsd:documentation>String element.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:complexType>
|
<xsd:complexType name="DoubleList">
|
<xsd:annotation>
|
<xsd:documentation>List of floating point elements.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence maxOccurs="unbounded" minOccurs="0">
|
<xsd:element name="value" type="xsd:double">
|
<xsd:annotation>
|
<xsd:documentation>Floating point element.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:complexType>
|
<xsd:simpleType name="Color">
|
<xsd:annotation>
|
<xsd:documentation>The color entity indicates the color of an element. Color may be represented as
|
hexadecimal RGB triples, as in HTML, or as hexadecimal ARGB tuples, with the A indicating alpha of
|
transparency. An alpha value of 00 is totally transparent; FF is totally opaque. If RGB is used, the A
|
value is assumed to be FF. For instance, the RGB value "#800080" represents purple. An ARGB value of
|
"#40800080" would be a transparent purple. As in SVG 1.1, colors are defined in terms of the sRGB color
|
space (IEC 61966).
|
</xsd:documentation>
|
</xsd:annotation>
|
<xsd:restriction base="xsd:token">
|
<xsd:pattern value="#[\dA-F]{6}([\dA-F][\dA-F])?"/>
|
</xsd:restriction>
|
</xsd:simpleType>
|
|
<xsd:complexType name="RectCfg">
|
<xsd:sequence>
|
<xsd:element name="x" type="xsd:int" nillable="false"/>
|
<xsd:element name="y" type="xsd:int" nillable="false"/>
|
<xsd:element name="w" type="xsd:int" nillable="false"/>
|
<xsd:element name="h" type="xsd:int" nillable="false"/>
|
</xsd:sequence>
|
</xsd:complexType>
|
</xsd:schema>
|