-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce dataSourceRef checking, so we can see seriously broken exam…
…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
1 parent
de9d705
commit 56046b2
Showing
57 changed files
with
854 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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> | ||
|
@@ -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> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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> | ||
|
@@ -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> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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> | ||
|
@@ -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> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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> | ||
|
@@ -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> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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> | ||
|
@@ -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"/> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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> | ||
|
@@ -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> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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> | ||
|
Oops, something went wrong.