norme tecniche e prestazionali - Allegato 1

C:\Users\utente\Desktop\progetti\sottosistema br\finali\StrutturaXMLGUIDEPORT\StrutturaXMLGUIDEPORT\mvs-VER0.1
martedì 23 settembre 2014 09:48
<?xml version=”1.0″?>
<xs:schema xmlns:xs=”http://www.w3.org/2001/XMLSchema”>
<xs:element name="mvs/rvs">
<xs:complexType>
<xs:sequence>
<xs:element name="analyzesRoad" minOccurs="1" maxOccurs="unbounded">
<xs:complexType>
<xs:element name="timestamp" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:attribute name="data" type="xs:date"
use="required" />
<xs:attribute name="ora" type="xs:time"
use="required" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:attribute name="flow" type="xs:integer" use="required" />
<xs:attribute name="fog" type="xs:boolean" use="optional" />
<xs:attribute name="debris" type="xs:boolean" use="required" />
<xs:attribute name="smoke" type="xs:boolean" use="optional" />
<xs:attribute name="occupancy" type="xs:time" use="required" />
<!-- in secondi -->
<xs:attribute name="density" type="xs:decimal" use="required" />
<xs:attribute name="level_of_service" type="xs:integer"
use="required" />
<xs:attribute name="pedestrian" type="xs:boolean" use="required"
/>
<xs:element name="queue" maxOccurs="1">
<xs:complexType>
<xs:choice>
<xs:element name="flowing traffic" type="xs:string" />
<xs:element name="slight congestion"
type="xs:string" />
<xs:element name="congested traffic"
type="xs:string" />
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="incident" minOccurs="0" maxOccurs="1" >
<xs:complexType>
<xs:attribute name="presence vehicle" type="boolean"
use="required" />
<xs:attribute name="wrong way" type="boolean"
use="required" />
<xs:attribute name="stopped vehicle" type="boolean"
use="required" />
<xs:attribute name="speed drop" type="boolean"
use="required" />
</xs:complexType>
</xs:element>
</xs:complexType>
</xs:element>
<xs:element name="detectorVehicle" minOccurs="1" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="timestamp" maxOccurs="1">
-1-
C:\Users\utente\Desktop\progetti\sottosistema br\finali\StrutturaXMLGUIDEPORT\StrutturaXMLGUIDEPORT\mvs-VER0.1
martedì 23 settembre 2014 09:48
<xs:complexType>
<xs:sequence>
<xs:attribute name="data" type="xs:date"
use="required" />
<xs:attribute name="ora" type="xs:time"
use="required" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="vehicle" minOccurs="1" maxOccurs="unbounded" >
<xs:complexType>
<xs:sequence>
<xs:attribute name="category" type="xs:string"
use="required"/>
<xs:attribute name="volume" type="xs:decimal"
use="required"/>
<xs:attribute name="length" type="xs:decimal"
use="required"/>
<xs:attribute name="velocity" type="xs:decimal"
use="required"/>
<xs:attribute name="line number traffic"
type="xs:integer" use="required"/>
<xs:attribute name="flag above speed limit"
type="xs:boolean" use="required"/>
<xs:attribute name="flag below speed limit"
type="xs:boolean" use="required"/>
<xs:attribute name="speed_mean" type="xs:decimal"
use="required"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="device" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="latitude" type="xs:decimal"
use="required"/>
<xs:attribute name="longitude" type="xs:decimal"
use="required"/>
<xs:attribute name="ip_address" type="xs:string"
use="required"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="road" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="number_line_traffic" type="xs:integer"
use="required"/>
<xs:attribute name="above speed limit" type="xs:decimal"
use="required"/>
<xs:attribute name="below speed limit" type="xs:decimal"
use="required"/>
-2-
C:\Users\utente\Desktop\progetti\sottosistema br\finali\StrutturaXMLGUIDEPORT\StrutturaXMLGUIDEPORT\mvs-VER0.1
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
-3-
martedì 23 settembre 2014 09:48
C:\Users\utente\Desktop\progetti\sottosistema br\finali\StrutturaXMLGUIDEPORT\StrutturaXMLGUIDEPORT\anpr-VER0.1
martedì 23 settembre 2014 09:47
<?xml version=”1.0″?>
<xs:schema xmlns:xs=”http://www.w3.org/2001/XMLSchema”>
<xs:element name="anpr">
<xs:complexType>
<xs:sequence>
<xs:element name="detectorANPR" minOccurs="1" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="plate" minOccurs="1" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="timestamp entrance"
maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:attribute name="data"
type="xs:date" use="required" />
<xs:attribute name="ora"
type="xs:time" use="required" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="timestamp exit" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:attribute name="data"
type="xs:date" use="required" />
<xs:attribute name="ora"
type="xs:time" use="required" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="time stop" maxOccurs="1">
<xs:complexType>
<xs:choice>
<xs:attribute name="mese"
type="xs:integer" use="required" />
<xs:attribute name="giorno"
type="xs:integer" use="required" />
<xs:attribute name="ore"
type="xs:integer" use="required" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:attribute name="line number"
type="xs:integer" use="required"/>
<xs:attribute name="photo" type="xs:string"
use="required"/>
<xs:attribute name="boarding" type="xs:boolean"
use="required"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="device" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:attribute name="name" type="xs:string"
-1-
C:\Users\utente\Desktop\progetti\sottosistema br\finali\StrutturaXMLGUIDEPORT\StrutturaXMLGUIDEPORT\anpr-VER0.1
martedì 23 settembre 2014 09:47
use="required"/>
<xs:attribute name="latitude" type="xs:decimal"
use="required"/>
<xs:attribute name="longitude" type="xs:decimal"
use="required"/>
<xs:attribute name="ip_address" type="xs:string"
use="required"/>
<xs:attribute name="state" type="xs:string"
use="required"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
-2-
C:\Users\utente\Desktop\progetti\sottosistema br\finali\StrutturaXMLGUIDEPORT\StrutturaXMLGUIDEPORT\gps-VER0.1
martedì 23 settembre 2014 09:48
<?xml version=”1.0″?>
<xs:schema xmlns:xs=”http://www.w3.org/2001/XMLSchema”>
<xs:element name="gps">
<xs:complexType>
<xs:sequence>
<xs:element name="detector" minOccurs="1" maxOccurs="unbounded">
<xs:complexType>
<xs:element name="timestamp" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:attribute name="data" type="xs:date"
use="required" />
<xs:attribute name="ora" type="xs:time"
use="required" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="vehicle" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:attribute name="number plate" type="xs:string"
use="required" />
<xs:attribute name="category" type="xs:string"
use="required" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="operator" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:attribute name="email" type="xs:string"
use="required" />
<xs:attribute name="telephone number"
type="xs:string" use="required"
/>
<xs:attribute name="address" type="xs:string"
use="required"
/>
<xs:attribute name="nome" type="xs:string"
use="required" />
<xs:attribute name="cognome" type="xs:string"
use="required" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:attribute name="longitude" type="xs:decimal" use="required"
/>
<xs:attribute name="latitude" type="xs:decimal" use="required" />
<xs:attribute name="number of satellite" type="xs:integer"
use="required" />
<xs:attribute name="pdop" type="xs:integer" use="required" />
<xs:attribute name="motor state" type="xs:string"
use="required" />
<xs:attribute name="low battery" type="xs:boolean"
use="required" />
<xs:attribute name="direction" type="xs:string" use="required" />
<xs:attribute name="velocity" type="xs:decimal" use="required" />
-1-
C:\Users\utente\Desktop\progetti\sottosistema br\finali\StrutturaXMLGUIDEPORT\StrutturaXMLGUIDEPORT\gps-VER0.1
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
-2-
martedì 23 settembre 2014 09:48