diff --git a/OJP/OJP_All.xsd b/OJP/OJP_All.xsd index 879d7f59a..cf90d124d 100644 --- a/OJP/OJP_All.xsd +++ b/OJP/OJP_All.xsd @@ -9,6 +9,7 @@ + diff --git a/OJP/OJP_Common.xsd b/OJP/OJP_Common.xsd index 187fe0f6a..1cc02494e 100644 --- a/OJP/OJP_Common.xsd +++ b/OJP/OJP_Common.xsd @@ -47,14 +47,14 @@ - + - An oriented correspondence from one LINK of a source layer, onto an entity in a target layer: e.g. LINK SEQUENCE. + An oriented correspondence from one LINK or ROUTE of a source layer, onto an entity in a target layer: e.g. LINK SEQUENCE. As OJP is reduced in relation to NeTEx, we use a simple general structure. - Ordered list of locations representing the geogemtry of the link. + Ordered list of locations representing the geometry of the link or route. diff --git a/OJP/OJP_FareSupport.xsd b/OJP/OJP_FareSupport.xsd index 505e6e080..db8c2b86f 100644 --- a/OJP/OJP_FareSupport.xsd +++ b/OJP/OJP_FareSupport.xsd @@ -186,7 +186,7 @@ ========================================== Tickets ========================================== - + Identifier of a FareProduct @@ -197,7 +197,7 @@ Reference to a FareProduct. - + @@ -255,20 +255,20 @@ [related to FARE PRODUCT in TM and NeTEx] different FARE PRODUCTs that may be available with related information - + - Unique Id of the FareProduct. + Identifier of a FareProduct - printable FareProduct name + Printable FareProduct name - Is this product a proto product? Default is false. If true, it should not be shown to the user. In a distributed environment (e.g. EU-Spirit) partial systems may generate incomplete product information (proto product), which has to be be processed further and combined with other information before it is a complete fare product and can be shown to the user. See https://eu-spirit.eu/ + Is this product a proto product? Default is false. If true, it should not be shown to the user. In a distributed environment (e.g. EU-Spirit) partial systems may generate incomplete product information (proto product), which has to be processed further and combined with other information before it is a complete fare product and can be shown to the user. See https://eu-spirit.eu/ diff --git a/OJP/OJP_JourneySupport.xsd b/OJP/OJP_JourneySupport.xsd index 1da6469fd..2386083ca 100644 --- a/OJP/OJP_JourneySupport.xsd +++ b/OJP/OJP_JourneySupport.xsd @@ -684,7 +684,7 @@ End place of this track. - + An oriented correspondence from one LINK of a source layer, onto an entity in a target layer: e.g. LINK SEQUENCE. diff --git a/OJP/OJP_Lines.xsd b/OJP/OJP_Lines.xsd new file mode 100644 index 000000000..cceb773a0 --- /dev/null +++ b/OJP/OJP_Lines.xsd @@ -0,0 +1,50 @@ + + + + OJP/OJP_Lines.xsd - Request and response definitions for information on lines + + + + + =============================== Line Information Service ========================================== + + + =============================== Line Information Response Group ========================================== + + + + Line Information response group. + + + + + + + =============================== LineInformation support functions ========================================== + + + + + + Reference to the LINE. + + + + + + DIRECTION of LINE. + + + + + The LINE's route geometry. A line can have multiple ROUTEs and each has its own geometry. The first should be the "main" geometry. + + + + + List of transport modes that are supported by this line. + + + + + diff --git a/OJP/OJP_Requests.xsd b/OJP/OJP_Requests.xsd index a79b4f479..5534e40fe 100644 --- a/OJP/OJP_Requests.xsd +++ b/OJP/OJP_Requests.xsd @@ -247,4 +247,30 @@ + + ========================================== Line Information Service ========================================== + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/schema-collection.xml b/docs/schema-collection.xml index c6829f989..8fead8ede 100644 --- a/docs/schema-collection.xml +++ b/docs/schema-collection.xml @@ -8,6 +8,7 @@ + diff --git a/examples/functions/LineRequest.xml b/examples/functions/LineRequest.xml new file mode 100644 index 000000000..1906771a2 --- /dev/null +++ b/examples/functions/LineRequest.xml @@ -0,0 +1,20 @@ + + + + + 2022-12-19T12:00:00Z + IRMA + + 2022-12-19T12:00:00Z + 4711 + + + ch:1:slnid:129312 + ch:1:Direction:H + + false + + + + + diff --git a/examples/functions/LineResponse.xml b/examples/functions/LineResponse.xml new file mode 100644 index 000000000..39802c9a5 --- /dev/null +++ b/examples/functions/LineResponse.xml @@ -0,0 +1,45 @@ + + + + + 2022-12-01T17:54:38Z + OJPCH_Prod + true + + 2022-12-01T17:54:38Z + 4711 + true + + + ch:slnid:123123 + IC8 + + + 7.48464 + 46.93150 + + + 7.48447 + 46.93141 + + + 7.48441 + 46.93138 + + + 7.48437 + 46.93134 + + + + rail + longDistanceTrain + + Intercity + + + + + + +