Skip to content

Commit 3a348d1

Browse files
committed
adding CheckConstraint to StopPointInJourneyPattern
1 parent a94e5e1 commit 3a348d1

3 files changed

Lines changed: 13 additions & 3 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,4 @@ fabric.properties
8888
# Editor-based Rest Client
8989
.idea/httpRequests
9090

91+
/.idea

examples/functions/timetable/Netex_01.2_Bus_SimpleTimetable_WithTimings.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,10 @@ The Calendar is shown coded as
420420
<Advertised>true</Advertised>
421421
</NoticeAssignment>
422422
</noticeAssignments>
423+
<!-- check for CheckConstraint. V2.1 -->
424+
<CheckConstraint id="mybus:cc:1" version="any">
425+
<Congestion>noWaiting</Congestion>
426+
</CheckConstraint>
423427
</StopPointInJourneyPattern>
424428
<StopPointInJourneyPattern version="any" order="2" id="hde:spijp_24o_02">
425429
<ScheduledStopPointRef version="any" ref="mybus:SSP_002"/>

xsd/netex_part_1/part1_tacticalPlanning/netex_servicePattern_version.xsd

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- edited with XMLSpy v2026 (x64) (https://www.altova.com) by Urs Stöckli (Schweizerische Bundesbahnen SBB) -->
23
<xsd:schema xmlns="http://www.netex.org.uk/netex" xmlns:netex="http://www.netex.org.uk/netex" xmlns:siri="http://www.siri.org.uk/siri" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.netex.org.uk/netex" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.0" id="netex_servicePattern_version">
34
<!-- ======================================================================= -->
45
<xsd:include schemaLocation="netex_servicePattern_support.xsd"/>
56
<xsd:include schemaLocation="../part1_tacticalPlanning/netex_fareZone_support.xsd"/>
7+
<xsd:include schemaLocation="../../netex_part_1/part1_ifopt/netex_ifopt_checkConstraint_version.xsd"/>
68
<xsd:include schemaLocation="netex_journeyPattern_version.xsd"/>
79
<xsd:include schemaLocation="netex_timingPattern_version.xsd"/>
810
<xsd:include schemaLocation="netex_siteConnection_version.xsd"/>
911
<xsd:include schemaLocation="../part1_networkDescription/netex_flexibleNetwork_version.xsd"/>
1012
<xsd:include schemaLocation="../../netex_part_2/part2_occupancy/netex_oc_occupancy_version.xsd"/>
13+
<xsd:include schemaLocation="../../netex_part_2/part2_journeyTimes/netex_vehicleJourneyStopAssignment_version.xsd"/>
1114
<!-- ======================================================================= -->
1215
<xsd:annotation>
1316
<xsd:appinfo>
@@ -63,8 +66,7 @@
6366
<Requires>http://www.netex.org.uk/schemas/1.0/PATH/netex_prereqfile.xsd</Requires>
6467
</Relation>
6568
<Rights>Unclassified
66-
<Copyright>CEN, Crown Copyright 2009-2023</Copyright>
67-
</Rights>
69+
<Copyright>CEN, Crown Copyright 2009-2023</Copyright></Rights>
6870
<Source>
6971
<ul>
7072
<li>Derived from the Transmodel, VDV, TransXChange, NEPTUNE, BISON and Trident standards.</li>
@@ -901,6 +903,9 @@ Rail transport, Roads and Road transport
901903
<xsd:documentation>Nature of use of stop, e.g. access, interchange only, or pass through. Default is Access.</xsd:documentation>
902904
</xsd:annotation>
903905
</xsd:element>
906+
<xsd:group ref="QuayAssignmentGroup"/>
907+
<xsd:element ref="AccessibilityAssessment" minOccurs="0"/>
908+
<xsd:element ref="CheckConstraint" minOccurs="0"/>
904909
<xsd:choice>
905910
<xsd:element name="bookingArrangements" type="bookingArrangements_RelStructure" minOccurs="0">
906911
<xsd:annotation>
@@ -1147,4 +1152,4 @@ Rail transport, Roads and Road transport
11471152
<xsd:group ref="HeadwayIntervalGroup"/>
11481153
</xsd:sequence>
11491154
</xsd:group>
1150-
</xsd:schema>
1155+
</xsd:schema>

0 commit comments

Comments
 (0)