Skip to content

Commit

Permalink
TRIAS v1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Werner Kohl authored and sgrossberndt committed Feb 2, 2016
1 parent 4221c3a commit a65c0cc
Show file tree
Hide file tree
Showing 27 changed files with 370 additions and 531 deletions.
6 changes: 3 additions & 3 deletions Trias.xsd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2007 sp2 (http://www.altova.com) by Werner Kohl (Mentz Datenverarbeitung GmbH) -->
<xs:schema xmlns="trias" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="trias" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:schema xmlns="http://www.vdv.de/trias" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.vdv.de/trias" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:include schemaLocation="Trias_Alerts.xsd"/>
<xs:include schemaLocation="Trias_Booking.xsd"/>
<xs:include schemaLocation="Trias_Connections.xsd"/>
Expand All @@ -11,7 +11,7 @@
<xs:include schemaLocation="Trias_Maps.xsd"/>
<xs:include schemaLocation="Trias_Personalisation.xsd"/>
<xs:include schemaLocation="Trias_Positioning.xsd"/>
<xs:include schemaLocation="Trias_RequestSupport-v1.0.xsd"/>
<xs:include schemaLocation="Trias_RequestSupport.xsd"/>
<xs:include schemaLocation="Trias_ServiceRegister.xsd"/>
<xs:include schemaLocation="Trias_StopEvents.xsd"/>
<xs:include schemaLocation="Trias_TripInfo.xsd"/>
Expand All @@ -27,7 +27,7 @@
<xs:group ref="ResponseGroup"/>
<xs:element name="Extension" type="xs:anyType"/>
</xs:choice>
<xs:attribute name="version" type="xs:NMTOKEN" use="required" fixed="1.0"/>
<xs:attribute name="version" type="xs:NMTOKEN" use="required" fixed="1.1"/>
</xs:complexType>
</xs:element>
<xs:annotation>
Expand Down
36 changes: 22 additions & 14 deletions Trias_Alerts.xsd
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2007 sp2 (http://www.altova.com) by Werner Kohl (Mentz Datenverarbeitung GmbH) -->
<xs:schema xmlns="trias" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:siri="http://www.siri.org.uk/siri" targetNamespace="trias" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:import namespace="http://www.siri.org.uk/siri" schemaLocation="siri-1.4/siri_situationExchange_service.xsd"/>
<xs:import namespace="http://www.siri.org.uk/siri" schemaLocation="siri-1.4/siri_facilityMonitoring_service.xsd"/>
<xs:schema xmlns="http://www.vdv.de/trias" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:siri="http://www.siri.org.uk/siri" targetNamespace="http://www.vdv.de/trias" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:import namespace="http://www.siri.org.uk/siri" schemaLocation="siri-1.4/siri.xsd"/>
<xs:include schemaLocation="Trias_Trips.xsd"/>
<xs:include schemaLocation="Trias_Connections.xsd"/>
<xs:group name="AlertSettingsGroup">
Expand Down Expand Up @@ -52,8 +51,6 @@
<xs:sequence>
<xs:element name="Trip" type="TripStructure"/>
<xs:element ref="TripRequest" minOccurs="0"/>
<!-- <xs:element name="MonitoringParameter" type="MonitoringParamStructure" minOccurs="0"/>
verschoben nach Subscription Request -->
<xs:element name="MonitoringParameter" type="TripMonitoringParamStructure" minOccurs="0"/>
</xs:sequence>
</xs:extension>
Expand All @@ -69,15 +66,26 @@
</xs:complexType>
<xs:group name="TripMonitoringPolicyGroup">
<xs:sequence>
<xs:element name="Severity" type="siri:SeverityEnumeration" minOccurs="0"/>
<!-- Prioritäten von Ereignissen. Werte definieren (vgl. SIRI)? -->
<xs:element name="MinimumDelayChangeThreshold" type="xs:duration" minOccurs="0"/>
<!-- Verspetungsaenderung, ab der wieder benachrichtigt wird -->
<xs:element name="AcceptThirdPartyInformation" type="xs:boolean" minOccurs="0"/>
<!-- Gibt an, ob Informationen von anderen Plattformen abgeholt werden sollen -->
<!-- bisher nur fuer Trip relevant -->
<xs:element name="IncludeAlternatives" type="xs:boolean" minOccurs="0"/>
<!-- Gibt an, ob direkt Alternativen mit zurückgegeben werden sollen -->
<xs:element name="Severity" type="siri:SeverityEnumeration" minOccurs="0">
<xs:annotation>
<xs:documentation>Priority of events</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="MinimumDelayChangeThreshold" type="xs:duration" minOccurs="0">
<xs:annotation>
<xs:documentation>Minimum change of delay to send new notifications</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AcceptThirdPartyInformation" type="xs:boolean" minOccurs="0">
<xs:annotation>
<xs:documentation>Whether to fetch information from other systems. Default is false.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IncludeAlternatives" type="xs:boolean" minOccurs="0">
<xs:annotation>
<xs:documentation>Whether alternatives should be part of the response. Default is false.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:group>
<xs:element name="TripMonitoringDelivery" type="TripMonitoringDeliveryStructure"/>
Expand Down
246 changes: 0 additions & 246 deletions Trias_Authorisation.xsd

This file was deleted.

6 changes: 3 additions & 3 deletions Trias_Booking.xsd
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2007 sp2 (http://www.altova.com) by Werner Kohl (Mentz Datenverarbeitung GmbH) -->
<xs:schema xmlns="trias" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="trias" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:include schemaLocation="Trias_JourneySupport-v1.0.xsd"/>
<xs:include schemaLocation="Trias_FaresSupport-v1.0.xsd"/>
<xs:schema xmlns="http://www.vdv.de/trias" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.vdv.de/trias" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:include schemaLocation="Trias_JourneySupport.xsd"/>
<xs:include schemaLocation="Trias_FaresSupport.xsd"/>
<xs:element name="BookingInfoRequest" type="BookingInfoRequestStructure">
<xs:annotation>
<xs:documentation>Booking info request element.</xs:documentation>
Expand Down
Loading

0 comments on commit a65c0cc

Please sign in to comment.