Skip to content

Commit

Permalink
Introduce dataSourceRef checking, so we can see seriously broken exam…
Browse files Browse the repository at this point in the history
…ples and implementations (#454)

* Introduce dataSourceRef checking, so we can see seriously broken examples and implementations.

* to force a rerun

* updated examples

* more example corrections

* Lint and update documentation tables

* remove checking for version in DataSource and DataSourceRef

* Aurige example with id without version for DataSource

* removed comments

* change to the way validation is done.

* fix validation

* Update Le Corbusier - SQYBUS-NeTEx-Profil Arret.xml

* Lint and update documentation tables

---------

Co-authored-by: Matthias Günter <[email protected]>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Apr 17, 2024
1 parent de9d705 commit 56046b2
Show file tree
Hide file tree
Showing 57 changed files with 854 additions and 56 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
<CompositeFrame version="1" id="ENT:school_carnet:38" dataSourceRef="ENT:fare_data">
<frames>
<!--==== FRAME DEFAULTS ==== -->
<ResourceFrame id="ENT:1" version="1">
<dataSources>
<DataSource id="ENT:fare_data" version="1"/>
</dataSources>
</ResourceFrame>
<FareFrame id="ENT:1" version="1">
<tariffs>
<Tariff version="1" id="ENT:school_carnet:380">
Expand Down
4 changes: 2 additions & 2 deletions examples/functions/newModes/NewModes-CarClubExample.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<FrameDefaults>
<!--- The default means that actually we could leave off all id s that belong to the mc: namespace. -->
<DefaultCodespaceRef ref="mc_data"/>
<DefaultDataSourceRef ref="mc:my_car" version="any"/>
<DefaultDataSourceRef ref="mc:my_car" version="1.0"/>
<DefaultCurrency>EUR</DefaultCurrency>
</FrameDefaults>
<frames>
Expand All @@ -76,7 +76,7 @@
</Codespace>
</codespaces>
<dataSources>
<DataSource id="mc:my_car" version="any">
<DataSource id="mc:my_car" version="1.0">
<Email>[email protected]</Email>
</DataSource>
</dataSources>
Expand Down
4 changes: 2 additions & 2 deletions examples/functions/newModes/NewModes-CarPoolingExample.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ In addition CUSTOMER PURCHASE PACKAGES showing the parameters that might be held
<!--==== FRAME DEFAULTS ==== -->
<FrameDefaults>
<DefaultCodespaceRef ref="ryd_data"/>
<DefaultDataSourceRef ref="rd:ryde" version="any"/>
<DefaultDataSourceRef ref="rd:ryde" version="1.0"/>
<DefaultCurrency>GBP</DefaultCurrency>
</FrameDefaults>
<frames>
Expand All @@ -103,7 +103,7 @@ In addition CUSTOMER PURCHASE PACKAGES showing the parameters that might be held
</Codespace>
</codespaces>
<dataSources>
<DataSource id="rd:ryde" version="any">
<DataSource id="rd:ryde" version="1.0">
<Email>[email protected]</Email>
<DataLicenceCode type="SPX" ref="GSCYQ"/>
<DataLicenceUrl>https://opendata.eu/vanilla</DataLicenceUrl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<!--==== FRAME DEFAULTS ==== -->
<FrameDefaults>
<DefaultCodespaceRef ref="hjm_data"/>
<DefaultDataSourceRef ref="hjm:home_james" version="any"/>
<DefaultDataSourceRef ref="hjm:home_james" version="1.0"/>
<DefaultCurrency>GBP</DefaultCurrency>
</FrameDefaults>
<frames>
Expand All @@ -69,7 +69,7 @@
</Codespace>
</codespaces>
<dataSources>
<DataSource id="hjm:home_james" version="any">
<DataSource id="hjm:home_james" version="1.0">
<Email>[email protected]</Email>
</DataSource>
</dataSources>
Expand Down
4 changes: 2 additions & 2 deletions examples/functions/newModes/NewModes-CycleSharingExample.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
<FrameDefaults>
<!--- The default means that actually we could leave off all id s that belong to the mb: namespace. -->
<DefaultCodespaceRef ref="mb_data"/>
<DefaultDataSourceRef ref="mb:metrobike" version="any"/>
<DefaultDataSourceRef ref="mb:metrobike" version="1.0"/>
<DefaultCurrency>EUR</DefaultCurrency>
</FrameDefaults>
<frames>
Expand All @@ -82,7 +82,7 @@
</Codespace>
</codespaces>
<dataSources>
<DataSource id="mb:metrobike" version="any">
<DataSource id="mb:metrobike" version="1.0">
<Email>[email protected]</Email>
</DataSource>
</dataSources>
Expand Down
5 changes: 5 additions & 0 deletions examples/functions/site/Netex_11_Sites_OlympicPark_1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,11 @@ It is based on the 2012 London Olympic Park. See accompanying paper for diagram
<DefaultCodespaceRef ref="oda"/>
</FrameDefaults>
<frames>
<ResourceFrame id="oda:RES_01" version="any">
<dataSources>
<DataSource id="NaPTAN" version="any"/>
</dataSources>
</ResourceFrame>
<!-- - ==== SERVICE CALENDAR === -->
<ServiceCalendarFrame version="any" id="oda:CAL_01">
<Name>Olympic Park2 2012 </Name>
Expand Down
5 changes: 5 additions & 0 deletions examples/functions/site/Netex_21_Sites_Parking_1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ Overview
<PublicationRefreshInterval>PT5M0S</PublicationRefreshInterval>
<!--- =============== RESULTS =========== -->
<dataObjects>
<ResourceFrame id="pkg:RF01" version="any">
<dataSources>
<DataSource id="parkopedia" version="any"/>
</dataSources>
</ResourceFrame>
<SiteFrame version="any" id="pkg:SF01">
<validityConditions>
<AvailabilityCondition version="any" id="pkg:PP01_Opening_Hours">
Expand Down
5 changes: 5 additions & 0 deletions examples/functions/site/Netex_21_Sites_Parking_2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ v1.1 revised ids and corrections
<PublicationRefreshInterval>PT5M0S</PublicationRefreshInterval>
<!--- =============== RESULTS =========== -->
<dataObjects>
<ResourceFrame id="mypark:RF01" version="any">
<dataSources>
<DataSource id="parkopedia" version="any"/>
</dataSources>
</ResourceFrame>
<SiteFrame version="any" id="mypark:SF01">
<validityConditions>
<AvailabilityCondition version="any" id="mypark:PP01@Opening_Hours">
Expand Down
5 changes: 5 additions & 0 deletions examples/functions/site/Netex_Address_Example_1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ Overview
<PublicationRefreshInterval>PT5M0S</PublicationRefreshInterval>
<!--- =============== RESULTS =========== -->
<dataObjects>
<ResourceFrame version="any" id="ResourceFrame:RF01">
<dataSources>
<DataSource id="parkopedia" version="any"/>
</dataSources>
</ResourceFrame>
<SiteFrame version="any" id="SiteFrame:SF01">
<validityConditions>
<AvailabilityCondition version="any" id="mysite:PP01_OpeningHours">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ Changes
<DefaultResponsibilitySetRef ref="nptgAdminArea:082" version="nptg:v2.1"/>
</FrameDefaults>
<dataSources>
<DataSource id="nptg:NaPTAN" version="001"/>
<DataSource id="tbd:accessibility_data" version="1.0">
<Email>[email protected]</Email>
</DataSource>
Expand Down Expand Up @@ -4838,7 +4839,7 @@ Changes
<equipmentPlaces>
<EquipmentPlace version="001" created="2010-05-17T09:30:47Z" modification="new" id="tbd:4900ZZLUWIM3n4">
<equipmentPositions>
<EquipmentPosition version="001" created="2010-05-17T09:30:47Z" modification="new" dataSourceRef="tbd:accessibility_data" changed="2010-05-17T09:30:47Z" id="tbd:4900ZZLUWIM3n4">
<EquipmentPosition version="1.0" created="2010-05-17T09:30:47Z" modification="new" dataSourceRef="tbd:accessibility_data" changed="2010-05-17T09:30:47Z" id="tbd:4900ZZLUWIM3n4">
<EquipmentRef version="any" ref="tbd:4900ZZLUWIM3n4_Eq-Seats1"/>
<Description>Seats on Platform 1 and 2. "0 metres from Platform entrance</Description>
<ReferencePointRef version="001" ref="tbd:9100WIMBLDN@5n6-EL1p"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,10 +281,10 @@ Changes
<ResourceFrame version="any" id="tbd:SVC01">
<!-- == For each NPTG Admin area a responsibility is created : = -->
<dataSources>
<DataSource version="any" id="nptg:NaPTAN">
<DataSource version="001" id="nptg:NaPTAN">
<Name>DfT Naptan database </Name>
</DataSource>
<DataSource version="any" id="tbd:XtraAccessibilityData">
<DataSource version="001" id="tbd:XtraAccessibilityData">
<Name>Additional accessibility Data </Name>
</DataSource>
</dataSources>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,10 +277,10 @@ Changes
<ResourceFrame version="any" id="nptg:SVC01">
<!-- == For each NPTG Admin area a responsibility is created : = -->
<dataSources>
<DataSource version="any" id="nptg:NaPTAN">
<DataSource version="001" id="nptg:NaPTAN">
<Name>DfT Naptan database </Name>
</DataSource>
<DataSource version="any" id="nptg:Xtra_accessibility_data">
<DataSource version="001" id="nptg:Xtra_accessibility_data">
<Name>Additional accessibility Data </Name>
</DataSource>
</dataSources>
Expand Down
3 changes: 3 additions & 0 deletions examples/standards/epip/epip_common_profile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@
<DataSource id="epip:CEN_TC278_WG3_SG9" version="epip:1.0">
<Email>[email protected]</Email>
</DataSource>
<DataSource id="epip:common" version="epip:1.0">
<Email>[email protected]</Email>
</DataSource>
</dataSources>
<!-- ========Responsibility Sets========== -->
<responsibilitySets>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ We group the elements in separate frames
<DataSource id="op:src" version="1.0">
<Email>[email protected]</Email>
</DataSource>
<DataSource id="operator" version="1.0"/>
</dataSources>
<!-- ========Responsibility Sets========== -->
<responsibilitySets>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ At the end are shown some sample transactions showing the parameters that define
<Description>Fares for West of England</Description>
<!-- =============== RESULTS =========== -->
<dataObjects>
<CompositeFrame version="1.0" id="epd:UK:FBRI:FareFrame_UK_PI_LINE_FARE_OFFER:WoE@Bristol@48:frst" dataSourceRef="frst:WoE" responsibilitySetRef="frst:tariffs">
<CompositeFrame version="1.0" id="epd:UK:FBRI:FareFrame_UK_PI_LINE_FARE_OFFER:WoE@Bristol@48:frst" dataSourceRef="frst:first_WoE" responsibilitySetRef="frst:tariffs">
<ValidBetween>
<FromDate>2018-11-01T00:00:00</FromDate>
</ValidBetween>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ At the end are shown some sample transactions showing the parameters that defin
<Description>Example of simple point to point fares</Description>
<!-- =============== RESULTS =========== -->
<dataObjects>
<CompositeFrame version="1.0" id="epd:UK:FBRI:CompositeFrame_UK_PI_NETWORK_FARE_OFFER:WoE:frst" dataSourceRef="frst:WoE" responsibilitySetRef="frst:tariffs">
<CompositeFrame version="1.0" id="epd:UK:FBRI:CompositeFrame_UK_PI_NETWORK_FARE_OFFER:WoE:frst" dataSourceRef="frst:first_WoE" responsibilitySetRef="frst:tariffs">
<ValidBetween>
<FromDate>2016-02-01T00:00:00</FromDate>
<ToDate>2018-10-31T12:00:00</ToDate>
Expand Down Expand Up @@ -7923,7 +7923,7 @@ WestonRider £4 Adult £3 Student/
</ResourceFrame>
</frames>
</CompositeFrame>
<CompositeFrame id="frst-t:pass_transaction_examples" version="1.0" responsibilitySetRef="frst:transaction_data" dataSourceRef="frst:First">
<CompositeFrame id="frst-t:pass_transaction_examples" version="1.0" responsibilitySetRef="frst:transaction_data" dataSourceRef="trw:travelwest">
<!-- ===============
This Shows sample Purchases
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ At the end are shown some sample transactions showing the parameters that define
<Description>Fares for West of England</Description>
<!-- =============== RESULTS =========== -->
<dataObjects>
<CompositeFrame version="1.0" id="epd:UK:FBRI:CompositeFrame_UK_PI_LINE_FARE_OFFER:Trip@Bristol@48:frst" dataSourceRef="frst:WoE" responsibilitySetRef="frst:tariffs">
<CompositeFrame version="1.0" id="epd:UK:FBRI:CompositeFrame_UK_PI_LINE_FARE_OFFER:Trip@Bristol@48:frst" dataSourceRef="frst:first_WoE" responsibilitySetRef="frst:tariffs">
<ValidBetween>
<FromDate>2018-11-01T00:00:00</FromDate>
</ValidBetween>
Expand Down Expand Up @@ -10665,7 +10665,7 @@ Zone A B C D: Bristol, Bath &amp; Weston-super-Mare | £ 18.00 | £ 76.00 | 29
</frames>
</CompositeFrame>
<!-- ====== EXAMPLE TRANSACTIONS ===== -->
<CompositeFrame id="frst-t:pass_transaction_examples" version="1.0" responsibilitySetRef="frst:transaction_data" dataSourceRef="frst:First">
<CompositeFrame id="frst-t:pass_transaction_examples" version="1.0" responsibilitySetRef="frst:transaction_data" dataSourceRef="frst:first_WoE">
<!-- ===============
This Shows sample Purchases as they might be logged to refernce the specific product choices

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ We group the elements in separate frames
</organisations>
</ResourceFrame>
<!--==== NETWORK - including lines 271 & 272 ==== -->
<ServiceFrame version="1.0" id="epd:UK:FSYO:ServiceFrame_UK_PI_NETWORK:FSYO:op" dataSourceRef="operator" responsibilitySetRef="tariffs">
<ServiceFrame version="1.0" id="epd:UK:FSYO:ServiceFrame_UK_PI_NETWORK:FSYO:op" dataSourceRef="op:src" responsibilitySetRef="tariffs">
<Name>Extra Lines included in Travelmaster product</Name>
<Description>This frame contains the stop and line definitions for the service. It Could also be exchanged separately.</Description>
<TypeOfFrameRef ref="fxc:UK:DFT:TypeOfFrame_UK_PI_NETWORK:FXCP" version="fxc:v1.0"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ We group the elements in separate frames
</organisations>
</ResourceFrame>
<!--==== NETWORK - including lines 271 & 272 ==== -->
<ServiceFrame version="1.0" id="epd:UK:FSYO:ServiceFrame_UK_PI_NETWORK:FSYO:op" dataSourceRef="operator" responsibilitySetRef="tariffs">
<ServiceFrame version="1.0" id="epd:UK:FSYO:ServiceFrame_UK_PI_NETWORK:FSYO:op" dataSourceRef="op:src" responsibilitySetRef="tariffs">
<Name>Extra Lines included in Travelmaster product</Name>
<Description>This frame contains the stop and line definitions for the service. It Could also be exchanged separately.</Description>
<TypeOfFrameRef ref="fxc:UK:DFT:TypeOfFrame_UK_PI_NETWORK:FXCP" version="fxc:v1.0"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ We group the elements in separate frames
</organisations>
</ResourceFrame>
<!--==== NETWORK - including lines 271 & 272 ==== -->
<ServiceFrame version="1.0" id="epd:UK:FSYO:ServiceFrame_UK_PI_NETWORK:FSYO:op" dataSourceRef="operator" responsibilitySetRef="tariffs">
<ServiceFrame version="1.0" id="epd:UK:FSYO:ServiceFrame_UK_PI_NETWORK:FSYO:op" dataSourceRef="op:src" responsibilitySetRef="tariffs">
<Name>Extra Lines included in Travelmaster product</Name>
<Description>This frame contains the stop and line definitions for the service. It Could also be exchanged separately.</Description>
<TypeOfFrameRef ref="fxc:UK:DFT:TypeOfFrame_UK_PI_NETWORK:FXCP" version="fxc:v1.0"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Free to use under a Creative Commons license.
<Description>Fares for York</Description>
<!-- =============== RESULTS =========== -->
<dataObjects>
<CompositeFrame version="1.0" id="epd:UK:FYOR_NoE:FareFrame_UK_PI_NETWORK_FARE_OFFER:Trip@York@10etc:frst" dataSourceRef="frst:NoE" responsibilitySetRef="frst:tariffs">
<CompositeFrame version="1.0" id="epd:UK:FYOR_NoE:FareFrame_UK_PI_NETWORK_FARE_OFFER:Trip@York@10etc:frst" dataSourceRef="frst:First_York" responsibilitySetRef="frst:tariffs">
<ValidBetween>
<FromDate>2018-11-01T00:00:00</FromDate>
</ValidBetween>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ Prices in FARE FRAME
<Description>Fares for York</Description>
<!-- =============== RESULTS =========== -->
<dataObjects>
<CompositeFrame version="1.0" id="epd:UK:FYOR_NoE:CompositeFrame_UK_PI_LINE_FARE_OFFER:Products@Trip@York@26:frst" dataSourceRef="frst:NoE" responsibilitySetRef="frst:tariffs">
<CompositeFrame version="1.0" id="epd:UK:FYOR_NoE:CompositeFrame_UK_PI_LINE_FARE_OFFER:Products@Trip@York@26:frst" dataSourceRef="frst:first_NoE" responsibilitySetRef="frst:tariffs">
<ValidBetween>
<FromDate>2018-11-01T00:00:00</FromDate>
</ValidBetween>
Expand Down Expand Up @@ -895,6 +895,7 @@ Prices in FARE FRAME
<DataSource id="frst:first_NoE" version="1.0">
<Email>[email protected]</Email>
</DataSource>
<DataSource id="fxc:common" version="fxc:v1.0"/>
</dataSources>
<!-- ========Responsibility Sets========== -->
<responsibilitySets>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2609,6 +2609,7 @@ Acomb Green Lane
<DataSource id="fxc:common" version="fxc:v1.0">
<Email>[email protected]</Email>
</DataSource>
<DataSource id="nptg:dft" version="1.0"/>
</dataSources>
<responsibilitySets>
<ResponsibilitySet version="fxc:v1.0" id="fxc:FXC_metadata">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Concessionary passes are valid throughout from 0930-2300 Mon-Fri, and anytime at
<prerequisites>
<ServiceFrameRef version="1.0" ref="epd:UK:METR:ServiceFrame_UK_PI_NETWORK:Line_1:mb"/>
<FareFrameRef version="1.0" ref="epd:UK:METR:FareFrame_UK_PI_FARE_NETWORK:Line_1:mb"/>
<SiteFrameRef version="1.0" ref="epd:UK:METR:SiteFrame_UK_PI_NETWORK:Crawley:nptg"/>
<SiteFrameRef version="nptg:v2.1" ref="epd:UK:METR:SiteFrame_UK_PI_NETWORK:Crawley:nptg"/>
</prerequisites>
<!--==== Fare Structure ==== -->
<tariffs>
Expand Down Expand Up @@ -1292,7 +1292,7 @@ Bewbush West (loop)
<Name>Metrobus 1</Name>
<TypeOfFrameRef ref="fxc:UK:DFT:TypeOfFrame_UK_PI_NETWORK:FXCP" version="fxc:v1.0"/>
<prerequisites>
<SiteFrameRef version="1.0" ref="epd:UK:METR:SiteFrame_UK_PI_NETWORK:Crawley:nptg"/>
<SiteFrameRef version="nptg:v2.1" ref="epd:UK:METR:SiteFrame_UK_PI_NETWORK:Crawley:nptg"/>
<ServiceFrameRef version="1.0" ref="epd:UK:METR:ServiceFrame_UK_PI_NETWORK:Line_1:mb"/>
<ServiceFrameRef versionRef="EXTERNAL" ref="epd:UK:NaPTAN:ServiceFrame_UK_PI_NETWORK:AdminArea@440:napt"/>
</prerequisites>
Expand Down Expand Up @@ -1426,7 +1426,7 @@ Bewbush West (loop)
</FareZone>
</fareZones>
</FareFrame>
<SiteFrame version="1.0" id="epd:UK:METR:SiteFrame_UK_PI_NETWORK:Crawley:nptg" responsibilitySetRef="nptg:data" dataSourceRef="nptg:dft">
<SiteFrame version="nptg:v2.1" id="epd:UK:METR:SiteFrame_UK_PI_NETWORK:Crawley:nptg" responsibilitySetRef="nptg:data" dataSourceRef="nptg:dft">
<Name>NPTG localities used by Metrobus 1</Name>
<Description>This frame contains the NPTG locality definitions used by the stops the service. It could also be exchanged separately.</Description>
<TypeOfFrameRef version="fxc:v1.0" ref="fxc:UK:DFT:TypeOfFrame_UK_PI_STOP:FXCP"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Concessionary passes are valid throughout from 0930-2300 Mon-Fri, and anytime at
<prerequisites>
<ServiceFrameRef version="1.0" ref="epd:UK:METR:ServiceFrame_UK_PI_NETWORK:Line_1:mb"/>
<FareFrameRef version="1.0" ref="epd:UK:METR:FareFrame_UK_PI_FARE_NETWORK:Line_1:mb"/>
<SiteFrameRef version="1.0" ref="epd:UK:METR:SiteFrame_UK_PI_NETWORK:Crawley:nptg"/>
<SiteFrameRef version="nptg:v2.1" ref="epd:UK:METR:SiteFrame_UK_PI_NETWORK:Crawley:nptg"/>
</prerequisites>
<!--==== Fare Structure ==== -->
<tariffs>
Expand Down Expand Up @@ -1289,7 +1289,7 @@ Bewbush West (loop)
<Name>Metrobus 1</Name>
<TypeOfFrameRef ref="fxc:UK:DFT:TypeOfFrame_UK_PI_NETWORK:FXCP" version="fxc:v1.0"/>
<prerequisites>
<SiteFrameRef version="1.0" ref="epd:UK:METR:SiteFrame_UK_PI_NETWORK:Crawley:nptg"/>
<SiteFrameRef version="nptg:v2.1" ref="epd:UK:METR:SiteFrame_UK_PI_NETWORK:Crawley:nptg"/>
<ServiceFrameRef version="1.0" ref="epd:UK:METR:ServiceFrame_UK_PI_NETWORK:Line_1:mb"/>
<ServiceFrameRef versionRef="EXTERNAL" ref="epd:UK:NaPTAN:ServiceFrame_UK_PI_NETWORK:AdminArea@440:napt"/>
</prerequisites>
Expand Down Expand Up @@ -1423,7 +1423,7 @@ Bewbush West (loop)
</FareZone>
</fareZones>
</FareFrame>
<SiteFrame version="1.0" id="epd:UK:METR:SiteFrame_UK_PI_NETWORK:Crawley:nptg" responsibilitySetRef="nptg:data" dataSourceRef="nptg:dft">
<SiteFrame version="nptg:v2.1" id="epd:UK:METR:SiteFrame_UK_PI_NETWORK:Crawley:nptg" responsibilitySetRef="nptg:data" dataSourceRef="nptg:dft">
<Name>NPTG localities used by Metrobus 1</Name>
<Description>This frame contains the NPTG locality definitions used by the stops the service. It could also be exchanged separately.</Description>
<TypeOfFrameRef ref="fxc:UK:DFT:TypeOfFrame_UK_PI_STOP:FXCP" version="fxc:v1.0"/>
Expand Down Expand Up @@ -2788,7 +2788,7 @@ This Shows sample Purchases
</groupsOfEntities>
</ResourceFrame>
<!-- === TransXchange Common fixed definitions === -->
<ResourceFrame version="txc:v1.0" id="fxc:UK:DFT:ResourceFrame_UK_PI_METADATA:TransXChange:txc" responsibilitySetRef="txc:TransXChange_metadata" dataSourceRef="txc:dft">
<ResourceFrame version="txc:v2.1" id="fxc:UK:DFT:ResourceFrame_UK_PI_METADATA:TransXChange:txc" responsibilitySetRef="txc:TransXChange_metadata" dataSourceRef="txc:dft">
<ValidBetween>
<FromDate>2005-01-01T00:00:00</FromDate>
</ValidBetween>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ Alpha
<DataSource id="myb:Mybus" version="1.0">
<Email>[email protected]</Email>
</DataSource>
<DataSource id="fxc:dft" version="fxc:v1.0"/>
</dataSources>
<!-- ========Responsibility Sets========== -->
<responsibilitySets>
Expand Down
Loading

0 comments on commit 56046b2

Please sign in to comment.