Skip to content

Instantly share code, notes, and snippets.

@skinkie
Created June 2, 2016 15:41
Show Gist options
  • Save skinkie/b05998d2b6bfc4509000d9a93884e08c to your computer and use it in GitHub Desktop.
Save skinkie/b05998d2b6bfc4509000d9a93884e08c to your computer and use it in GitHub Desktop.
Dutch NeTEx BISON
<xs:schema xmlns:mstns="http://www.netex.org.uk/netex" xmlns="http://www.netex.org.uk/netex" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml/3.2" id="NewDataSet" targetNamespace="http://www.netex.org.uk/netex" attributeFormDefault="qualified" elementFormDefault="qualified">
<xs:import namespace="http://www.opengis.net/gml/3.2" schemaLocation="gml-pos.xsd"/>
<xs:complexType name="name">
<xs:sequence>
<xs:element name="Name" type="xs:string" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="version" form="unqualified" type="xs:string"/>
<xs:attribute name="id" form="unqualified" type="xs:string"/>
</xs:complexType>
<xs:complexType name="ref">
<xs:attribute name="ref" form="unqualified" type="xs:string"/>
</xs:complexType>
<xs:complexType name="refVersion">
<xs:attribute name="version" form="unqualified" type="xs:string"/>
<xs:attribute name="ref" form="unqualified" type="xs:string"/>
</xs:complexType>
<xs:complexType name="refClass">
<xs:attribute name="nameOfRefClass" form="unqualified" type="xs:string"/>
<xs:attribute name="ref" form="unqualified" type="xs:string"/>
</xs:complexType>
<xs:complexType name="location">
<xs:sequence>
<xs:element ref="gml:pos"/>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="Colour">
<xs:restriction base="xs:hexBinary">
<xs:maxLength value="6"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="projections">
<xs:sequence>
<xs:element name="PointProjectionRef" type="refClass" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="pointOnRoute">
<xs:sequence>
<xs:choice>
<xs:element name="ActivationPointRef" type="ref" minOccurs="0"/>
<xs:element name="RoutePointRef" type="ref" minOccurs="0"/>
</xs:choice>
</xs:sequence>
<xs:attribute name="version" form="unqualified" type="xs:string"/>
<xs:attribute name="id" form="unqualified" type="xs:string"/>
<xs:attribute name="order" form="unqualified" type="xs:nonNegativeInteger"/>
</xs:complexType>
<xs:complexType name="route">
<xs:sequence>
<xs:element name="LineRef" type="refVersion" minOccurs="0"/>
<xs:element name="pointsInSequence" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="PointOnRoute" type="pointOnRoute" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="version" form="unqualified" type="xs:string"/>
<xs:attribute name="id" form="unqualified" type="xs:string"/>
</xs:complexType>
<xs:complexType name="routePoint">
<xs:sequence>
<xs:element name="Location" type="location" minOccurs="1"/>
</xs:sequence>
<xs:attribute name="version" form="unqualified" type="xs:string"/>
<xs:attribute name="id" form="unqualified" type="xs:string"/>
</xs:complexType>
<xs:complexType name="keyList">
<xs:sequence>
<xs:element name="KeyValue" minOccurs="1" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="Key" type="xs:string" minOccurs="1"/>
<xs:element name="Value" type="xs:string" minOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="activationPoint">
<xs:sequence>
<xs:element name="keyList" type="keyList" minOccurs="0"/>
<xs:element name="Location" type="location" minOccurs="0"/>
<xs:element name="PrivateCode" type="xs:string" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="version" form="unqualified" type="xs:string"/>
<xs:attribute name="id" form="unqualified" type="xs:string"/>
</xs:complexType>
<xs:complexType name="scheduledStopPoint">
<xs:sequence>
<xs:element name="keyList" type="keyList" minOccurs="1"/>
<xs:element name="Name" type="xs:string" minOccurs="1"/>
<xs:element name="projections" type="projections" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="version" form="unqualified" type="xs:string"/>
<xs:attribute name="id" form="unqualified" type="xs:string"/>
</xs:complexType>
<xs:complexType name="dataSource">
<xs:sequence>
<xs:element name="ShortName" type="xs:string" minOccurs="1"/>
<xs:element name="Description" type="xs:string" minOccurs="1"/>
<xs:element name="Email" type="xs:string" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="version" form="unqualified" type="xs:string"/>
<xs:attribute name="id" form="unqualified" type="xs:string"/>
</xs:complexType>
<xs:complexType name="availabilityCondition">
<xs:sequence>
<xs:element name="Name" type="xs:string" minOccurs="0"/>
<xs:element name="FromDate" type="xs:dateTime" minOccurs="1"/>
<xs:element name="ToDate" type="xs:dateTime" minOccurs="1"/>
<xs:element name="ValidDayBits" minOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="[0-1]+"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
<xs:attribute name="version" form="unqualified" type="xs:string"/>
<xs:attribute name="id" form="unqualified" type="xs:string"/>
</xs:complexType>
<xs:complexType name="serviceJourney">
<xs:sequence>
<xs:element name="validityConditions" minOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="AvailabilityConditionRef" type="ref" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="keyList" type="keyList" minOccurs="0"/>
<xs:element name="TypeOfProductCategoryRef" type="ref" minOccurs="0"/>
<xs:element name="Monitored" type="xs:boolean" minOccurs="0"/>
<xs:element name="DepartureTime" type="xs:string" minOccurs="1"/>
<xs:element name="JourneyPatternRef" type="refClass" minOccurs="1"/>
<xs:element name="TimeDemandTypeRef" type="refVersion" minOccurs="1"/>
<xs:element name="BlockRef" type="refVersion" minOccurs="0"/>
<xs:element name="OperatorRef" type="ref" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="version" form="unqualified" type="xs:string"/>
<xs:attribute name="id" form="unqualified" type="xs:string"/>
</xs:complexType>
<xs:complexType name="responsibilityRoleAssignment">
<xs:sequence>
<xs:element name="StakeholderRole" type="xs:string" minOccurs="0"/>
<xs:element name="ResponsibleOrganisationRef" type="ref" minOccurs="0"/>
<xs:element name="ResponsibleAreaRef" type="ref" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="version" form="unqualified" type="xs:string"/>
<xs:attribute name="id" form="unqualified" type="xs:string"/>
</xs:complexType>
<xs:complexType name="responsibilitySet">
<xs:sequence>
<xs:element name="Name" type="xs:string" minOccurs="0"/>
<xs:element name="roles" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ResponsibilityRoleAssignment" type="responsibilityRoleAssignment" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="version" form="unqualified" type="xs:string"/>
<xs:attribute name="id" form="unqualified" type="xs:string"/>
</xs:complexType>
<xs:complexType name="noticeAssignment">
<xs:sequence>
<xs:element name="NoticeRef" type="ref" minOccurs="1"/>
<xs:element name="NoticedObjectRef" type="ref" minOccurs="1"/>
</xs:sequence>
<xs:attribute name="version" form="unqualified" type="xs:string"/>
<xs:attribute name="id" form="unqualified" type="xs:string"/>
<xs:attribute name="order" form="unqualified" type="xs:nonNegativeInteger"/>
</xs:complexType>
<xs:complexType name="frameDefaults">
<xs:sequence>
<xs:element name="DefaultDataSourceRef" type="ref" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="version">
<xs:sequence>
<xs:element name="StartDate" type="xs:dateTime" minOccurs="1"/>
<xs:element name="EndDate" type="xs:dateTime" minOccurs="1"/>
<xs:element name="Description" type="xs:string" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="id" form="unqualified" type="xs:string"/>
<xs:attribute name="version" form="unqualified" type="xs:string"/>
</xs:complexType>
<xs:complexType name="versions">
<xs:sequence>
<xs:element name="Version" type="version" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="line">
<xs:sequence>
<xs:element name="keyList" type="keyList" minOccurs="0"/>
<xs:element name="Name" type="xs:string" minOccurs="1"/>
<xs:element name="TransportMode" type="xs:string" minOccurs="1"/>
<xs:element name="PublicCode" type="xs:string" minOccurs="1"/>
<xs:element name="AuthorityRef" type="ref" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="Monitored" type="xs:boolean" minOccurs="0"/>
<xs:element name="Presentation" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="Colour" type="Colour" minOccurs="0"/>
<xs:element name="TextColour" type="Colour" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AccessibilityAssessment" minOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="MobilityImpairedAccess" type="xs:boolean" minOccurs="0"/>
<xs:element name="Comment" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="version" form="unqualified" type="xs:string"/>
<xs:attribute name="id" form="unqualified" type="xs:string"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="version" form="unqualified" type="xs:string"/>
<xs:attribute name="id" form="unqualified" type="xs:string"/>
<xs:attribute name="responsibilitySetRef" form="unqualified" type="xs:string"/>
</xs:complexType>
<xs:complexType name="block">
<xs:attribute name="version" form="unqualified" type="xs:string"/>
<xs:attribute name="id" form="unqualified" type="xs:string"/>
</xs:complexType>
<xs:complexType name="blocks">
<xs:sequence>
<xs:element name="Block" type="block" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="vehicleScheduleFrame">
<xs:sequence>
<xs:element name="Name" type="xs:string" minOccurs="0"/>
<xs:element name="blocks" type="blocks" minOccurs="1"/>
</xs:sequence>
<xs:attribute name="version" form="unqualified" type="xs:string"/>
<xs:attribute name="id" form="unqualified" type="xs:string"/>
</xs:complexType>
<xs:complexType name="timetableFrame">
<xs:sequence>
<xs:element name="Monitored" type="xs:boolean" minOccurs="0"/>
<xs:element name="contentValidityConditions" minOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="AvailabilityCondition" type="availabilityCondition" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="OperatorView" minOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="OperatorRef" type="ref" minOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="vehicleJourneys" minOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="ServiceJourney" type="serviceJourney" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="version" form="unqualified" type="xs:string"/>
<xs:attribute name="id" form="unqualified" type="xs:string"/>
</xs:complexType>
<xs:complexType name="stopPointInJourneyPattern">
<xs:sequence>
<xs:element name="ScheduledStopPointRef" type="ref" minOccurs="1"/>
<xs:element name="OnwardTimingLinkRef" type="ref" minOccurs="0"/>
<xs:element name="IsWaitPoint" type="xs:boolean" minOccurs="0"/>
<xs:element name="ForAlighting" type="xs:boolean" minOccurs="0"/>
<xs:element name="ForBoarding" type="xs:boolean" minOccurs="0"/>
<xs:element name="DestinationDisplayRef" type="ref" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="version" form="unqualified" type="xs:string"/>
<xs:attribute name="id" form="unqualified" type="xs:string"/>
<xs:attribute name="order" form="unqualified" type="xs:nonNegativeInteger"/>
</xs:complexType>
<xs:complexType name="timingPointInJourneyPattern">
<xs:sequence>
<xs:element name="TimingPointRef" type="ref" minOccurs="1"/>
<xs:element name="OnwardTimingLinkRef" type="ref" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="version" form="unqualified" type="xs:string"/>
<xs:attribute name="id" form="unqualified" type="xs:string"/>
<xs:attribute name="order" form="unqualified" type="xs:nonNegativeInteger"/>
</xs:complexType>
<xs:complexType name="serviceJourneyPattern">
<xs:sequence>
<xs:element name="Name" type="xs:string" minOccurs="0"/>
<xs:element name="RouteRef" type="ref" minOccurs="1"/>
<xs:element name="DestinationDisplayRef" type="ref" minOccurs="0"/>
<xs:element name="pointsInSequence" minOccurs="1">
<xs:complexType>
<xs:choice minOccurs="2" maxOccurs="unbounded">
<xs:element name="StopPointInJourneyPattern" type="stopPointInJourneyPattern" minOccurs="0"/>
<xs:element name="TimingPointInJourneyPattern" type="timingPointInJourneyPattern" minOccurs="0"/>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="version" form="unqualified" type="xs:string"/>
<xs:attribute name="id" form="unqualified" type="xs:string"/>
</xs:complexType>
<xs:complexType name="timingLink">
<xs:sequence>
<xs:element name="Distance" type="xs:nonNegativeInteger" minOccurs="1"/>
<xs:element name="FromPointRef" type="ref" minOccurs="1"/>
<xs:element name="ToPointRef" type="ref" minOccurs="1"/>
</xs:sequence>
<xs:attribute name="version" form="unqualified" type="xs:string"/>
<xs:attribute name="id" form="unqualified" type="xs:string"/>
<xs:attribute name="responsibilitySetRef" form="unqualified" type="xs:string"/>
</xs:complexType>
<xs:complexType name="journeyRunTime">
<xs:sequence>
<xs:element name="TimingLinkRef" type="refVersion" minOccurs="1"/>
<xs:element name="RunTime" type="xs:duration" minOccurs="1"/>
</xs:sequence>
<xs:attribute name="version" form="unqualified" type="xs:string"/>
<xs:attribute name="id" form="unqualified" type="xs:string"/>
</xs:complexType>
<xs:complexType name="journeyWaitTime">
<xs:sequence>
<xs:choice>
<xs:element name="ScheduledStopPointRef" type="refVersion" minOccurs="1"/>
<xs:element name="TimingPointRef" type="refVersion" minOccurs="1"/>
</xs:choice>
<xs:element name="WaitTime" type="xs:duration" minOccurs="1"/>
</xs:sequence>
<xs:attribute name="version" form="unqualified" type="xs:string"/>
<xs:attribute name="id" form="unqualified" type="xs:string"/>
</xs:complexType>
<xs:complexType name="timeDemandType">
<xs:sequence>
<xs:element name="Name" type="xs:string" minOccurs="0"/>
<xs:element name="runTimes" minOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="JourneyRunTime" type="journeyRunTime" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="waitTimes" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="JourneyWaitTime" type="journeyWaitTime" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="version" form="unqualified" type="xs:string"/>
<xs:attribute name="id" form="unqualified" type="xs:string"/>
</xs:complexType>
<xs:complexType name="timingPoint">
<xs:sequence>
<xs:element name="keyList" type="keyList" minOccurs="1"/>
<xs:element name="Name" type="xs:string" minOccurs="1"/>
<xs:element name="projections" type="projections" minOccurs="1"/>
</xs:sequence>
<xs:attribute name="version" form="unqualified" type="xs:string"/>
<xs:attribute name="id" form="unqualified" type="xs:string"/>
</xs:complexType>
<xs:complexType name="notice">
<xs:sequence>
<xs:element name="Name" type="xs:string" minOccurs="0"/>
<xs:element name="Text" type="xs:string" minOccurs="1"/>
</xs:sequence>
<xs:attribute name="version" form="unqualified" type="xs:string"/>
<xs:attribute name="id" form="unqualified" type="xs:string"/>
</xs:complexType>
<xs:complexType name="destinationDisplay">
<xs:sequence>
<xs:element name="Name" type="xs:string" minOccurs="1"/>
<xs:element name="ShortName" type="xs:string" minOccurs="0"/>
<xs:element name="vias" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="Via" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="version" form="unqualified" type="xs:string"/>
<xs:attribute name="id" form="unqualified" type="xs:string"/>
</xs:complexType>
<xs:complexType name="resourceFrame">
<xs:sequence>
<xs:element name="dataSources" minOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="DataSource" type="dataSource" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="responsibilitySets" minOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="ResponsibilitySet" type="responsibilitySet" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="typesOfValue" minOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="TypeOfProductCategory" type="name" minOccurs="1" maxOccurs="unbounded"/>
<xs:element name="PurposeOfGrouping" type="name" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="organisations" minOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="Operator" type="name" minOccurs="1" maxOccurs="unbounded"/>
<xs:element name="Authority" type="name" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="version" form="unqualified" type="xs:string"/>
<xs:attribute name="id" form="unqualified" type="xs:string"/>
</xs:complexType>
<xs:complexType name="serviceFrame">
<xs:sequence>
<xs:element name="routePoints" minOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="RoutePoint" type="routePoint" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="routes" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="Route" type="route" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="lines" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="Line" type="line" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="destinationDisplays" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="DestinationDisplay" type="destinationDisplay" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="scheduledStopPoints" minOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="ScheduledStopPoint" type="scheduledStopPoint" minOccurs="2" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="timingPoints" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="TimingPoint" type="timingPoint" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="timingLinks" minOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="TimingLink" type="timingLink" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="journeyPatterns" minOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="ServiceJourneyPattern" type="serviceJourneyPattern" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="timeDemandTypes" minOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="TimeDemandType" type="timeDemandType" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="notices" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="Notice" type="notice" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="noticeAssignments" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="NoticeAssignment" type="noticeAssignment" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="version" form="unqualified" type="xs:string"/>
<xs:attribute name="id" form="unqualified" type="xs:string"/>
</xs:complexType>
<xs:complexType name="infrastructureFrame">
<xs:sequence>
<xs:element name="activationPoints" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ActivationPoint" type="activationPoint" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="version" form="unqualified" type="xs:string"/>
<xs:attribute name="id" form="unqualified" type="xs:string"/>
</xs:complexType>
<xs:complexType name="frames">
<xs:sequence>
<xs:element name="ResourceFrame" type="resourceFrame" minOccurs="1" maxOccurs="unbounded"/>
<xs:element name="InfrastructureFrame" type="infrastructureFrame" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="ServiceFrame" type="serviceFrame" minOccurs="1" maxOccurs="unbounded"/>
<xs:element name="TimetableFrame" type="timetableFrame" minOccurs="1" maxOccurs="unbounded"/>
<xs:element name="VehicleScheduleFrame" type="vehicleScheduleFrame" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="compositeFrame">
<xs:sequence>
<xs:element name="FrameDefaults" type="frameDefaults" minOccurs="0"/>
<xs:element name="versions" type="versions" minOccurs="1"/>
<xs:element name="frames" type="frames" minOccurs="1"/>
</xs:sequence>
<xs:attribute name="version" form="unqualified" type="xs:string" use="required"/>
<xs:attribute name="id" form="unqualified" type="xs:string" use="required"/>
<xs:attribute name="modification" form="unqualified" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="new"/>
<!-- baseline -->
<xs:enumeration value="revise"/>
<!-- delta -->
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:complexType name="dataObjects">
<xs:sequence>
<xs:element name="CompositeFrame" type="compositeFrame" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:element name="PublicationDelivery">
<xs:complexType>
<xs:sequence>
<xs:element name="PublicationTimestamp" type="xs:string" minOccurs="0"/>
<xs:element name="ParticipantRef" type="xs:string" minOccurs="0"/>
<xs:element name="dataObjects" type="dataObjects" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="version" form="unqualified" type="xs:string"/>
</xs:complexType>
</xs:element>
</xs:schema>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment