Skip to content

Commit

Permalink
Lint and update documentation tables
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 22, 2023
1 parent abca654 commit 034fe54
Show file tree
Hide file tree
Showing 212 changed files with 7,885 additions and 8,105 deletions.
3 changes: 1 addition & 2 deletions examples/functions/calendar/NeTEx_Calendar_se_PA1.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="iso-8859-1"?>

<?xml version="1.0" encoding="UTF-8"?>
<!-- ==== Example of suggested NeTEx Calendar version====== -->
<PublicationDelivery xmlns="http://www.netex.org.uk/netex" xmlns:siri="http://www.siri.org.uk/siri" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" xsi:schemaLocation="http://www.netex.org.uk/netex ../../../xsd/NeTEx_publication.xsd">
<PublicationTimestamp>2001-12-17T09:30:47.0Z</PublicationTimestamp>
Expand Down
2 changes: 1 addition & 1 deletion examples/functions/calendar/Netex_calendarCodeing_02.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="UTF-8"?>
<!-- ==== SImple Timetable Example ======
This example shows the encoding of a SERVICE CALENDAR F in NeTex XML
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="UTF-8"?>
<!-- ==== SImple Timetable Example ======
This example shows the encoding of a simple
Calendar
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="UTF-8"?>
<!-- ==== FSYO First Passes==== -->
<PublicationDelivery version="1.1" xsi:schemaLocation="http://www.netex.org.uk/netex ../../../xsd/NeTEx_publication.xsd" xmlns="http://www.netex.org.uk/netex" xmlns:siri="http://www.siri.org.uk/siri" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<PublicationDelivery xmlns="http://www.netex.org.uk/netex" xmlns:siri="http://www.siri.org.uk/siri" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1" xsi:schemaLocation="http://www.netex.org.uk/netex ../../../xsd/NeTEx_publication.xsd">
<PublicationTimestamp>2017-12-17T09:30:47.0Z</PublicationTimestamp>
<ParticipantRef>SYS001</ParticipantRef>
<!-- ======WHAT WAS REQUESTED ========== -->
Expand Down Expand Up @@ -321,7 +321,7 @@
<EndDate>2021-09-07T01:07:00</EndDate>
<fareContractEntries>
<SalesTransaction version="1" id="ENX:5781234501">
<Name>Kjøp Skoleskyss</Name>
<Name>Kjøp Skoleskyss</Name>
<Description>Initial purchase of carnet</Description>
<Date>2020-09-06T01:07:00</Date>
<Amount>10000</Amount>
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="UTF-8"?>
<!-- ==== Simple Point to Point Fare Example ======
This example shows the encoding of a simple point to point fare set for a simple bus timetable for a route in NeTex XML
Expand Down Expand Up @@ -82,7 +82,7 @@ A COMPOSITE FRAME is used to group the component FRAMEs
A separate FARE FRAME is used to contain the FARE price elements
A RESOURCE FRAME is used to contain common code values
-->
<PublicationDelivery version="1.0" xsi:schemaLocation="http://www.netex.org.uk/netex ../../../xsd/NeTEx_publication.xsd" xmlns="http://www.netex.org.uk/netex" xmlns:siri="http://www.siri.org.uk/siri" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<PublicationDelivery xmlns="http://www.netex.org.uk/netex" xmlns:siri="http://www.siri.org.uk/siri" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" xsi:schemaLocation="http://www.netex.org.uk/netex ../../../xsd/NeTEx_publication.xsd">
<PublicationTimestamp>2010-12-17T09:30:47.0Z</PublicationTimestamp>
<ParticipantRef>SYS001</ParticipantRef>
<!--- ======WHAT WAS REQUESTED ========== -->
Expand Down Expand Up @@ -313,10 +313,9 @@ A COMPOSITE FRAME is used to group the component FRAMEs
<FrameDefaults>
<DefaultCurrency>EUR</DefaultCurrency>
</FrameDefaults>

<prerequisites>
<FareFrameRef version="1.0" ref="myfares:DTA@Line_1@products"/>
</prerequisites>
</prerequisites>
<priceGroups>
<PriceGroup version="1.0" id="myfares:Line_1">
<members>
Expand Down Expand Up @@ -366,7 +365,7 @@ A COMPOSITE FRAME is used to group the component FRAMEs
<TypeOfTariff version="ntx:v1.0" id="ntx:zonal">
<Name>Zonal</Name>
</TypeOfTariff>
<TypeOfTariff version="ntx:v1.0" id="ntx:unit_distance">
<TypeOfTariff version="ntx:v1.0" id="ntx:unit_distance">
<Name>Unit distance (count of stops, sections, zones)</Name>
</TypeOfTariff>
<TypeOfTariff version="ntx:v1.0" id="ntx:section">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="UTF-8"?>
<!-- ==== Simple Point to Point Fare with different media offers Example ======
This example shows the encoding of a point to point tariff for a simple bus timetable for a linear route in NeTex XML
Expand Down Expand Up @@ -217,15 +217,15 @@ A COMPOSITE FRAME is used to group the component FRAMEs
</ServiceFrame>
<!--- =============== FAREs =========== -->
<FareFrame version="1.0" id="myfares:DTA@Line24@products">
<prerequisites>
<prerequisites>
<ServiceFrameRef version="1.0" ref="mybus:DTA@Line24@network"/>
</prerequisites>
<!--- ====Fare Structure======= -->
<tariffs>
<Tariff version="1.0" id="myfares:PointToPoint_01">
<Name>Point to Point Tariff</Name>
<OperatorRef version="any" ref="mybus:DTA"/>
<TypeOfTariffRef version="ntx:v1.0" ref="ntx:point_to_point"/>
<TypeOfTariffRef version="ntx:v1.0" ref="ntx:point_to_point"/>
<fareStructureElements>
<FareStructureElement version="1.0" id="myfares:PointToPoint_01@access">
<distanceMatrixElements>
Expand Down Expand Up @@ -288,8 +288,8 @@ A COMPOSITE FRAME is used to group the component FRAMEs
<MaximalFrequency>1</MaximalFrequency>
</FrequencyOfUse>
<Interchanging version="1.0" id="myfares:PointToPoint_01@conditions_of_travel@interchanging">
<FromMode>bus</FromMode>
<ToMode>bus</ToMode>
<FromMode>bus</FromMode>
<ToMode>bus</ToMode>
<MaximumNumberOfInterchanges>0</MaximumNumberOfInterchanges>
</Interchanging>
</limitations>
Expand Down Expand Up @@ -344,7 +344,7 @@ A COMPOSITE FRAME is used to group the component FRAMEs
<fareProducts>
<PreassignedFareProduct version="1.0" id="myfares:Trip">
<Name>Standard Point To Point Trip fare </Name>
<TypeOfFareProductRef version="ntx:v1.0" ref="ntx:trip"/>
<TypeOfFareProductRef version="ntx:v1.0" ref="ntx:trip"/>
<OperatorRef version="any" ref="mybus:DTA"/>
<!--- ====VALIDABLE ELEMENTs====== -->
<validableElements>
Expand Down Expand Up @@ -419,11 +419,10 @@ A COMPOSITE FRAME is used to group the component FRAMEs
</FareFrame>
<!--- =============== FAREs =========== -->
<FareFrame version="1.0" id="myfares:DTA@Line24@prices">
<Name>Prices for Line 24</Name>
<Name>Prices for Line 24</Name>
<prerequisites>
<FareFrameRef version="1.0" ref="myfares:DTA@Line24@products"/>
</prerequisites>

</prerequisites>
<!--- ====Pricing Parmaters======= -->
<PricingParameterSet version="1.0" id="myfares:Line24">
<pricingRules>
Expand Down Expand Up @@ -579,16 +578,15 @@ A COMPOSITE FRAME is used to group the component FRAMEs
</FareFrame>
<!-- ==== COMMON RESOURCES == -->
<ResourceFrame version="1.0" id="mybus:DTA@Common_resources">
<codespaces>
<codespaces>
<Codespace id="ntx">
<Xmlns>ntx</Xmlns>
<XmlnsUrl>http://netex.org.uk/</XmlnsUrl>
<Description>Netex built in value</Description>
</Codespace>
</codespaces>
<typesOfValue>

<ValueSet version="ntx:v1.0" id="ntx:Types_of_Tariff" classOfValues="TypeOfTariff">
<ValueSet version="ntx:v1.0" id="ntx:Types_of_Tariff" classOfValues="TypeOfTariff">
<Name>Types of Tariff</Name>
<values>
<!--- ====Types OfTariff ========= -->
Expand Down Expand Up @@ -627,29 +625,26 @@ A COMPOSITE FRAME is used to group the component FRAMEs
</TypeOfTariff>
</values>
</ValueSet>


<ValueSet version="ntx:v1.0" id="ntx:Types_of_FareProduct" classOfValues="TypeOfFareProduct">
<Name>Types of Fare Product</Name>
<values>
<values>
<TypeOfFareProduct version="ntx:v1.0" id="ntx:trip">
<Name>Trip product</Name>
</TypeOfFareProduct>
<TypeOfFareProduct version="ntx:v1.0" id="ntx:multi_trip">
<TypeOfFareProduct version="ntx:v1.0" id="ntx:multi_trip">
<Name>Multitrip / carnet product</Name>
</TypeOfFareProduct>
<TypeOfFareProduct version="ntx:v1.0" id="ntx:period_pass">
<TypeOfFareProduct version="ntx:v1.0" id="ntx:period_pass">
<Name>Peroid pass product</Name>
</TypeOfFareProduct>
<TypeOfFareProduct version="ntx:v1.0" id="ntx:day_pass">
<TypeOfFareProduct version="ntx:v1.0" id="ntx:day_pass">
<Name>Day pass product</Name>
</TypeOfFareProduct>
<TypeOfFareProduct version="ntx:v1.0" id="ntx:discount_card">
<TypeOfFareProduct version="ntx:v1.0" id="ntx:discount_card">
<Name>Discount product</Name>
</TypeOfFareProduct>

</values>
</ValueSet>
</ValueSet>
<ValueSet version="any" id="myfares:Classes_of_Use" classOfValues="ClassOfUse">
<values>
<!--- ==== ClassOfUse========= -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="UTF-8"?>
<!-- ==== Simple Zone to Zone Fare Example ======
This example shows the encoding of a Zone to zone tariff for a simple busn etwork in NeTex XML
Expand Down Expand Up @@ -308,9 +308,9 @@ A COMPOSITE FRAME is used to group the component FRAMEs
<TypeOfAccessRightAssignmentRef version="ntx:v1.0" ref="ntx:can_access"/>
<ValidityParameterGroupingType>XOR</ValidityParameterGroupingType>
<validityParameters>
<NetworkRef version="any" ref="mybus:DTA"/>
<NetworkRef version="any" ref="mybus:DTA"/>
</validityParameters>
</GenericParameterAssignment>
</GenericParameterAssignment>
</FareStructureElement>
<FareStructureElement version="1.0" id="myfares:Tz2z@eligibility">
<Name>Eligible user types</Name>
Expand Down Expand Up @@ -388,7 +388,7 @@ A COMPOSITE FRAME is used to group the component FRAMEs
</DistanceMatrixElement>
</distanceMatrixElements>
<!-- == Prices === -->
<priceGroups>
<priceGroups>
<PriceGroupRef version="1.0" ref="myfares:DTA@discounts"/>
</priceGroups>
<fareTables>
Expand All @@ -400,7 +400,7 @@ A COMPOSITE FRAME is used to group the component FRAMEs
<fareProducts>
<PreassignedFareProduct version="1.0" id="myfares:SingleTrip">
<Name>Adult Zone to zone Trip </Name>
<OperatorRef version="any" ref="mybus:DTA"/>
<OperatorRef version="any" ref="mybus:DTA"/>
<!--- ====VALIDABLE ELEMENTs====== -->
<validableElements>
<ValidableElement version="1.0" id="myfares:SingleTrip@travel">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="UTF-8"?>
<!-- ==== Simple Zone to Zone with peak and Off peak ratesFare Example ======
This example shows the encoding of tariff for a simple bus network witha one to zone stucture and peak and off peak fares in NeTex XML
Expand Down Expand Up @@ -333,7 +333,7 @@ The Calendar is shown coded as
<FareFrame version="1.0" id="myfares:DTA@z2z_time_banded@products">
<prerequisites>
<ServiceFrameRef version="1.0" ref="mybus:DTA@z2z_time_banded@network"/>
<ServiceCalendarFrameRef version="1.0" ref="myfares:DTA@z2z_time_banded@calendar"/>
<ServiceCalendarFrameRef version="1.0" ref="myfares:DTA@z2z_time_banded@calendar"/>
</prerequisites>
<!--- ====Pricing Parmaters======= -->
<PricingParameterSet version="1.0" id="myfares:price_rules">
Expand Down Expand Up @@ -589,9 +589,9 @@ The Calendar is shown coded as
</salesOfferPackages>
</FareFrame>
<FareFrame version="1.0" id="myfares:DTA@z2z_time_banded@prices">
<prerequisites>
<prerequisites>
<FareFrameRef version="1.0" ref="myfares:DTA@z2z_time_banded@products"/>
</prerequisites>
</prerequisites>
<!--- ====Fare Prices======= -->
<fareTables>
<FareTable version="1.0" id="myfares:DTA">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="UTF-8"?>
<!-- ==== Simple Unit Distance Fare Example ======
This example shows the encoding of a unit distance fare set for a simple bus timetable for a linear route in NeTex XML
Expand Down Expand Up @@ -39,7 +39,7 @@ Point to point Fare matrix
B gi1 -
A -
Price Per Unit £1,50
Price Per Unit £1,50
Thus standard fares woudl be calculated as
Expand Down Expand Up @@ -172,7 +172,6 @@ A COMPOSITE FRAME is used to group the component FRAMEs
<ResourceFrameRef version="1.0" ref="mybus:DTA@Common_Resources"/>
</prerequisites>
<Network version="any" id="mybus:DTA">

<members>
<LineRef version="any" ref="mybus:Line_24"/>
</members>
Expand Down Expand Up @@ -239,7 +238,7 @@ A COMPOSITE FRAME is used to group the component FRAMEs
<!--- =============== FAREs =========== -->
<FareFrame version="1.0" id="myfares:DTA@Line24_Unit_Distance@products">
<prerequisites>
<ServiceFrameRef version="1.0" ref="mybus:DTA@Line24_Unit_Distance@network"/>
<ServiceFrameRef version="1.0" ref="mybus:DTA@Line24_Unit_Distance@network"/>
</prerequisites>
<!--- ====Fare Structure======= -->
<geographicalUnits>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="UTF-8"?>
<!-- ==== Simple Unt Zone Fare Example ======
This example shows the encoding of a unit distance tariff or a simple bus timetable for a linear route in NeTex XML
Expand Down Expand Up @@ -261,7 +261,6 @@ A COMPOSITE FRAME is used to group the component FRAMEs
<tariffs>
<Tariff version="1.0" id="myfares:Unit_zone">
<Name>Unit fare zones</Name>

<OperatorRef version="1.0" ref="mybus:DTA"/>
<TypeOfTariffRef version="ntx:v1.0" ref="ntx:unit_distance"/>
<GeographicalUnitRef version="1.0" ref="myfares:1Zone"/>
Expand Down
Loading

0 comments on commit 034fe54

Please sign in to comment.