diff --git a/.github/scripts/validate-examples.sh b/.github/scripts/validate-examples.sh index 32a3a0bc4..e4297d371 100755 --- a/.github/scripts/validate-examples.sh +++ b/.github/scripts/validate-examples.sh @@ -9,7 +9,7 @@ set -e echo "Validating NeTEx XML examples ..." -if xmllint --noout --schema xsd/NeTEx_publication.xsd examples/standards/epiap/*xml && xmllint --noout --schema xsd/NeTEx_publication.xsd examples/functions/deprecation/*.xml examples/functions/calendar/*xml examples/functions/fares/*xml examples/functions/grouping/*xml examples/functions/newModes/*xml examples/functions/patterns/*xml examples/functions/pointOfInterest/*xml examples/functions/simpleNetwork/*xml examples/functions/site/*xml examples/functions/stopPlace/*xml examples/functions/timetable/*xml examples/functions/validityCondition/*xml examples/functions/variant/*xml examples/functions/vehicleSchedule/*xml examples/functions/versioning/*xml examples/standards/epip/*xml examples/standards/era_uic/*xml examples/standards/fxc/*xml examples/standards/gbfs/*xml examples/standards/gtfs/*xml examples/standards/neptune/*xml examples/standards/noptis/*xml examples/standards/tap_tsi/*xml examples/standards/txc/*xml examples/standards/vdv452/*/*xml examples/standards/vdv452/*/*/*xml; then +if xmllint --noout --schema xsd/NeTEx_publication.xsd examples/standards/tap_tsi/*xml examples/standards/tap_tsi/*/*xml && xmllint --noout --schema xsd/NeTEx_publication.xsd examples/standards/epiap/*xml && xmllint --noout --schema xsd/NeTEx_publication.xsd examples/functions/deprecation/*.xml examples/functions/calendar/*xml examples/functions/fares/*xml examples/functions/grouping/*xml examples/functions/newModes/*xml examples/functions/patterns/*xml examples/functions/pointOfInterest/*xml examples/functions/simpleNetwork/*xml examples/functions/site/*xml examples/functions/stopPlace/*xml examples/functions/timetable/*xml examples/functions/validityCondition/*xml examples/functions/variant/*xml examples/functions/vehicleSchedule/*xml examples/functions/versioning/*xml examples/standards/epip/*xml examples/standards/era_uic/*xml examples/standards/fxc/*xml examples/standards/gbfs/*xml examples/standards/gtfs/*xml examples/standards/neptune/*xml examples/standards/noptis/*xml examples/standards/tap_tsi/*xml examples/standards/txc/*xml examples/standards/vdv452/*/*xml examples/standards/vdv452/*/*/*xml; then echo -e '\033[0;32mValidating NeTEx XML examples succeeded\033[0m' else echo -e '\033[0;31mValidating NeTEx XML examples failed\033[0m' diff --git a/examples/standards/tap_tsi/B1_NRT/Netex_tap_tsi_B1-1080-TCVP.xml b/examples/standards/tap_tsi/B1_NRT/Netex_tap_tsi_B1-1080-TCVP.xml index a7184d72f..61e5bfddb 100644 --- a/examples/standards/tap_tsi/B1_NRT/Netex_tap_tsi_B1-1080-TCVP.xml +++ b/examples/standards/tap_tsi/B1_NRT/Netex_tap_tsi_B1-1080-TCVP.xml @@ -20,8 +20,8 @@ This example provides an example of encodeing TAP TSI NRT fares in NeTEx XML B.1 NRT fare based example for RU 1080 - Fare table description - - + + 2012-12-09T00:00:00Z @@ -43,12 +43,12 @@ This example provides an example of encodeing TAP TSI NRT fares in NeTEx XML Flexpreis - + route - + @@ -68,8 +68,8 @@ This example provides an example of encodeing TAP TSI NRT fares in NeTEx XML - - + + 2012-12-09T00:00:00Z @@ -91,12 +91,12 @@ This example provides an example of encodeing TAP TSI NRT fares in NeTEx XML Private Railways - + route - + @@ -116,8 +116,8 @@ This example provides an example of encodeing TAP TSI NRT fares in NeTEx XML - - + + 2012-12-09T00:00:00Z @@ -139,12 +139,12 @@ This example provides an example of encodeing TAP TSI NRT fares in NeTEx XML Made up group - + route - + @@ -164,8 +164,8 @@ This example provides an example of encodeing TAP TSI NRT fares in NeTEx XML - - + + @@ -188,29 +188,29 @@ This example provides an example of encodeing TAP TSI NRT fares in NeTEx XML - + - Allowed values for TypeOfSalesPackagef code list B.1.1 + Allowed values for TypeOfSalesOfferPackagef code list B.1.1 Fare type - + TCV Full Fare - - + + Distance Based Fare - - + + Market Fare - - + + Group Fare - - + + Supplement - - + + Surcharge - + diff --git a/examples/standards/tap_tsi/B1_NRT/Netex_tap_tsi_B1-1080-full.xml b/examples/standards/tap_tsi/B1_NRT/Netex_tap_tsi_B1-1080-full.xml index dfe70ccc2..19d9833c1 100644 --- a/examples/standards/tap_tsi/B1_NRT/Netex_tap_tsi_B1-1080-full.xml +++ b/examples/standards/tap_tsi/B1_NRT/Netex_tap_tsi_B1-1080-full.xml @@ -44,6 +44,9 @@ This example provides an example of encodeing TAP TSI NRT fares in NeTEx XML + + + diff --git a/examples/standards/tap_tsi/B1_NRT/Netex_tap_tsi_B1-1080.xml b/examples/standards/tap_tsi/B1_NRT/Netex_tap_tsi_B1-1080.xml index aff01f3b4..36248c2c5 100644 --- a/examples/standards/tap_tsi/B1_NRT/Netex_tap_tsi_B1-1080.xml +++ b/examples/standards/tap_tsi/B1_NRT/Netex_tap_tsi_B1-1080.xml @@ -38,6 +38,9 @@ This example provides an example of encodeing TAP TSI NRT fares in NeTEx XML B.1 NRT fare based example for RU 1080 - Carriers + + + diff --git a/examples/standards/tap_tsi/B1_NRT/Netex_tap_tsi_B1.xml b/examples/standards/tap_tsi/B1_NRT/Netex_tap_tsi_B1.xml index cb51f015a..28ca09ff9 100644 --- a/examples/standards/tap_tsi/B1_NRT/Netex_tap_tsi_B1.xml +++ b/examples/standards/tap_tsi/B1_NRT/Netex_tap_tsi_B1.xml @@ -303,7 +303,7 @@ V1.1 Extensively revised with improved ids and use of tarifffs. - + 2011-01-01T00:00:00Z 2014-01-01T00:00:00Z diff --git a/examples/standards/tap_tsi/B2_IRT/Netex_tap_tsi_B2-71-optimised.xml b/examples/standards/tap_tsi/B2_IRT/Netex_tap_tsi_B2-71-optimised.deprec similarity index 100% rename from examples/standards/tap_tsi/B2_IRT/Netex_tap_tsi_B2-71-optimised.xml rename to examples/standards/tap_tsi/B2_IRT/Netex_tap_tsi_B2-71-optimised.deprec diff --git a/examples/standards/tap_tsi/Other/Netex_tap_trainhotel_1.xml b/examples/standards/tap_tsi/Other/Netex_tap_trainhotel_1.deprec similarity index 100% rename from examples/standards/tap_tsi/Other/Netex_tap_trainhotel_1.xml rename to examples/standards/tap_tsi/Other/Netex_tap_trainhotel_1.deprec