XML Schema "siri_situation-v2.0.xsd"
Target Namespace:
http://www.siri.org.uk/siri
Version:
2.0
Defined Components:
elements (2 global + 126 local), complexTypes (21), simpleTypes (12), element groups (15)
Default Namespace-Qualified Form:
Local Elements: qualified; Local Attributes: unqualified
Schema Location:
C:\Users\Tony\eclipse_workspace\siri-20-java\xsd\siri_model\siri_situation-v2.0.xsd; see XML source
Imports Schemas (3):
acsb_accessibility-v0.3.xsd [src], acsb_all-v0.3.xsd [src], DATEXIISchema_2_0RC1_2_0.xsd [src]
Includes Schemas (5):
siri_situationActions-v2.0.xsd [src], siri_situationAffects-v2.0.xsd [src], siri_situationIdentity-v1.1.xsd [src], siri_situationReasons-v2.0.xsd [src], siri_situationServiceTypes-v1.0.xsd [src]
Included in Schemas (1):
siri_situationExchange_service.xsd [src]
Annotation
SIRI-SX Situation Model.
All Element Summary (local elements unified by type)
Advice (in Consequence)
Advice to passengers.
Type:
Content:
complex, 2 elements
Defined:
locally within PtConsequenceStructure complexType; see XML source
Advice (type DefaultedTextStructure)
Further advice to passengers.
Type:
Content:
simple, 2 attributes
Defined:
AdviceRef (in Advice in Consequence)
Reference to a standardis advisory NOTICE to be given to passengers if a particular condition arises .
Type:
Content:
simple
Defined:
locally within PtAdviceStructure complexType; see XML source
AffectedNetwork (in Networks)
Nrtworks and Route(s) affected by SITUATION.
Type:
anonymous complexType (extension of AffectedNetworkStructure)
Content:
complex, 17 elements
Defined:
locally within Networks element; see XML source
AffectedOperator (type AffectedOperatorStructure)
Type:
Content:
complex, 5 elements
Defined:
locally at 3 locations
AffectedPlace (in Places)
Stop affected by SITUATION.
Type:
Content:
complex, 8 elements
Defined:
locally within Places element; see XML source
AffectedRoad (in Roads)
Description of affected road.
Type:
Content:
complex, 4 elements
Defined:
locally within AffectedRoadsStructure complexType; see XML source
AffectedStopPlace (in StopPlaces)
Stop affected by SITUATION.
Type:
Content:
complex, 8 elements
Defined:
locally within StopPlaces element; see XML source
AffectedStopPoint (type AffectedStopPointStructure)
Type:
Content:
complex, 12 elements
Defined:
locally at 2 locations
AffectedVehicle (in Vehicles)
Vehicles affected by the SITUATION.
Type:
Content:
complex, 20 elements
Defined:
locally within Vehicles element; see XML source
AffectedVehicleJourney (in VehicleJourneys)
Journeys affected by the SITUATION.
Type:
Content:
complex, 23 elements
Defined:
locally within VehicleJourneys element; see XML source
Affects (type AffectsScopeStructure)
Type:
Content:
complex, 10 elements
Defined:
locally at 3 locations
AgentReference (in Source : SituationSourceStructure)
Reference to an Agent, i.e.
Type:
xsd:string
Content:
simple
Defined:
AllOperators (in Operators)
All OPERATORs.
Type:
Content:
simple
Defined:
locally within Operators element; see XML source
AreaOfInterest (in Affects)
Affected overall Geographic scope.
Type:
Content:
simple
Defined:
locally within AffectsScopeStructure complexType; see XML source
ArrivalBoardingActivity (in Boarding)
Type of boarding and alighting allowed at stop.
Type:
Content:
simple
Defined:
locally within BoardingStructure complexType; see XML source
Audience (type AudienceEnumeration)
Intended audience of SITUATION.
Type:
Content:
simple
Defined:
Blocking (in Consequence)
How Disruption should be handled in Info systems.
Type:
Content:
complex, 2 elements
Defined:
locally within PtConsequenceStructure complexType; see XML source
Boarding (in Consequence)
Change to normal boarding activity allowed at stop.
Type:
Content:
complex, 2 elements
Defined:
locally within PtConsequenceStructure complexType; see XML source
Casualties (in Consequence)
Information on casualties.
Type:
Content:
complex, 2 elements
Defined:
locally within PtConsequenceStructure complexType; see XML source
cause (type D2LogicalModel:Cause)
Impact of Road SITUATION as specified by Datex2 model.
Type:
Content:
complex, 1 element
Defined:
Consequence (in Consequences)
Nature of the effect to disrupt (or restore) service, and further details.
Type:
Content:
complex, 12 elements
Defined:
Consequences (type PtConsequencesStructure)
Type:
Content:
complex, 1 element
Defined:
locally at 2 locations
Country (in Source : SituationSourceStructure)
Country of origin of source element.
Type:
xsd:NMTOKEN
Content:
simple
Defined:
CreationTime (type xsd:dateTime)
Type:
xsd:dateTime
Content:
simple
Defined:
locally at 2 locations
Datex2Locations (in Roads)
Refereences to road network locations affected by the SITUATION.
Type:
Content:
complex, 1 element
Defined:
locally within AffectedRoadsStructure complexType; see XML source
Delay (in Delays)
Additional journey time needed to overcome disruption.
Type:
Content:
simple
Defined:
locally within DelaysStructure complexType; see XML source
DelayBand (in Delays)
Time band into which delay will fall.
Type:
Content:
simple
Defined:
locally within DelaysStructure complexType; see XML source
Delays (in Consequence)
Type:
Content:
complex, 3 elements
Defined:
locally within PtConsequenceStructure complexType; see XML source
DelayType (in Delays)
Category of delay.
Type:
Content:
simple
Defined:
locally within DelaysStructure complexType; see XML source
DepartureBoardingActivity (in Boarding)
Type of alighting allowed at stop.
Type:
Content:
simple
Defined:
locally within BoardingStructure complexType; see XML source
Description (type DefaultedTextStructure)
Description of SITUATION.
Type:
Content:
simple, 2 attributes
Defined:
Detail (type DefaultedTextStructure)
Additional descriptive details about the SITUATION (Unbounded since SIRI 2.0).
Type:
Content:
simple, 2 attributes
Defined:
Details (in Advice in Consequence)
Further Textual advice to passengers.
Type:
Content:
simple, 1 attribute
Defined:
locally within PtAdviceStructure complexType; see XML source
Easement (in Easements)
Description of fare exceptions allowed because of disruption.
Type:
Content:
simple, 1 attribute
Defined:
locally within EasementsStructure complexType; see XML source
EasementRef (in Easements)
Refernce to a fare exceptions code that is allowed because of the disruption.
Type:
xsd:normalizedString
Content:
simple
Defined:
locally within EasementsStructure complexType; see XML source
Easements (in Consequence)
Description of fare exceptions allowed because of disruption.
Type:
Content:
complex, 3 elements
Defined:
locally within PtConsequenceStructure complexType; see XML source
Email (in Source : SituationSourceStructure)
Email of Supplier of information.
Type:
Content:
simple
Defined:
ExternalCode (in Source : SituationSourceStructure)
External system reference to SITUATION.
Type:
xsd:string
Content:
simple
Defined:
ExternalReference (in RelatedToRef)
A single string that identifiers the referenced SITUATION.
Type:
xsd:string
Content:
simple
Defined:
Fax (in Source : SituationSourceStructure)
Fax number of Supplier of information.
Type:
Content:
simple
Defined:
generalPublicComment (type D2LogicalModel:Comment)
Datex 2 comments for public use.
Type:
Content:
complex, 3 elements
Defined:
groupOfLocations (type D2LogicalModel:GroupOfLocations)
Datex 2 model of where event ois taking place on the road.
Type:
Content:
complex, 1 element
Defined:
Image (in Images)
Image description.
Type:
anonymous complexType (extension of ImageStructure)
Content:
complex, 3 elements
Defined:
locally within Images element; see XML source
Image (in InfoLink)
Image to use when presenting hyperlink.
Type:
Content:
complex, 3 elements
Defined:
locally within InfoLinkStructure complexType; see XML source
ImageBinary (type xsd:base64Binary)
Embedded image.
Type:
xsd:base64Binary
Content:
simple
Defined:
locally within ImageStructure complexType; see XML source
ImageContent (type ImageContentEnumeration)
Categorisation of image content.
Type:
Content:
simple
Defined:
locally within ImageStructure complexType; see XML source
ImageRef (type xsd:anyURI)
Reference to an image.
Type:
xsd:anyURI
Content:
simple
Defined:
locally within ImageStructure complexType; see XML source
Images (defined in DescriptionGroup group)
Any images associated with SITUATION.
Type:
anonymous complexType
Content:
complex, 1 element
Defined:
Includes:
definition of 1 element
impact (type D2LogicalModel:Impact)
Impact of Road SITUATION as specified by Datex2.
Type:
Content:
complex, 8 elements
Defined:
InfoLink (in InfoLinks)
Hyperlink description.
Type:
Content:
complex, 4 elements
Defined:
locally within InfoLinks element; see XML source
InfoLinks (defined in DescriptionGroup group)
Hyperlinks to other resources associated with SITUATION.
Type:
anonymous complexType
Content:
complex, 1 element
Defined:
Includes:
definition of 1 element
Internal (type DefaultedTextStructure)
Further advice to passengers.
Type:
Content:
simple, 2 attributes
Defined:
JourneyPlanner (in Blocking)
Whether information about parts of the network identified by Affects should be blocked from computation made by a Journey Planner that has a real-tiem feed of the SITUATIONs.
Type:
xsd:boolean
Content:
simple
Defined:
locally within BlockingStructure complexType; see XML source
Keywords (type xsd:NMTOKENS)
Type:
xsd:NMTOKENS
Content:
simple
Defined:
locally at 2 locations
Label (in InfoLink)
Label for Link.
Type:
Content:
simple, 1 attribute
Defined:
locally within InfoLinkStructure complexType; see XML source
Language (type xsd:NMTOKEN)
Default language.
Type:
xsd:NMTOKEN
Content:
simple
Defined:
Likelihood (type D2LogicalModel:ProbabilityOfOccurrenceEnum)
Likellihoo of a future sutuation happening.
Type:
Content:
simple
Defined:
locally within StatusGroup group; see XML source
LinkContent (in InfoLink)
Categorisation of link content.
Type:
Content:
simple
Defined:
locally within InfoLinkStructure complexType; see XML source
management (type D2LogicalModel:Management)
Type:
Content:
complex, 3 elements
Defined:
Name (type NaturalLanguageStringStructure)
Type:
Content:
simple, 1 attribute
Defined:
locally at 6 locations
Networks (in Affects)
Networks affected by SITUATION.
Type:
anonymous complexType
Content:
complex, 1 element
Defined:
locally within AffectsScopeStructure complexType; see XML source
Includes:
definition of 1 element
nonGeneralPublicComment (type D2LogicalModel:Comment)
Ccomments not for public use.
Type:
Content:
complex, 3 elements
Defined:
Operators (in Affects)
Affected OPERATORs, If absent, taken from context.
Type:
anonymous complexType
Content:
complex, 2 elements
Defined:
locally within AffectsScopeStructure complexType; see XML source
Includes:
definitions of 2 elements
Other (in Source : SituationSourceStructure)
Other information about source.
Type:
xsd:string
Content:
simple
Defined:
Period (type HalfOpenTimestampOutputRangeStructure)
Type:
Content:
complex, 3 elements
Defined:
locally at 2 locations
Phone (type PhoneType)
Type:
Content:
simple
Defined:
locally at 2 locations
Places (in Affects)
Places other than STOP POINTs affected by SITUATION.
Type:
anonymous complexType
Content:
complex, 1 element
Defined:
locally within AffectsScopeStructure complexType; see XML source
Includes:
definition of 1 element
Planned (type xsd:boolean)
Whether the SITUATION was planned (eg engineering works) or unplanned (eg service alteration).
Type:
xsd:boolean
Content:
simple
Defined:
Priority (type xsd:nonNegativeInteger)
Arbitrary rating of priority 1-High.
Type:
xsd:nonNegativeInteger
Content:
simple
Defined:
probabilityOfOccurrence (type D2LogicalModel:ProbabilityOfOccurrenceEnum)
An assessment of the degree of likelihood that the reported event will occur.
Type:
Content:
simple
Defined:
Progress (type WorkflowStatusEnumeration)
ProgressStatus.
Type:
Content:
simple
Defined:
locally within StatusGroup group; see XML source
PtSituationElement
Type for individual IPT ncident.
Type:
Content:
complex, 52 elements
Defined:
globally; see XML source
Used:
never
Publication (type PublicationStatusType)
Publishing status one of a specified set of substates to which a SITUATION can be assigned.
Type:
Content:
simple
Defined:
locally within StatusGroup group; see XML source
PublicationWindow (type HalfOpenTimestampOutputRangeStructure)
Publication Window for SITUATION if different from validity period.
Type:
Content:
complex, 3 elements
Defined:
locally within TemporalGroup group; see XML source
PublicEventReason (type D2LogicalModel:PublicEventTypeEnum)
Classifier of Pub;ic Event.
Type:
Content:
simple
Defined:
locally within ReasonGroup group; see XML source
PublishingActions (type ActionsStructure)
Type:
Content:
complex, 10 elements
Defined:
locally at 2 locations
QualityIndex (type QualityEnumeration)
Assessement of likely correctness of data.
Type:
Content:
simple
Defined:
locally within StatusGroup group; see XML source
Reality (type D2LogicalModel:InformationStatusEnum)
Whether SITUATION is real or a test.
Type:
Content:
simple
Defined:
locally within StatusGroup group; see XML source
RealTime (in Blocking)
Whether information about parts of the network identified by Affects should be blocked from real-time departureinfo systems.
Type:
xsd:boolean
Content:
simple
Defined:
locally within BlockingStructure complexType; see XML source
Reason (in SecondaryReasons)
Reason.
Type:
anonymous complexType
Content:
complex, 12 elements
Defined:
locally within SecondaryReasons element; see XML source
ReasonName (type NaturalLanguageStringStructure)
Text explanation of SITUATION reason.
Type:
Content:
simple, 1 attribute
Defined:
locally within ReasonGroup group; see XML source
References (type ReferencesStructure)
Associations with other SITUATIONs.
Type:
Content:
complex, 1 element
Defined:
RelatedAs (in RelatedToRef)
Relationship of refercence to the referncing SITUATION e.
Type:
Content:
simple
Defined:
RelatedToRef (in References)
A reference to another SITUATION with an indication of the nature of the association, e.g. a cause, a result, an update.
Type:
Content:
complex, 10 elements
Defined:
locally within ReferencesStructure complexType; see XML source
Repetitions (defined in TemporalGroup group)
situation applies only on the repeated day types within the overall validity period(s).
Type:
anonymous complexType
Content:
complex, 1 element
Defined:
locally within TemporalGroup group; see XML source
Includes:
definition of 1 element
Road (in AffectedRoad)
AFfected Road as described by a Date2x location.
Type:
Content:
complex, 3 elements
Defined:
locally within AffectedRoadStructure complexType; see XML source
Roads (in Affects)
Roads affected by.
Type:
Content:
complex, 2 elements
Defined:
locally within AffectsScopeStructure complexType; see XML source
RoadSituationElement
Type for individual IPT ncident.
Type:
Content:
complex, 53 elements
Defined:
globally; see XML source
Used:
never
ScopeType (defined in ClassifierGroup group)
Nature of scope, e.g. general, network.
Type:
anonymous simpleType (restriction of ScopeTypeEnumeration)
Content:
simple
Defined:
SecondaryReasons (defined in ClassifierGroup group)
additioanl reasons.
Type:
anonymous complexType
Content:
complex, 1 element
Defined:
Includes:
definition of 1 element
Sensitivity (type SensitivityEnumeration)
Confidentiality of SITUATION.
Type:
Content:
simple
Defined:
Severity (in Consequence)
Severity of disruption if different from that of SITUATION.
Type:
Content:
simple
Defined:
locally within PtConsequenceStructure complexType; see XML source
SituationRecord (in RoadSituationElement)
Datex2 SITUATION Record.
Type:
Content:
complex, 1 attribute, 18 elements
Defined:
locally within RoadBodyGroup group; see XML source
situationRecordCreationReference (type D2LogicalModel:String)
A unique alphanumeric reference (either an external reference or GUID) of the SITUATIONRecord object (the first version of the record) that was created by the original supplier.
Type:
Content:
simple
Defined:
situationRecordCreationTime (type D2LogicalModel:DateTime)
The date/time that the SITUATIONRecord object (the first version of the record) was created by the original supplier.
Type:
Content:
simple
Defined:
situationRecordExtension (type D2LogicalModel:ExtensionType)
Type:
Content:
complex, elem. wildcard
Defined:
situationRecordFirstSupplierVersionTime (type D2LogicalModel:DateTime)
The date/time that the current version of the SITUATION Record was written into the database of the original supplier in the supply chain.
Type:
Content:
simple
Defined:
situationRecordObservationTime (type D2LogicalModel:DateTime)
The date/time that the information represented by the current version of the SITUATIONRecord was observed by the original (potentially external) source of the information.
Type:
Content:
simple
Defined:
situationRecordVersion (type D2LogicalModel:NonNegativeInteger)
Each record within a SITUATION may iterate through a series of versions during its life time.
Type:
Content:
simple
Defined:
situationRecordVersionTime (type D2LogicalModel:DateTime)
The date/time that this current version of the SITUATIONRecord was written into the database of the supplier which is involved in the data exchange.
Type:
Content:
simple
Defined:
Source (type D2LogicalModel:Source)
Type:
Content:
complex, 6 elements
Defined:
Source (type SituationSourceStructure)
Information about source of information, that is, where the agent using the capture client obtained an item of information, or in the case of an automated feed, an identifier of the specific feed.
Type:
Content:
complex, 15 elements
Defined:
SourceFile (in Source : SituationSourceStructure)
Electronic file / attachment containing information about SITUATION.
Type:
xsd:anyURI
Content:
simple
Defined:
SourceMethod (in Source : SituationSourceStructure)
Nature of method used to get Source.
Type:
Content:
simple
Defined:
SourceRole (in Source : SituationSourceStructure)
Job title of Source.
Type:
xsd:string
Content:
simple
Defined:
SourceType (in Source : SituationSourceStructure)
Nature of Source.
Type:
Content:
simple
Defined:
StopPlaces (in Affects)
Places other than STOP POINTs affected by SITUATION.
Type:
anonymous complexType
Content:
complex, 1 element
Defined:
locally within AffectsScopeStructure complexType; see XML source
Includes:
definition of 1 element
StopPoints (in Affects)
STOP POINTs affected by SITUATION.
Type:
anonymous complexType
Content:
complex, 1 element
Defined:
locally within AffectsScopeStructure complexType; see XML source
Includes:
definition of 1 element
Suitabilities (in Consequence)
Effect on different passenger needs.
Type:
anonymous complexType
Content:
complex, 1 element
Defined:
locally within PtConsequenceStructure complexType; see XML source
Includes:
definition of 1 element
Suitability (type acsb:SuitabilityStructure)
Type:
Content:
complex, 2 elements
Defined:
locally at 2 locations
Summary (type DefaultedTextStructure)
Summary of SITUATION.
Type:
Content:
simple, 2 attributes
Defined:
TicketRestrictions (in Easements)
Ticket restriction conditiosn in effect.
Type:
Content:
simple
Defined:
locally within EasementsStructure complexType; see XML source
TimeOfCommunication (in Source : SituationSourceStructure)
Time of communication of message, if different from creation time.
Type:
xsd:dateTime
Content:
simple
Defined:
trafficElementExtension (type D2LogicalModel:ExtensionType)
Type:
Content:
complex, elem. wildcard
Defined:
Uri (in InfoLink)
URI for link.
Type:
xsd:anyURI
Content:
simple
Defined:
locally within InfoLinkStructure complexType; see XML source
validity (type D2LogicalModel:Validity)
Type:
Content:
complex, 4 elements
Defined:
ValidityPeriod (type HalfOpenTimestampOutputRangeStructure)
Type:
Content:
complex, 3 elements
Defined:
locally at 3 locations
VehicleJourneys (in Affects)
Specific journeys affected by SITUATION.
Type:
anonymous complexType
Content:
complex, 1 element
Defined:
locally within AffectsScopeStructure complexType; see XML source
Includes:
definition of 1 element
Vehicles (in Affects)
Specific vehicles affected by SITUATION.
Type:
anonymous complexType
Content:
complex, 1 element
Defined:
locally within AffectsScopeStructure complexType; see XML source
Includes:
definition of 1 element
Verification (defined in StatusGroup group)
Whether the SITUATION has been verified.
Type:
anonymous simpleType (restriction of VerificationStatusEnumeration)
Content:
simple
Defined:
locally within StatusGroup group; see XML source
VersionedAtTime (type xsd:dateTime)
Time at which SITUATION element was versioned.
Type:
xsd:dateTime
Content:
simple
Defined:
Web (in Source : SituationSourceStructure)
Information was obtained from a web site URL of site and/or page.
Type:
xsd:anyURI
Content:
simple
Defined:
Complex Type Summary
Type for abstract EntryAbstract type.
Content:
complex, 7 elements
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
Type for Location model for scope of SITUATION or effect.
Content:
complex, 2 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
Type for Raod scope for scope of SITUATION or effect.
Content:
complex, 4 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
Type for Location model for scope of SITUATION or effect.
Content:
complex, 10 elements
Defined:
globally; see XML source
Includes:
definitions of 10 elements
Used:
Type for blocking.
Content:
complex, 2 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
Type for boarding restrictions.
Content:
complex, 2 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
Type for a text that may be overridden.
Content:
simple, 2 attributes
Defined:
globally; see XML source
Includes:
definition of 1 attribute
Used:
Type for easement info.
Content:
complex, 3 elements
Defined:
globally; see XML source
Includes:
definitions of 3 elements
Used:
Type for easement info.
Content:
complex, 3 elements
Defined:
globally; see XML source
Includes:
definitions of 3 elements
Used:
Type for image.
Content:
complex, 3 elements
Defined:
globally; see XML source
Includes:
definitions of 3 elements
Used:
Type for a general hyperlink.
Content:
complex, 4 elements
Defined:
globally; see XML source
Includes:
definitions of 4 elements
Used:
An event which is not planned by the traffic OPERATOR, which is affecting, or has the potential to affect traffic flow.
Content:
complex, 17 elements
Abstract:
(cannot be assigned directly to elements used in instance XML documents)
Defined:
globally; see XML source
Used:
never
Type for advice.
Content:
complex, 2 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
Type for list of effects.
Content:
complex, 1 element
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
Type for disruption.
Content:
complex, 12 elements
Defined:
globally; see XML source
Includes:
definitions of 12 elements
Used:
Type for individual PT SITUATION.
Content:
complex, 52 elements
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
Type for references.
Content:
complex, 1 element
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
Type for a reference.
Content:
complex, 10 elements
Defined:
globally; see XML source
Includes:
definitions of 4 elements
Used:
Type for individual PT SITUATION.
Content:
complex, 53 elements
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
Type for loggable Entry.
Content:
complex, 10 elements
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
Type for a source, i.e. provider of information.
Content:
complex, 15 elements
Defined:
globally; see XML source
Includes:
definitions of 10 elements
Used:
Simple Type Summary
Values for Audience.
Defined:
globally; see XML source
Used:
Type for allwoed values of Dela band.
Defined:
globally; see XML source
Used:
Values for image content.
Defined:
globally; see XML source
Used:
Values for image content.
Defined:
globally; see XML source
Used:
Type for Quality of data indication.
Defined:
globally; see XML source
Used:
never
Type for Publication status.
Defined:
globally; see XML source
Used:
Type for Quality of data indication.
Defined:
globally; see XML source
Used:
Values for Type of Source.
Defined:
globally; see XML source
Used:
Values for ScopeType.
Defined:
globally; see XML source
Used:
Values for Sensitivity.
Defined:
globally; see XML source
Used:
Values for Type of Source.
Defined:
globally; see XML source
Used:
Values for Entry Status.
Defined:
globally; see XML source
Used:
Element Group Summary
Structured Classification Elements.
Content:
Defined:
globally; see XML source
Includes:
definitions of 9 elements
Used:
Datex2 SITUATION management elements.
Content:
Defined:
globally; see XML source
Includes:
definitions of 6 elements
Used:
Datex2 Tarffic element.
Content:
Defined:
globally; see XML source
Includes:
definitions of 3 elements
Used:
Datex2 Trrffic element road.
Content:
Defined:
globally; see XML source
Includes:
definitions of 5 elements
Used:
Datex2 SITUATION common elements.
Content:
Defined:
globally; see XML source
Includes:
definitions of 3 elements
Used:
Text description of SITUATION.
Content:
Defined:
globally; see XML source
Includes:
definitions of 8 elements
Used:
Body of SITUATION.
Content:
Defined:
globally; see XML source
Includes:
definitions of 3 elements
Used:
Body of SITUATION.
Content:
Defined:
globally; see XML source
Used:
StructuredReason Elements.
Content:
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
Datex 2 SITUATION.
Content:
Defined:
globally; see XML source
Includes:
definitions of 4 elements
Used:
Body of SITUATION.
Content:
Defined:
globally; see XML source
Used:
situation Informatiion.
Content:
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
Group of source details.
Content:
Defined:
globally; see XML source
Includes:
definitions of 5 elements
Used:
Status elements.
Content:
Defined:
globally; see XML source
Includes:
definitions of 6 elements
Used:
Elements affecting temporal scope of SITUATION.
Content:
Defined:
globally; see XML source
Includes:
definitions of 3 elements
Used:
XML Source
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema attributeFormDefault="unqualified" elementFormDefault="qualified" id="siri_situation" targetNamespace="http://www.siri.org.uk/siri" version="2.0" xmlns="http://www.siri.org.uk/siri" xmlns:D2LogicalModel="http://datex2.eu/schema/2_0RC1/2_0" xmlns:acsb="http://www.ifopt.org.uk/acsb" xmlns:ifopt="http://www.ifopt.org.uk/ifopt" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!-- ======================================================================= -->
<!--Needed to work around import limitation in JAXB - all namespaces. -->
<xsd:import namespace="http://www.ifopt.org.uk/acsb" schemaLocation="../acsb/acsb_all-v0.3.xsd"/>
<xsd:import namespace="http://www.ifopt.org.uk/acsb" schemaLocation="../acsb/acsb_accessibility-v0.3.xsd"/>
<!-- ======================================================================= -->
<xsd:include schemaLocation="siri_situationIdentity-v1.1.xsd"/>
<xsd:include schemaLocation="siri_situationServiceTypes-v1.0.xsd"/>
<xsd:include schemaLocation="siri_situationReasons-v2.0.xsd"/>
<xsd:include schemaLocation="siri_situationAffects-v2.0.xsd"/>
<xsd:include schemaLocation="siri_situationActions-v2.0.xsd"/>
<!-- ======================================================================= -->
<xsd:annotation>
<xsd:appinfo>
<Metadata xmlns="http://www.govtalk.gov.uk/CM/gms-xs">
<Aggregation>main schema</Aggregation>
<Audience>e-service developers</Audience>
<Contributor>Waldemar Isajkin (INIT GmbH)</Contributor>
<Coverage>Europe</Coverage>
<Creator>
&gt;Drafted for version 1.0 Kizoom SITUATION Schema Nicholas Knowles, Kizoom. mailto:schemer@kizoom.org.uk
</Creator>
<Date>
<Created>2004-09-29</Created>
</Date>
<Date>
<Modified>2004-10-01</Modified>
</Date>
<Date>
<Modified>2007-05-14</Modified>
</Date>
<Date>
<Modified>2008-07-05</Modified>
- correct data tupe to be particpant ref not participant pair
- add missing scopeType to classifier
</Date>
<Date>
<Modified>2011-04-18</Modified>
- AffectedVehicleJourney should allow multiple journeys. Brian Ferris onebusaway.org
</Date>
<Date>
<Modified>2012-03-23</Modified>
+SIRI v2.0
Use revised 2.0 definitions
Update to use DATEXII V 2.0 schema
Namespace changed from http://datex2.eu/schema/1_0/1_0 to http://datex2.eu/schema/2_0RC1/2_0

- D2LogicalModel:ReferencePointLinear has been renamed to D2LogicalModel:ReferencePointLinear
- DelayCodeENum renamed to DelayBandEnum

- InformationUsageOverride / D2LogicalModel:InformationUsage dropped for D2
- D2LogicalModel:SourceInformation renamed to D2LogicalModel:Source

- D2LogicalModel:SourceInformation values wrapped in valuse tag
- D2LogicalModel:Advcie dropped.
- D2LogicalModel:Imppact ImpactDetails wrapper tag dropped.
- D2 trafficResstrictionType renamed to trafficConstrictionType
Correct type on easementref to normalized string.
Allow transalatiobs of NLString elements
</Date>
<Date>
<Modified>2013-02-11</Modified>
Correction: Certain elements of DescriptionGroup unbounded.
</Date>
<Date>
<Modified>2013-10-01</Modified>
- [VDV] Added TpegSubReasonGroup to the ReasonGroup as described in the SX Documentation
</Date>
<Date>
<Modified>2014-06-20</Modified>
- [fr] Add additional small delay bands
</Date>
<Description>
<p>
SIRI-SX is an XML schema for the exchange of structured SITUATIONs
</p>
</Description>
<Format>
<MediaType>text/xml</MediaType>
<Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
<Description>XML schema, W3C Recommendation 2001</Description>
</Format>
<Identifier>
{http://www.siri.org.uk/schema/2.0/xsd/}siri_model/siri_situation-v2.0.xsd
</Identifier>
<Language>[ISO 639-2/B] ENG</Language>
<Publisher>Kizoom, 109-123 Clifton Street, London EC4A 4LD</Publisher>
<Relation>
<Requires>
http://www.siri.org.uk/schema/2.0/xsd/siri_model/siri_stop-v0.2.xsd
</Requires>
<Requires>
http://www.siri.org.uk/schema/2.0/xsd/siri_model/siri_modes-v1.1.xsd
</Requires>
<Requires>
http://www.siri.org.uk/schema/2.0/xsd/siri_model/siri_monitoredVehicleJourney-v2.0.xsd
</Requires>
</Relation>
<Rights>
Unclassified
<Copyright>Kizoom 2000-2005, CEN 2009-2012</Copyright>
</Rights>
<Source>
<ul>
<li>Schema Derived from the Kizoom XTIS schema</li>
</ul>
</Source>
<Status>Version 2.0 Draft</Status>
<Subject>
<Category>
Arts, recreation and travel, Tourism, Travel (tourism), Transport,
Air transport, Airports,
Ports and maritime transport, Ferries (marine),
Public transport, Bus services, Coach services, Bus stops and stations,
Rail transport, Railway stations and track, Train services, Underground trains,
Business and industry, Transport, Air transport, Ports and maritime transport, Public transport,
Rail transport, Roads and road transport
</Category>
<Project>CEN TC278 WG3 SG7</Project>
</Subject>
<Title>
SIRI-SX Xml Schema for PT SITUATIONs. Common element subschema
</Title>
<Type>Standard</Type>
</Metadata>
</xsd:appinfo>
<xsd:documentation>SIRI-SX Situation Model.</xsd:documentation>
</xsd:annotation>
<!-- ======================================================================= -->
<xsd:complexType name="AbstractSituationElementStructure">
<xsd:annotation>
<xsd:documentation>Type for abstract EntryAbstract type.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="CreationTime" type="xsd:dateTime">
<xsd:annotation>
<xsd:documentation>Time of creation of SITUATION.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:group ref="SituationSharedIdentityGroup"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="SituationElementStructure">
<xsd:annotation>
<xsd:documentation>Type for loggable Entry.</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="AbstractSituationElementStructure">
<xsd:sequence>
<xsd:group ref="SituationInfoGroup"/>
<xsd:element minOccurs="0" name="VersionedAtTime" type="xsd:dateTime">
<xsd:annotation>
<xsd:documentation>
Time at which SITUATION element was versioned. Once versioned, no furtr changes can be made.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:group name="SituationInfoGroup">
<xsd:annotation>
<xsd:documentation>situation Informatiion.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element minOccurs="0" name="References" type="ReferencesStructure">
<xsd:annotation>
<xsd:documentation>Associations with other SITUATIONs.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Source" type="SituationSourceStructure">
<xsd:annotation>
<xsd:documentation>
Information about source of information, that is, where the agent using the capture client obtained an item of information, or in the case of an automated feed, an identifier of the specific feed. Can be used to obtain updates, verify details or otherwise assess relevance.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:group>
<xsd:complexType name="ReferencesStructure">
<xsd:annotation>
<xsd:documentation>Type for references.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" name="RelatedToRef" type="RelatedSituationStructure">
<xsd:annotation>
<xsd:documentation>
A reference to another SITUATION with an indication of the nature of the association, e.g. a cause, a result, an update. Note that a Entry that is an update, i.e. has the same IdentifierNumber but a later version number as a previous Entry alway has a supercedes relationship and this does not need to be expliciitly coded.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="RelatedSituationStructure">
<xsd:annotation>
<xsd:documentation>Type for a reference.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="CreationTime" type="xsd:dateTime">
<xsd:annotation>
<xsd:documentation>Time of creation of 'related to' assocation.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:annotation>
<xsd:documentation>
Elements identifying a SITUATION element or an update to a SITUATION. Participant reference is optional and may be supplied from context.
</xsd:documentation>
</xsd:annotation>
</xsd:group>
<xsd:element minOccurs="0" name="ExternalReference" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
A single string that identifiers the referenced SITUATION.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="RelatedAs" type="RelatedToEnumeration">
<xsd:annotation>
<xsd:documentation>
Relationship of refercence to the referncing SITUATION e.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" ref="Extensions"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="RelatedToEnumeration">
<xsd:annotation>
<xsd:documentation>Values for Type of Source.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="cause"/>
<xsd:enumeration value="effect"/>
<xsd:enumeration value="update"/>
<xsd:enumeration value="supercedes"/>
<xsd:enumeration value="supercededBy"/>
<xsd:enumeration value="associated"/>
</xsd:restriction>
</xsd:simpleType>
<!--===PT SITUATION =========================================== -->
<xsd:annotation>
<xsd:documentation>Type for individual IPT ncident.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="PtSituationElementStructure">
<xsd:annotation>
<xsd:documentation>Type for individual PT SITUATION.</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="SituationElementStructure">
<xsd:sequence>
<xsd:group ref="PtSituationBodyGroup"/>
<xsd:element minOccurs="0" ref="Extensions"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:group name="PtSituationBodyGroup">
<xsd:annotation>
<xsd:documentation>Body of SITUATION.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:group ref="StatusGroup"/>
<xsd:sequence>
<xsd:group ref="TemporalGroup"/>
<xsd:group ref="ClassifierGroup"/>
<xsd:group ref="DescriptionGroup"/>
<xsd:group minOccurs="0" ref="PtBodyGroup"/>
</xsd:sequence>
</xsd:sequence>
</xsd:group>
<xsd:group name="PtBodyGroup">
<xsd:annotation>
<xsd:documentation>Body of SITUATION.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element minOccurs="0" name="Affects" type="AffectsScopeStructure">
<xsd:annotation>
<xsd:documentation>
Structured model identifiying parts of transport network affected by SITUATION. OPERATOR and NETWORK values will be defaulted to values in general Context unless explicitly overridden.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="Consequences" type="PtConsequencesStructure">
<xsd:annotation>
<xsd:documentation>
Structured model describing effect of the SITUATION on PT system.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="PublishingActions" type="ActionsStructure">
<xsd:annotation>
<xsd:documentation>
Structured model describing distribution actions to handle SITUATION. Any actions stated completely replace those from Context. If no actions are stated, any actions from general Context are used.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:group>
<!--===PT SITUATION =========================================== -->
<xsd:annotation>
<xsd:documentation>Type for individual IPT ncident.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="RoadSituationElementStructure">
<xsd:annotation>
<xsd:documentation>Type for individual PT SITUATION.</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="SituationElementStructure">
<xsd:sequence>
<xsd:group ref="RoadSituationBodyGroup"/>
<xsd:element minOccurs="0" ref="Extensions"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:group name="RoadSituationBodyGroup">
<xsd:annotation>
<xsd:documentation>Body of SITUATION.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:group ref="StatusGroup"/>
<xsd:sequence>
<xsd:group ref="TemporalGroup"/>
<xsd:group ref="ClassifierGroup"/>
<xsd:group ref="DescriptionGroup"/>
<xsd:group ref="RoadBodyGroup"/>
</xsd:sequence>
</xsd:sequence>
</xsd:group>
<xsd:group name="RoadBodyGroup">
<xsd:annotation>
<xsd:documentation>Datex 2 SITUATION.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element minOccurs="0" name="Affects" type="AffectsScopeStructure">
<xsd:annotation>
<xsd:documentation>
Structured model identifiying parts of transport network affected by SITUATION. Operator and Network values will be defaulted to values in general Context unless explicitly overridden.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="Consequences" type="PtConsequencesStructure">
<xsd:annotation>
<xsd:documentation>
Structured model describing effect of the SITUATION on PT system.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="PublishingActions" type="ActionsStructure">
<xsd:annotation>
<xsd:documentation>
Structured model describing distribution actions to handle SITUATION. Any actions stated completely replace those from Context. If no actions are stated, any actions from general Context are used.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="SituationRecord" type="D2LogicalModel:SituationRecord">
<xsd:annotation>
<xsd:documentation>Datex2 SITUATION Record.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:group>
<xsd:group name="Datex2ManagementGroup">
<xsd:annotation>
<xsd:documentation>Datex2 SITUATION management elements.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="situationRecordCreationReference" type="D2LogicalModel:String">
<xsd:annotation>
<xsd:documentation>
A unique alphanumeric reference (either an external reference or GUID) of the SITUATIONRecord object (the first version of the record) that was created by the original supplier.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="situationRecordCreationTime" type="D2LogicalModel:DateTime">
<xsd:annotation>
<xsd:documentation>
The date/time that the SITUATIONRecord object (the first version of the record) was created by the original supplier.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="situationRecordObservationTime" type="D2LogicalModel:DateTime">
<xsd:annotation>
<xsd:documentation>
The date/time that the information represented by the current version of the SITUATIONRecord was observed by the original (potentially external) source of the information.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="situationRecordVersion" type="D2LogicalModel:NonNegativeInteger">
<xsd:annotation>
<xsd:documentation>
Each record within a SITUATION may iterate through a series of versions during its life time. The SITUATION record version uniquely identifies the version of a particular record within a SITUATION. It is generated and used by systems external to DATEX 2.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="situationRecordVersionTime" type="D2LogicalModel:DateTime">
<xsd:annotation>
<xsd:documentation>
The date/time that this current version of the SITUATIONRecord was written into the database of the supplier which is involved in the data exchange.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:annotation>
<xsd:documentation>
The date/time that the current version of the SITUATION Record was written into the database of the original supplier in the supply chain.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:group>
<xsd:group name="Datex2SituationGroup">
<xsd:annotation>
<xsd:documentation>Datex2 SITUATION common elements.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element minOccurs="0" name="probabilityOfOccurrence" type="D2LogicalModel:ProbabilityOfOccurrenceEnum">
<xsd:annotation>
<xsd:documentation>
An assessment of the degree of likelihood that the reported event will occur.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="Source" type="D2LogicalModel:Source"/>
<xsd:element minOccurs="0" name="validity" type="D2LogicalModel:Validity"/>
</xsd:sequence>
</xsd:group>
<xsd:group name="Datex2RoadGroup">
<xsd:annotation>
<xsd:documentation>Datex2 Trrffic element road.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element minOccurs="0" name="impact" type="D2LogicalModel:Impact">
<xsd:annotation>
<xsd:documentation>Impact of Road SITUATION as specified by Datex2.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="cause" type="D2LogicalModel:Cause">
<xsd:annotation>
<xsd:documentation>
Impact of Road SITUATION as specified by Datex2 model.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="generalPublicComment" type="D2LogicalModel:Comment">
<xsd:annotation>
<xsd:documentation>Datex 2 comments for public use.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="nonGeneralPublicComment" type="D2LogicalModel:Comment">
<xsd:annotation>
<xsd:documentation>Ccomments not for public use.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="groupOfLocations" type="D2LogicalModel:GroupOfLocations">
<xsd:annotation>
<xsd:documentation>
Datex 2 model of where event ois taking place on the road.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:group>
<xsd:group name="Datex2OtherGroup">
<xsd:annotation>
<xsd:documentation>Datex2 Tarffic element.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element minOccurs="0" name="management" type="D2LogicalModel:Management"/>
<xsd:element minOccurs="0" name="situationRecordExtension" type="D2LogicalModel:ExtensionType"/>
<xsd:element minOccurs="0" name="trafficElementExtension" type="D2LogicalModel:ExtensionType"/>
</xsd:sequence>
</xsd:group>
<xsd:complexType name="AffectedRoadStructure">
<xsd:annotation>
<xsd:documentation>
Type for Raod scope for scope of SITUATION or effect.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element minOccurs="0" name="Road" type="D2LogicalModel:RoadsideReferencePointLinear">
<xsd:annotation>
<xsd:documentation>AFfected Road as described by a Date2x location.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:group ref="ProjectionGroup">
<xsd:annotation>
<xsd:documentation>
Optional spatial projection of road. Can be used to distriute the path of the road to systems that do not already hold it. To pass just a Reference, use Datex2 location.
</xsd:documentation>
</xsd:annotation>
</xsd:group>
<xsd:element minOccurs="0" ref="Extensions"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType abstract="true" name="OptionalTrafficElementStructure">
<xsd:annotation>
<xsd:documentation>
An event which is not planned by the traffic OPERATOR, which is affecting, or has the potential to affect traffic flow. This SIRI-SX element embeds the Datex2 TrafficElement, making all elements optional because they may alternatvielky be specified by common SIRI-SRX SITUATION elements.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:group ref="Datex2ManagementGroup"/>
<xsd:group ref="Datex2SituationGroup"/>
<xsd:group ref="Datex2RoadGroup"/>
<xsd:group ref="Datex2OtherGroup"/>
</xsd:sequence>
</xsd:complexType>
<!-- ===Source================================================= -->
<xsd:simpleType name="SituationSourceTypeEnumeration">
<xsd:annotation>
<xsd:documentation>Values for Type of Source.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="directReport"/>
<xsd:enumeration value="email"/>
<xsd:enumeration value="phone"/>
<xsd:enumeration value="fax"/>
<xsd:enumeration value="post"/>
<xsd:enumeration value="feed"/>
<xsd:enumeration value="radio"/>
<xsd:enumeration value="tv"/>
<xsd:enumeration value="web"/>
<xsd:enumeration value="pager"/>
<xsd:enumeration value="text"/>
<xsd:enumeration value="other"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="SituationSourceStructure">
<xsd:annotation>
<xsd:documentation>Type for a source, i.e. provider of information.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element minOccurs="0" name="Country" type="xsd:NMTOKEN">
<xsd:annotation>
<xsd:documentation>Country of origin of source element.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="SourceType" type="SituationSourceTypeEnumeration">
<xsd:annotation>
<xsd:documentation>Nature of Source.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:group ref="SituationSourceDetailsGroup">
<xsd:annotation>
<xsd:documentation>
Further contact details about source. May be used for udpoates or verifcation.
</xsd:documentation>
</xsd:annotation>
</xsd:group>
<xsd:element minOccurs="0" name="SourceMethod" type="D2LogicalModel:SourceTypeEnum">
<xsd:annotation>
<xsd:documentation>Nature of method used to get Source.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="AgentReference" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
Reference to an Agent, i.e. Capture client user who input a SITUATION. Available for use in intranet exchange of SITUATIONs.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="Name" type="NaturalLanguageStringStructure">
<xsd:annotation>
<xsd:documentation>Name of for source.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="SourceRole" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Job title of Source.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="TimeOfCommunication" type="xsd:dateTime">
<xsd:annotation>
<xsd:documentation>
Time of communication of message, if different from creation time.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="ExternalCode" type="xsd:string">
<xsd:annotation>
<xsd:documentation>External system reference to SITUATION.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="SourceFile" type="xsd:anyURI">
<xsd:annotation>
<xsd:documentation>
Electronic file / attachment containing information about SITUATION.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" ref="Extensions"/>
</xsd:sequence>
</xsd:complexType>
<xsd:group name="SituationSourceDetailsGroup">
<xsd:annotation>
<xsd:documentation>Group of source details.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element minOccurs="0" name="Email" type="EmailAddressType">
<xsd:annotation>
<xsd:documentation>Email of Supplier of information.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="Phone" type="PhoneType">
<xsd:annotation>
<xsd:documentation>Phone number of Supplier of information.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="Fax" type="PhoneType">
<xsd:annotation>
<xsd:documentation>Fax number of Supplier of information.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="Web" type="xsd:anyURI">
<xsd:annotation>
<xsd:documentation>
Information was obtained from a web site URL of site and/or page.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="Other" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Other information about source.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:group>
<!-- ===Status================================================= -->
<xsd:group name="StatusGroup">
<xsd:annotation>
<xsd:documentation>Status elements.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element minOccurs="0" name="Verification">
<xsd:annotation>
<xsd:documentation>Whether the SITUATION has been verified.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="VerificationStatusEnumeration"/>
</xsd:simpleType>
</xsd:element>
<xsd:element default="open" minOccurs="0" name="Progress" type="WorkflowStatusEnumeration">
<xsd:annotation>
<xsd:documentation>
ProgressStatus. One of a specified set of overall processing states assigned to SITUATION. For example, 'Draft' for not yet published; 'Published' for live SITUATIONs; 'Closed' indicates a completed SITUATION.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="QualityIndex" type="QualityEnumeration">
<xsd:annotation>
<xsd:documentation>Assessement of likely correctness of data.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="Reality" type="D2LogicalModel:InformationStatusEnum">
<xsd:annotation>
<xsd:documentation>Whether SITUATION is real or a test.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="Likelihood" type="D2LogicalModel:ProbabilityOfOccurrenceEnum">
<xsd:annotation>
<xsd:documentation>Likellihoo of a future sutuation happening.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="Publication" type="PublicationStatusType">
<xsd:annotation>
<xsd:documentation>
Publishing status one of a specified set of substates to which a SITUATION can be assigned.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:group>
<xsd:simpleType name="WorkflowStatusEnumeration">
<xsd:annotation>
<xsd:documentation>Values for Entry Status.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="draft"/>
<xsd:enumeration value="approvedDraft"/>
<xsd:enumeration value="open"/>
<xsd:enumeration value="published"/>
<xsd:enumeration value="closing"/>
<xsd:enumeration value="closed"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="PublicationStatusType">
<xsd:annotation>
<xsd:documentation>Type for Publication status.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:NMTOKEN"/>
</xsd:simpleType>
<xsd:simpleType name="QualityEnumeration">
<xsd:annotation>
<xsd:documentation>Type for Quality of data indication.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="certain"/>
<xsd:enumeration value="veryReliable"/>
<xsd:enumeration value="reliable"/>
<xsd:enumeration value="probablyReliable"/>
<xsd:enumeration value="unconfirmed"/>
</xsd:restriction>
</xsd:simpleType>
<!-- ===Time=========================================== -->
<xsd:group name="TemporalGroup">
<xsd:annotation>
<xsd:documentation>Elements affecting temporal scope of SITUATION.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" name="ValidityPeriod" type="HalfOpenTimestampOutputRangeStructure">
<xsd:annotation>
<xsd:documentation>
Overall inclusive Period of applicability of SITUATION.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="Repetitions">
<xsd:annotation>
<xsd:documentation>
situation applies only on the repeated day types within the overall validity period(s). For example Sunday.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" ref="DayType"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element minOccurs="0" name="PublicationWindow" type="HalfOpenTimestampOutputRangeStructure">
<xsd:annotation>
<xsd:documentation>
Publication Window for SITUATION if different from validity period.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:group>
<!-- ===Classification=========================================== -->
<xsd:group name="ClassifierGroup">
<xsd:annotation>
<xsd:documentation>
Structured Classification Elements. Corresponds to TPEG 18 Event Reason.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:group ref="ReasonGroup"/>
<xsd:element minOccurs="0" ref="Severity"/>
<xsd:element minOccurs="0" name="Priority" type="xsd:nonNegativeInteger">
<xsd:annotation>
<xsd:documentation>Arbitrary rating of priority 1-High.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="Sensitivity" type="SensitivityEnumeration">
<xsd:annotation>
<xsd:documentation>Confidentiality of SITUATION.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element default="public" minOccurs="0" name="Audience" type="AudienceEnumeration">
<xsd:annotation>
<xsd:documentation>Intended audience of SITUATION.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="ScopeType">
<xsd:annotation>
<xsd:documentation>Nature of scope, e.g. general, network.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="ScopeTypeEnumeration"/>
</xsd:simpleType>
</xsd:element>
<xsd:element minOccurs="0" ref="ReportType"/>
<xsd:element default="false" minOccurs="0" name="Planned" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation>
Whether the SITUATION was planned (eg engineering works) or unplanned (eg service alteration). Default is 'false', i.e. unplanned.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="Keywords" type="xsd:NMTOKENS">
<xsd:annotation>
<xsd:documentation>Arbitrary application specific classifiers.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="SecondaryReasons">
<xsd:annotation>
<xsd:documentation>additioanl reasons.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence maxOccurs="unbounded">
<xsd:element name="Reason">
<xsd:annotation>
<xsd:documentation>Reason.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:group ref="ReasonGroup"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:group>
<xsd:group name="ReasonGroup">
<xsd:annotation>
<xsd:documentation>StructuredReason Elements.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:group ref="TpegReasonGroup"/>
<xsd:group minOccurs="0" ref="TpegSubReasonGroup"/>
<xsd:element minOccurs="0" name="PublicEventReason" type="D2LogicalModel:PublicEventTypeEnum">
<xsd:annotation>
<xsd:documentation>Classifier of Pub;ic Event.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="ReasonName" type="NaturalLanguageStringStructure">
<xsd:annotation>
<xsd:documentation>
Text explanation of SITUATION reason. Not normally needed. (Unbounded since SIRI 2.0)
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:group>
<xsd:simpleType name="SensitivityEnumeration">
<xsd:annotation>
<xsd:documentation>Values for Sensitivity.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="veryHigh"/>
<xsd:enumeration value="high"/>
<xsd:enumeration value="medium"/>
<xsd:enumeration value="low"/>
<xsd:enumeration value="veryLow"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="AudienceEnumeration">
<xsd:annotation>
<xsd:documentation>Values for Audience.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="public"/>
<xsd:enumeration value="emergencyServices"/>
<xsd:enumeration value="staff"/>
<xsd:enumeration value="stationStaff"/>
<xsd:enumeration value="management"/>
<xsd:enumeration value="infoServices"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="NatureEnumeration">
<xsd:annotation>
<xsd:documentation>Type for Quality of data indication.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="plannedOnly"/>
<xsd:enumeration value="unplannedOnly"/>
<xsd:enumeration value="both"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="ScopeTypeEnumeration">
<xsd:annotation>
<xsd:documentation>Values for ScopeType.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="general"/>
<xsd:enumeration value="operator"/>
<xsd:enumeration value="network"/>
<xsd:enumeration value="route"/>
<xsd:enumeration value="line"/>
<xsd:enumeration value="place"/>
<xsd:enumeration value="stopPlace"/>
<xsd:enumeration value="stopPlaceComponent"/>
<xsd:enumeration value="stopPoint"/>
<xsd:enumeration value="vehicleJourney"/>
<xsd:enumeration value="datedVehicleJourney"/>
<xsd:enumeration value="connectionLink"/>
<xsd:enumeration value="interchange"/>
<xsd:enumeration value="allPT"/>
<xsd:enumeration value="road"/>
</xsd:restriction>
</xsd:simpleType>
<!-- ====Affects Descriptions======================================= -->
<xsd:complexType name="AffectsScopeStructure">
<xsd:annotation>
<xsd:documentation>
Type for Location model for scope of SITUATION or effect.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element minOccurs="0" name="AreaOfInterest" type="D2LogicalModel:AreaOfInterestEnum">
<xsd:annotation>
<xsd:documentation>Affected overall Geographic scope.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="Operators">
<xsd:annotation>
<xsd:documentation>
Affected OPERATORs, If absent, taken from context. If present, any OPERATORs stated completely replace those from context.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:choice>
<xsd:element name="AllOperators" type="EmptyType">
<xsd:annotation>
<xsd:documentation>All OPERATORs.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="unbounded" name="AffectedOperator" type="AffectedOperatorStructure">
<xsd:annotation>
<xsd:documentation>Operators of services affected by SITUATION.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
<xsd:element minOccurs="0" name="Networks">
<xsd:annotation>
<xsd:documentation>Networks affected by SITUATION.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" name="AffectedNetwork">
<xsd:annotation>
<xsd:documentation>Nrtworks and Route(s) affected by SITUATION.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="AffectedNetworkStructure"/>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element minOccurs="0" name="StopPoints">
<xsd:annotation>
<xsd:documentation>STOP POINTs affected by SITUATION.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" name="AffectedStopPoint" type="AffectedStopPointStructure">
<xsd:annotation>
<xsd:documentation>Stop affected by SITUATION.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element minOccurs="0" name="StopPlaces">
<xsd:annotation>
<xsd:documentation>
Places other than STOP POINTs affected by SITUATION.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" name="AffectedStopPlace" type="AffectedStopPlaceStructure">
<xsd:annotation>
<xsd:documentation>Stop affected by SITUATION.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element minOccurs="0" name="Places">
<xsd:annotation>
<xsd:documentation>
Places other than STOP POINTs affected by SITUATION.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" name="AffectedPlace" type="AffectedPlaceStructure">
<xsd:annotation>
<xsd:documentation>Stop affected by SITUATION.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element minOccurs="0" name="VehicleJourneys">
<xsd:annotation>
<xsd:documentation>Specific journeys affected by SITUATION.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" name="AffectedVehicleJourney" type="AffectedVehicleJourneyStructure">
<xsd:annotation>
<xsd:documentation>Journeys affected by the SITUATION.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element minOccurs="0" name="Vehicles">
<xsd:annotation>
<xsd:documentation>
Specific vehicles affected by SITUATION. (+SIRI v2.0)
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" name="AffectedVehicle" type="AffectedVehicleStructure">
<xsd:annotation>
<xsd:documentation>Vehicles affected by the SITUATION. (+SIRi v2.0)</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element minOccurs="0" name="Roads" type="AffectedRoadsStructure">
<xsd:annotation>
<xsd:documentation>Roads affected by.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" ref="Extensions"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="AffectedRoadsStructure">
<xsd:annotation>
<xsd:documentation>
Type for Location model for scope of SITUATION or effect.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element minOccurs="0" name="Datex2Locations" type="D2LogicalModel:GroupOfLocations">
<xsd:annotation>
<xsd:documentation>
Refereences to road network locations affected by the SITUATION.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="AffectedRoad" type="AffectedRoadStructure">
<xsd:annotation>
<xsd:documentation>Description of affected road.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<!-- ====Text Descriptions======================================= -->
<xsd:complexType name="ImageStructure">
<xsd:annotation>
<xsd:documentation>Type for image.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:choice>
<xsd:element name="ImageRef" type="xsd:anyURI">
<xsd:annotation>
<xsd:documentation>Reference to an image.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="ImageBinary" type="xsd:base64Binary">
<xsd:annotation>
<xsd:documentation>Embedded image.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:choice>
<xsd:element minOccurs="0" name="ImageContent" type="ImageContentEnumeration">
<xsd:annotation>
<xsd:documentation>Categorisation of image content.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:group name="DescriptionGroup">
<xsd:annotation>
<xsd:documentation>
Text description of SITUATION. Some or all of this may have been generated from the other structured content elements. Where text has been overriden this is indicated.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element default="en" minOccurs="0" name="Language" type="xsd:NMTOKEN">
<xsd:annotation>
<xsd:documentation>Default language.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="Summary" type="DefaultedTextStructure">
<xsd:annotation>
<xsd:documentation>
Summary of SITUATION. If absent should be generated from structure elements / and or by condensing Description. (Unbounded since SIRI 2.0)
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="Description" type="DefaultedTextStructure">
<xsd:annotation>
<xsd:documentation>
Description of SITUATION. Should not repeat any strap line included in Summary. (Unbounded since SIRI 2.0)
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="Detail" type="DefaultedTextStructure">
<xsd:annotation>
<xsd:documentation>
Additional descriptive details about the SITUATION (Unbounded since SIRI 2.0).
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="Advice" type="DefaultedTextStructure">
<xsd:annotation>
<xsd:documentation>
Further advice to passengers. (Unbounded since SIRI 2.0)
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="Internal" type="DefaultedTextStructure">
<xsd:annotation>
<xsd:documentation>Further advice to passengers.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="Images">
<xsd:annotation>
<xsd:documentation>Any images associated with SITUATION.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" name="Image">
<xsd:annotation>
<xsd:documentation>Image description.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="ImageStructure"/>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element minOccurs="0" name="InfoLinks">
<xsd:annotation>
<xsd:documentation>
Hyperlinks to other resources associated with SITUATION.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" name="InfoLink" type="InfoLinkStructure">
<xsd:annotation>
<xsd:documentation>Hyperlink description.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:group>
<xsd:simpleType name="ImageContentEnumeration">
<xsd:annotation>
<xsd:documentation>Values for image content.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="map"/>
<xsd:enumeration value="graphic"/>
<xsd:enumeration value="logo"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="DefaultedTextStructure">
<xsd:annotation>
<xsd:documentation>Type for a text that may be overridden.</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="NaturalLanguageStringStructure">
<xsd:attribute default="true" name="overridden" type="xsd:boolean" use="optional">
<xsd:annotation>
<xsd:documentation>
Whether the text value has been overridden from the generated default. Default is 'true'.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:simpleType name="LinkContentEnumeration">
<xsd:annotation>
<xsd:documentation>Values for image content.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="timetable"/>
<xsd:enumeration value="relatedSite"/>
<xsd:enumeration value="details"/>
<xsd:enumeration value="advice"/>
<xsd:enumeration value="other"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="InfoLinkStructure">
<xsd:annotation>
<xsd:documentation>Type for a general hyperlink.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Uri" type="xsd:anyURI">
<xsd:annotation>
<xsd:documentation>URI for link.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="Label" type="NaturalLanguageStringStructure">
<xsd:annotation>
<xsd:documentation>Label for Link. (Unbounded since SIRI 2.0)</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="Image" type="ImageStructure">
<xsd:annotation>
<xsd:documentation>Image to use when presenting hyperlink.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="LinkContent" type="LinkContentEnumeration">
<xsd:annotation>
<xsd:documentation>Categorisation of link content.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<!-- ====Effects======================================= -->
<xsd:complexType name="PtConsequencesStructure">
<xsd:annotation>
<xsd:documentation>Type for list of effects.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" name="Consequence" type="PtConsequenceStructure">
<xsd:annotation>
<xsd:documentation>
Nature of the effect to disrupt (or restore) service, and further details.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="PtConsequenceStructure">
<xsd:annotation>
<xsd:documentation>Type for disruption.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element minOccurs="0" name="Period" type="HalfOpenTimestampOutputRangeStructure">
<xsd:annotation>
<xsd:documentation>
Period of effect of disruption, if different from that of SITUATION.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="Condition"/>
<xsd:element name="Severity" type="SeverityEnumeration">
<xsd:annotation>
<xsd:documentation>
Severity of disruption if different from that of SITUATION. TPEG pti26
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="Affects" type="AffectsScopeStructure">
<xsd:annotation>
<xsd:documentation>
Parts of transport network affected by disruption if different from that of SITUATION.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="Suitabilities">
<xsd:annotation>
<xsd:documentation>Effect on different passenger needs.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" name="Suitability" type="acsb:SuitabilityStructure">
<xsd:annotation>
<xsd:documentation>Effect on a passenger need.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element minOccurs="0" name="Advice" type="PtAdviceStructure">
<xsd:annotation>
<xsd:documentation>Advice to passengers.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="Blocking" type="BlockingStructure">
<xsd:annotation>
<xsd:documentation>How Disruption should be handled in Info systems.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="Boarding" type="BoardingStructure">
<xsd:annotation>
<xsd:documentation>
Change to normal boarding activity allowed at stop.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="Delays" type="DelaysStructure"/>
<xsd:element minOccurs="0" name="Casualties" type="CasualtiesStructure">
<xsd:annotation>
<xsd:documentation>Information on casualties.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="Easements" type="EasementsStructure">
<xsd:annotation>
<xsd:documentation>
Description of fare exceptions allowed because of disruption.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" ref="Extensions"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="BoardingStructure">
<xsd:annotation>
<xsd:documentation>Type for boarding restrictions.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element default="alighting" minOccurs="0" name="ArrivalBoardingActivity" type="ArrivalBoardingActivityEnumeration">
<xsd:annotation>
<xsd:documentation>
Type of boarding and alighting allowed at stop. Default is 'Alighting'.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element default="boarding" minOccurs="0" name="DepartureBoardingActivity" type="DepartureBoardingActivityEnumeration">
<xsd:annotation>
<xsd:documentation>
Type of alighting allowed at stop. Default is 'Boarding'.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="PtAdviceStructure">
<xsd:annotation>
<xsd:documentation>Type for advice.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element minOccurs="0" name="AdviceRef" type="AdviceRefStructure">
<xsd:annotation>
<xsd:documentation>
Reference to a standardis advisory NOTICE to be given to passengers if a particular condition arises .
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="Details" type="NaturalLanguageStringStructure">
<xsd:annotation>
<xsd:documentation>
Further Textual advice to passengers. (Unbounded since SIRI 2.0)
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="BlockingStructure">
<xsd:annotation>
<xsd:documentation>Type for blocking.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element default="false" minOccurs="0" name="JourneyPlanner" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation>
Whether information about parts of the network identified by Affects should be blocked from computation made by a Journey Planner that has a real-tiem feed of the SITUATIONs. Default is 'false'; do not suppress.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element default="false" minOccurs="0" name="RealTime" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation>
Whether information about parts of the network identified by Affects should be blocked from real-time departureinfo systems. Default is 'false'; do not suppress.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="EasementsStructure">
<xsd:annotation>
<xsd:documentation>Type for easement info.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element minOccurs="0" name="TicketRestrictions" type="TicketRestrictionEnumeration">
<xsd:annotation>
<xsd:documentation>
Ticket restriction conditiosn in effect. TPEG pti table pti25.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="Easement" type="NaturalLanguageStringStructure">
<xsd:annotation>
<xsd:documentation>
Description of fare exceptions allowed because of disruption. (Unbounded since SIRI 2.0)
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="EasementRef" type="xsd:normalizedString">
<xsd:annotation>
<xsd:documentation>
Refernce to a fare exceptions code that is allowed because of the disruption. An easement may relax a fare condition, for exampel "You may use your metro ticket on the bus', or 'You may use your bus ticket in teh metro between these two stops'.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<!--==Delay =========================================== -->
<xsd:simpleType name="DelayBandEnumeration">
<xsd:annotation>
<xsd:documentation>
Type for allwoed values of Dela band. Based on Datex2
</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:normalizedString">
<xsd:enumeration value="delayTwoMinutes"/>
<xsd:enumeration value="upToThreeMinutes"/>
<xsd:enumeration value="upToFourMinutes"/>
<xsd:enumeration value="upToFiveMinutes"/>
<xsd:enumeration value="upToEightMinutes"/>
<xsd:enumeration value="negligible"/>
<xsd:enumeration value="upToTenMinutes"/>
<xsd:enumeration value="betweenTenMinutesAndThirtyMinutes"/>
<xsd:enumeration value="betweenThirtyMinutesAndOneHour"/>
<xsd:enumeration value="betweenOneHourAndThreeHours"/>
<xsd:enumeration value="betweenThreeHoursAndSixHours"/>
<xsd:enumeration value="longerThanSixHours"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="DelaysStructure">
<xsd:annotation>
<xsd:documentation>Type for easement info.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element minOccurs="0" name="DelayBand" type="DelayBandEnumeration">
<xsd:annotation>
<xsd:documentation>Time band into which delay will fall.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="DelayType" type="D2LogicalModel:DelaysTypeEnum">
<xsd:annotation>
<xsd:documentation>Category of delay.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="Delay" type="PositiveDurationType">
<xsd:annotation>
<xsd:documentation>
Additional journey time needed to overcome disruption.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<!-- ======================================================================= -->
<!-- ======================================================================= -->
</xsd:schema>

This XML schema documentation has been generated with DocFlex/XML 1.9.5 using DocFlex/XML XSDDoc 2.8.1 template set.
DocFlex/XML is a tool for programming and running highly sophisticated documentation and reports generators by the data obtained from any kind of XML files. The actual doc-generators are implemented in the form of special templates that are designed visually using a high-quality Template Designer GUI basing on the XML schema (or DTD) files describing the data source XML.
DocFlex/XML XSDDoc is a commercial template application of DocFlex/XML that implements a high-quality XML Schema documentation generator with simultaneous support of framed multi-file HTML, single-file HTML and RTF output formats. (More formats are planned in the future).
A commercial license for "DocFlex/XML XSDDoc" will allow you:
  • To configure the generated documentation so much as you want. Thanks to our template technology, it was possible to support > 400 template parameters, which work the same as "options" of ordinary doc-generators. The parameters are organized in nested groups, which form a parameter tree. Most of them have their default values calculated dynamically from a few primary parameters. So, you'll never need to specify all of them. That will give you swift and effective control over the generated content!
  • To use certain features disabled in the free mode (such as the full documenting of substitution groups).
  • To select only the initial, imported, included, redefined XML schemas to be documented or only those directly specified by name.
  • To include only XML schema components specified by name.
  • To document local element components both globally and locally (similar to attributes).
  • To allow/suppress unification of local elements by type.
  • To enable/disable reproducing of namespace prefixes.
  • To use PlainDoc.tpl main template to generate all the XML schema documentation in a signle-file form as both HTML and incredible quality RTF output.
  • To format your annotations with XHTML tags and reproduce that formatting both in HTML and RTF output.
  • To insert images in your annotations using XHTML <img> tags (supported both in HTML and RTF output).
  • To remove this very advertisement text!
Once having only such a license, you will be able to run the fully-featured XML schema documentation generator both with DocFlex/XML (Full Edition) and with DocFlex/XML RE, which is a reduced free edition containing only the template interpretor / output generator. No other licenses will be required!
But this is not all. In addition to it, a commercial license for "DocFlex/XML SDK" will allow you to modify the XSDDoc templates themselves as much as you want. You will be able to achieve whatever was impossible to do with the template parameters only. And, of course, you could develop any template applications by your own!
Please note that by purchasing a license for this software, you not only acquire a useful tool, you will also make an important investment in its future development, the results of which you could enjoy later by yourself. Every single your purchase matters and makes a difference for us!
To purchase a license, please follow this link: http://www.filigris.com/shop/