From 2a5c4ff66c683b27697e10cd4b1a60da36a9024a Mon Sep 17 00:00:00 2001 From: ue71603 Date: Tue, 17 Jan 2023 22:00:47 +0100 Subject: [PATCH 01/20] improved refinement --- OJP/OJP_Requests.xsd | 1 + OJP/OJP_Trips.xsd | 20 +++++++++++++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/OJP/OJP_Requests.xsd b/OJP/OJP_Requests.xsd index b61f23824..61ddb4831 100644 --- a/OJP/OJP_Requests.xsd +++ b/OJP/OJP_Requests.xsd @@ -1,4 +1,5 @@ + OJP/OJP_Requests.xsd - OJP service requests and responses diff --git a/OJP/OJP_Trips.xsd b/OJP/OJP_Trips.xsd index 962ac3b34..9ae1f702f 100644 --- a/OJP/OJP_Trips.xsd +++ b/OJP/OJP_Trips.xsd @@ -1462,6 +1462,18 @@ + + + Request data filters for Refinement + + + + + Transport operators to include/exclude. + + + + Trip refinement request parameter structure. @@ -1474,7 +1486,7 @@ - Refers to a leg to be refined by the server. + Refers to the legs to be refined by the server. @@ -1482,6 +1494,12 @@ Usage of real-time data in refinement. Default is "full". + + + + System reference to use for the refinement. If not specified the origin system of each leg are used for the refinement. + + From eba621641b8d9b00df244def43a04765ff45ebf4 Mon Sep 17 00:00:00 2001 From: ue71603 Date: Tue, 17 Jan 2023 22:04:39 +0100 Subject: [PATCH 02/20] next change. all legs can be refined too --- OJP/OJP_Trips.xsd | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/OJP/OJP_Trips.xsd b/OJP/OJP_Trips.xsd index 9ae1f702f..0b1dfcf6c 100644 --- a/OJP/OJP_Trips.xsd +++ b/OJP/OJP_Trips.xsd @@ -1484,11 +1484,11 @@ If true, then the request may contain object references from another system. Default is FALSE. - - - Refers to the legs to be refined by the server. - - + + + Refers to the legs to be refined by the server. If none is given, then all legs are open for refinement (depending if the relevant system can refine them). + + Usage of real-time data in refinement. Default is "full". From 5309568c310b8d8c80f02837da3d094d0300e5be Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 17 Jan 2023 21:07:34 +0000 Subject: [PATCH 03/20] Lint and update documentation tables --- OJP/OJP_Requests.xsd | 1 - OJP/OJP_Trips.xsd | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/OJP/OJP_Requests.xsd b/OJP/OJP_Requests.xsd index 61ddb4831..b61f23824 100644 --- a/OJP/OJP_Requests.xsd +++ b/OJP/OJP_Requests.xsd @@ -1,5 +1,4 @@ - OJP/OJP_Requests.xsd - OJP service requests and responses diff --git a/OJP/OJP_Trips.xsd b/OJP/OJP_Trips.xsd index 0b1dfcf6c..a1fd34c2f 100644 --- a/OJP/OJP_Trips.xsd +++ b/OJP/OJP_Trips.xsd @@ -1473,7 +1473,7 @@ - + Trip refinement request parameter structure. @@ -1499,7 +1499,7 @@ System reference to use for the refinement. If not specified the origin system of each leg are used for the refinement. - + From e8b83254d26d97b4018407fb16c06120459952ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20G=C3=BCnter?= Date: Tue, 7 Mar 2023 11:36:59 +0100 Subject: [PATCH 04/20] update after discussion and example --- OJP/OJP_Trips.xsd | 15 ++- examples/functions/RefinementRequest.xml | 153 ++++++++++++++++++++++ examples/functions/RefinementResponse.xml | 111 ++++++++++++++++ 3 files changed, 274 insertions(+), 5 deletions(-) create mode 100644 examples/functions/RefinementRequest.xml create mode 100644 examples/functions/RefinementResponse.xml diff --git a/OJP/OJP_Trips.xsd b/OJP/OJP_Trips.xsd index a1fd34c2f..8786983f7 100644 --- a/OJP/OJP_Trips.xsd +++ b/OJP/OJP_Trips.xsd @@ -1484,11 +1484,16 @@ If true, then the request may contain object references from another system. Default is FALSE. - - - Refers to the legs to be refined by the server. If none is given, then all legs are open for refinement (depending if the relevant system can refine them). - - + + + Refers to the legs to be refined by the server. If none is given, then all legs are open for refinement (depending if the relevant system can refine them). + + + + + System reference to use for the refinement. If not specified the origin system of each leg are used for the refinement. + + Usage of real-time data in refinement. Default is "full". diff --git a/examples/functions/RefinementRequest.xml b/examples/functions/RefinementRequest.xml new file mode 100644 index 000000000..456db4d97 --- /dev/null +++ b/examples/functions/RefinementRequest.xml @@ -0,0 +1,153 @@ + + + + + 2022-12-19T12:00:00Z + IRMA + + 2022-12-19T12:00:00Z + 4711 + + 1 + 2 + 4 + SBB:ojp:prod + full + true + true + true + difficult + comfortable + + OSDM-NOVA-Prod + Senior + Disabled + + 85 + + + + + ID-5A9D01A0-CF49-41E7-A674-D37167E33AEF + + ID-5A9D01A0-CF49-41E7-A674-D37167E33AEF + PT2H18M + 2020-09-30T10:03:00Z + 2020-09-30T12:21:00Z + 0 + 125484 + + 1 + + + 8506302 + + St. Gallen + + + 4 + + + 2020-09-30T10:03:00Z + + 1 + + + 8505000 + + Luzern + + + 3 + + + 2020-09-30T12:21:00Z + + 15 + + + 2020-09-30 + ojp:910DG:Y:R:j20:210 + ojp:910DG:Y + R + + rail + local + + Zug + + + IR + + + + empty + + + ojp:82 + + + + Reservierung möglich + + A___R + + + + Bar + + A___B + + + + Maskenpflicht für Reisende ab 12 Jahren + + A__OM + + de:00000:-1 + + Luzern + + + + + Voralpen-Express + + + 2020 + + + + + + + + + + ch:1:sboid:1230123 + New rail company + + + + + + 8530813 + + Zürich Kreuzplatz + + 23026261:27 + + + Zürich + + + 8.55408 + 47.36488 + + + + + + + + diff --git a/examples/functions/RefinementResponse.xml b/examples/functions/RefinementResponse.xml new file mode 100644 index 000000000..fe8acb365 --- /dev/null +++ b/examples/functions/RefinementResponse.xml @@ -0,0 +1,111 @@ + + + + + 2022-12-01T17:54:38Z + OJPCH_Prod + true + + 2022-12-01T17:54:38Z + 4711 + true + 421 + 4 + + ID-5A9D01A0-CF49-41E7-A674-D37167E33AEF + + ID-5A9D01A0-CF49-41E7-A674-D37167E33AEF + PT2H18M + 2020-09-30T10:03:00Z + 2020-09-30T12:21:00Z + 0 + 125484 + + 1 + + + 8506302 + + St. Gallen + + + 4 + + + 2020-09-30T10:03:00Z + + 1 + + + 8505000 + + Luzern + + + 3 + + + 2020-09-30T12:21:00Z + + 15 + + + 2020-09-30 + ojp:910DG:Y:R:j20:210 + ojp:910DG:Y + R + + rail + local + + Zug + + + IR + + + + empty + + + ojp:82 + + + + Reservierung möglich + + A___R + + + + Bar + + A___B + + + + Maskenpflicht für Reisende ab 12 Jahren + + A__OM + + de:00000:-1 + + Luzern + + + + + Voralpen-Express + + + 2020 + + + + + + + + + + From 6f4e27d83c43d2b5072586249d969539d79f11dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20G=C3=BCnter?= Date: Mon, 13 Mar 2023 21:53:44 +0100 Subject: [PATCH 05/20] better example an fixed PurchaeMoment --- examples/functions/RefinementRequest.xml | 62 ++++++++++++++++++++- examples/functions/RefinementResponse.xml | 68 ++++++++++++++++++++++- 2 files changed, 126 insertions(+), 4 deletions(-) diff --git a/examples/functions/RefinementRequest.xml b/examples/functions/RefinementRequest.xml index 456db4d97..83cecc04f 100644 --- a/examples/functions/RefinementRequest.xml +++ b/examples/functions/RefinementRequest.xml @@ -9,8 +9,7 @@ 4711 1 - 2 - 4 + 3 SBB:ojp:prod full true @@ -119,6 +118,65 @@ + + 2 + + walk + + 8505000 + + Luzern + + + + + 47.042666496 + 8.306332108 + + + Taxiplatz Luzern + + + PT3M + + + + 3 + + + + 47.042666496 + 8.306332108 + + + Taxiplatz Luzern + + + + + 47.06 + 8.32 + + + Destination + + + + demandResponsive + + ch:1:sboid:12391912 + + + + + onBoarding + + + + + PT13M + + diff --git a/examples/functions/RefinementResponse.xml b/examples/functions/RefinementResponse.xml index fe8acb365..4bf5c5258 100644 --- a/examples/functions/RefinementResponse.xml +++ b/examples/functions/RefinementResponse.xml @@ -20,7 +20,7 @@ 2020-09-30T12:21:00Z 0 125484 - + 1 @@ -31,8 +31,12 @@ 4 + + 5 + 2020-09-30T10:03:00Z + 2020-09-30T10:06:00Z 1 @@ -82,12 +86,13 @@ A___B + de:00000:-1 Luzern @@ -103,6 +108,65 @@ + + 2 + + walk + + 8505000 + + Luzern + + + + + 47.042666496 + 8.306332108 + + + Taxiplatz Luzern + + + PT3M + + + + 3 + + + + 47.042666496 + 8.306332108 + + + Taxiplatz Luzern + + + + + 47.06 + 8.31 + + + New destination + + + + demandResponsive + + ch:1:sboid:12391912 + + + + + onBoarding + + + + + PT11M + + From eb8250d4fe5c5e819d531ae8321bfb0f83ce615a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20G=C3=BCnter?= Date: Mon, 13 Mar 2023 22:14:26 +0100 Subject: [PATCH 06/20] Fixed examples Fixed Trips --- OJP/OJP_Trips.xsd | 9 ++----- .../{ => triprefine}/RefinementRequest.xml | 24 +++++++++---------- .../{ => triprefine}/RefinementResponse.xml | 24 +++++++++---------- 3 files changed, 26 insertions(+), 31 deletions(-) rename examples/functions/{ => triprefine}/RefinementRequest.xml (94%) rename examples/functions/{ => triprefine}/RefinementResponse.xml (92%) diff --git a/OJP/OJP_Trips.xsd b/OJP/OJP_Trips.xsd index 8786983f7..3b20d102e 100644 --- a/OJP/OJP_Trips.xsd +++ b/OJP/OJP_Trips.xsd @@ -384,7 +384,7 @@ Fare and fare product information for this trip as a whole or parts of it. - + When the result is an alternative option from IncludeAlternativeOptions, then the flag should be set to true. If it is an alternative option this means that the server decided to add this result for its own reasons: e.g. to push a certain trip leg, because it believes that it might better suit at least some possible customers. Such options are not an optimal fit to the criteria that were in the request. The client may therefore disregard such results depending on the use case. @@ -1484,7 +1484,7 @@ If true, then the request may contain object references from another system. Default is FALSE. - + Refers to the legs to be refined by the server. If none is given, then all legs are open for refinement (depending if the relevant system can refine them). @@ -1500,11 +1500,6 @@ - - - System reference to use for the refinement. If not specified the origin system of each leg are used for the refinement. - - diff --git a/examples/functions/RefinementRequest.xml b/examples/functions/triprefine/RefinementRequest.xml similarity index 94% rename from examples/functions/RefinementRequest.xml rename to examples/functions/triprefine/RefinementRequest.xml index 83cecc04f..813f78416 100644 --- a/examples/functions/RefinementRequest.xml +++ b/examples/functions/triprefine/RefinementRequest.xml @@ -1,5 +1,5 @@ - + 2022-12-19T12:00:00Z @@ -27,16 +27,16 @@ - ID-5A9D01A0-CF49-41E7-A674-D37167E33AEF + ID-5A9D01A0-CF49-41E7-A674-D37167E33AEF - ID-5A9D01A0-CF49-41E7-A674-D37167E33AEF + ID-5A9D01A0-CF49-41E7-A674-D37167E33AEF PT2H18M 2020-09-30T10:03:00Z 2020-09-30T12:21:00Z 0 125484 - - 1 + + 1 8506302 @@ -117,9 +117,9 @@ - - - 2 + + + 2 walk @@ -139,9 +139,9 @@ PT3M - - - 3 + + + 3 @@ -176,7 +176,7 @@ PT13M - + diff --git a/examples/functions/RefinementResponse.xml b/examples/functions/triprefine/RefinementResponse.xml similarity index 92% rename from examples/functions/RefinementResponse.xml rename to examples/functions/triprefine/RefinementResponse.xml index 4bf5c5258..c77e36f9b 100644 --- a/examples/functions/RefinementResponse.xml +++ b/examples/functions/triprefine/RefinementResponse.xml @@ -1,5 +1,5 @@ - + 2022-12-01T17:54:38Z @@ -12,16 +12,16 @@ 421 4 - ID-5A9D01A0-CF49-41E7-A674-D37167E33AEF + ID-5A9D01A0-CF49-41E7-A674-D37167E33AEF - ID-5A9D01A0-CF49-41E7-A674-D37167E33AEF + ID-5A9D01A0-CF49-41E7-A674-D37167E33AEF PT2H18M 2020-09-30T10:03:00Z 2020-09-30T12:21:00Z 0 125484 - - 1 + + 1 8506302 @@ -107,9 +107,9 @@ - - - 2 + + + 2 walk @@ -129,9 +129,9 @@ PT3M - - - 3 + + + 3 @@ -166,7 +166,7 @@ PT11M - + From 0eb56ee5f5fe01ca634387c27c61a8824b909ab2 Mon Sep 17 00:00:00 2001 From: ue71603 Date: Tue, 17 Jan 2023 22:00:47 +0100 Subject: [PATCH 07/20] improved refinement --- OJP/OJP_Requests.xsd | 1 + 1 file changed, 1 insertion(+) diff --git a/OJP/OJP_Requests.xsd b/OJP/OJP_Requests.xsd index b61f23824..61ddb4831 100644 --- a/OJP/OJP_Requests.xsd +++ b/OJP/OJP_Requests.xsd @@ -1,4 +1,5 @@ + OJP/OJP_Requests.xsd - OJP service requests and responses From c7c25c5321eb0bf5426667b0e4fa8c3b3bf1caee Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 17 Jan 2023 21:07:34 +0000 Subject: [PATCH 08/20] Lint and update documentation tables --- OJP/OJP_Requests.xsd | 1 - 1 file changed, 1 deletion(-) diff --git a/OJP/OJP_Requests.xsd b/OJP/OJP_Requests.xsd index 61ddb4831..b61f23824 100644 --- a/OJP/OJP_Requests.xsd +++ b/OJP/OJP_Requests.xsd @@ -1,5 +1,4 @@ - OJP/OJP_Requests.xsd - OJP service requests and responses From 45f1c76dd497222d6c78f5c0c8a43eb49ecb5283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20G=C3=BCnter?= Date: Tue, 7 Mar 2023 11:36:59 +0100 Subject: [PATCH 09/20] update after discussion and example --- examples/functions/RefinementRequest.xml | 153 ++++++++++++++++++++++ examples/functions/RefinementResponse.xml | 111 ++++++++++++++++ 2 files changed, 264 insertions(+) create mode 100644 examples/functions/RefinementRequest.xml create mode 100644 examples/functions/RefinementResponse.xml diff --git a/examples/functions/RefinementRequest.xml b/examples/functions/RefinementRequest.xml new file mode 100644 index 000000000..456db4d97 --- /dev/null +++ b/examples/functions/RefinementRequest.xml @@ -0,0 +1,153 @@ + + + + + 2022-12-19T12:00:00Z + IRMA + + 2022-12-19T12:00:00Z + 4711 + + 1 + 2 + 4 + SBB:ojp:prod + full + true + true + true + difficult + comfortable + + OSDM-NOVA-Prod + Senior + Disabled + + 85 + + + + + ID-5A9D01A0-CF49-41E7-A674-D37167E33AEF + + ID-5A9D01A0-CF49-41E7-A674-D37167E33AEF + PT2H18M + 2020-09-30T10:03:00Z + 2020-09-30T12:21:00Z + 0 + 125484 + + 1 + + + 8506302 + + St. Gallen + + + 4 + + + 2020-09-30T10:03:00Z + + 1 + + + 8505000 + + Luzern + + + 3 + + + 2020-09-30T12:21:00Z + + 15 + + + 2020-09-30 + ojp:910DG:Y:R:j20:210 + ojp:910DG:Y + R + + rail + local + + Zug + + + IR + + + + empty + + + ojp:82 + + + + Reservierung möglich + + A___R + + + + Bar + + A___B + + + + Maskenpflicht für Reisende ab 12 Jahren + + A__OM + + de:00000:-1 + + Luzern + + + + + Voralpen-Express + + + 2020 + + + + + + + + + + ch:1:sboid:1230123 + New rail company + + + + + + 8530813 + + Zürich Kreuzplatz + + 23026261:27 + + + Zürich + + + 8.55408 + 47.36488 + + + + + + + + diff --git a/examples/functions/RefinementResponse.xml b/examples/functions/RefinementResponse.xml new file mode 100644 index 000000000..fe8acb365 --- /dev/null +++ b/examples/functions/RefinementResponse.xml @@ -0,0 +1,111 @@ + + + + + 2022-12-01T17:54:38Z + OJPCH_Prod + true + + 2022-12-01T17:54:38Z + 4711 + true + 421 + 4 + + ID-5A9D01A0-CF49-41E7-A674-D37167E33AEF + + ID-5A9D01A0-CF49-41E7-A674-D37167E33AEF + PT2H18M + 2020-09-30T10:03:00Z + 2020-09-30T12:21:00Z + 0 + 125484 + + 1 + + + 8506302 + + St. Gallen + + + 4 + + + 2020-09-30T10:03:00Z + + 1 + + + 8505000 + + Luzern + + + 3 + + + 2020-09-30T12:21:00Z + + 15 + + + 2020-09-30 + ojp:910DG:Y:R:j20:210 + ojp:910DG:Y + R + + rail + local + + Zug + + + IR + + + + empty + + + ojp:82 + + + + Reservierung möglich + + A___R + + + + Bar + + A___B + + + + Maskenpflicht für Reisende ab 12 Jahren + + A__OM + + de:00000:-1 + + Luzern + + + + + Voralpen-Express + + + 2020 + + + + + + + + + + From 25d3e5b6561207795f97128ddd5a9f89dd4964d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20G=C3=BCnter?= Date: Mon, 13 Mar 2023 21:53:44 +0100 Subject: [PATCH 10/20] better example an fixed PurchaeMoment --- examples/functions/RefinementRequest.xml | 62 ++++++++++++++++++++- examples/functions/RefinementResponse.xml | 68 ++++++++++++++++++++++- 2 files changed, 126 insertions(+), 4 deletions(-) diff --git a/examples/functions/RefinementRequest.xml b/examples/functions/RefinementRequest.xml index 456db4d97..83cecc04f 100644 --- a/examples/functions/RefinementRequest.xml +++ b/examples/functions/RefinementRequest.xml @@ -9,8 +9,7 @@ 4711 1 - 2 - 4 + 3 SBB:ojp:prod full true @@ -119,6 +118,65 @@ + + 2 + + walk + + 8505000 + + Luzern + + + + + 47.042666496 + 8.306332108 + + + Taxiplatz Luzern + + + PT3M + + + + 3 + + + + 47.042666496 + 8.306332108 + + + Taxiplatz Luzern + + + + + 47.06 + 8.32 + + + Destination + + + + demandResponsive + + ch:1:sboid:12391912 + + + + + onBoarding + + + + + PT13M + + diff --git a/examples/functions/RefinementResponse.xml b/examples/functions/RefinementResponse.xml index fe8acb365..4bf5c5258 100644 --- a/examples/functions/RefinementResponse.xml +++ b/examples/functions/RefinementResponse.xml @@ -20,7 +20,7 @@ 2020-09-30T12:21:00Z 0 125484 - + 1 @@ -31,8 +31,12 @@ 4 + + 5 + 2020-09-30T10:03:00Z + 2020-09-30T10:06:00Z 1 @@ -82,12 +86,13 @@ A___B + de:00000:-1 Luzern @@ -103,6 +108,65 @@ + + 2 + + walk + + 8505000 + + Luzern + + + + + 47.042666496 + 8.306332108 + + + Taxiplatz Luzern + + + PT3M + + + + 3 + + + + 47.042666496 + 8.306332108 + + + Taxiplatz Luzern + + + + + 47.06 + 8.31 + + + New destination + + + + demandResponsive + + ch:1:sboid:12391912 + + + + + onBoarding + + + + + PT11M + + From c7ee5314fd98839b0fa97c6b05f37c0978b5a628 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20G=C3=BCnter?= Date: Mon, 13 Mar 2023 22:18:20 +0100 Subject: [PATCH 11/20] remove duplicate xml files --- examples/functions/RefinementRequest.xml | 211 ---------------------- examples/functions/RefinementResponse.xml | 175 ------------------ 2 files changed, 386 deletions(-) delete mode 100644 examples/functions/RefinementRequest.xml delete mode 100644 examples/functions/RefinementResponse.xml diff --git a/examples/functions/RefinementRequest.xml b/examples/functions/RefinementRequest.xml deleted file mode 100644 index 83cecc04f..000000000 --- a/examples/functions/RefinementRequest.xml +++ /dev/null @@ -1,211 +0,0 @@ - - - - - 2022-12-19T12:00:00Z - IRMA - - 2022-12-19T12:00:00Z - 4711 - - 1 - 3 - SBB:ojp:prod - full - true - true - true - difficult - comfortable - - OSDM-NOVA-Prod - Senior - Disabled - - 85 - - - - - ID-5A9D01A0-CF49-41E7-A674-D37167E33AEF - - ID-5A9D01A0-CF49-41E7-A674-D37167E33AEF - PT2H18M - 2020-09-30T10:03:00Z - 2020-09-30T12:21:00Z - 0 - 125484 - - 1 - - - 8506302 - - St. Gallen - - - 4 - - - 2020-09-30T10:03:00Z - - 1 - - - 8505000 - - Luzern - - - 3 - - - 2020-09-30T12:21:00Z - - 15 - - - 2020-09-30 - ojp:910DG:Y:R:j20:210 - ojp:910DG:Y - R - - rail - local - - Zug - - - IR - - - - empty - - - ojp:82 - - - - Reservierung möglich - - A___R - - - - Bar - - A___B - - - - Maskenpflicht für Reisende ab 12 Jahren - - A__OM - - de:00000:-1 - - Luzern - - - - - Voralpen-Express - - - 2020 - - - - - - 2 - - walk - - 8505000 - - Luzern - - - - - 47.042666496 - 8.306332108 - - - Taxiplatz Luzern - - - PT3M - - - - 3 - - - - 47.042666496 - 8.306332108 - - - Taxiplatz Luzern - - - - - 47.06 - 8.32 - - - Destination - - - - demandResponsive - - ch:1:sboid:12391912 - - - - - onBoarding - - - - - PT13M - - - - - - - - ch:1:sboid:1230123 - New rail company - - - - - - 8530813 - - Zürich Kreuzplatz - - 23026261:27 - - - Zürich - - - 8.55408 - 47.36488 - - - - - - - - diff --git a/examples/functions/RefinementResponse.xml b/examples/functions/RefinementResponse.xml deleted file mode 100644 index 4bf5c5258..000000000 --- a/examples/functions/RefinementResponse.xml +++ /dev/null @@ -1,175 +0,0 @@ - - - - - 2022-12-01T17:54:38Z - OJPCH_Prod - true - - 2022-12-01T17:54:38Z - 4711 - true - 421 - 4 - - ID-5A9D01A0-CF49-41E7-A674-D37167E33AEF - - ID-5A9D01A0-CF49-41E7-A674-D37167E33AEF - PT2H18M - 2020-09-30T10:03:00Z - 2020-09-30T12:21:00Z - 0 - 125484 - - 1 - - - 8506302 - - St. Gallen - - - 4 - - - 5 - - - 2020-09-30T10:03:00Z - 2020-09-30T10:06:00Z - - 1 - - - 8505000 - - Luzern - - - 3 - - - 2020-09-30T12:21:00Z - - 15 - - - 2020-09-30 - ojp:910DG:Y:R:j20:210 - ojp:910DG:Y - R - - rail - local - - Zug - - - IR - - - - empty - - - ojp:82 - - - - Reservierung möglich - - A___R - - - - Bar - - A___B - - - de:00000:-1 - - Luzern - - - - - Voralpen-Express - - - 2020 - - - - - - 2 - - walk - - 8505000 - - Luzern - - - - - 47.042666496 - 8.306332108 - - - Taxiplatz Luzern - - - PT3M - - - - 3 - - - - 47.042666496 - 8.306332108 - - - Taxiplatz Luzern - - - - - 47.06 - 8.31 - - - New destination - - - - demandResponsive - - ch:1:sboid:12391912 - - - - - onBoarding - - - - - PT11M - - - - - - - - From fe6384bbb7e828e1965ede237244f8f37842057e Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 13 Mar 2023 21:18:57 +0000 Subject: [PATCH 12/20] Lint and update documentation tables --- .../triprefine/RefinementRequest.xml | 40 +++++++++---------- .../triprefine/RefinementResponse.xml | 32 +++++++++------ 2 files changed, 40 insertions(+), 32 deletions(-) diff --git a/examples/functions/triprefine/RefinementRequest.xml b/examples/functions/triprefine/RefinementRequest.xml index 813f78416..024ad9208 100644 --- a/examples/functions/triprefine/RefinementRequest.xml +++ b/examples/functions/triprefine/RefinementRequest.xml @@ -12,7 +12,7 @@ 3 SBB:ojp:prod full - true + true true true difficult @@ -147,7 +147,7 @@ 47.042666496 8.306332108 - + Taxiplatz Luzern @@ -178,7 +178,7 @@ - + @@ -187,24 +187,24 @@ - - - 8530813 - - Zürich Kreuzplatz - - 23026261:27 - - - Zürich - - - 8.55408 - 47.36488 - - + + + 8530813 + + Zürich Kreuzplatz + + 23026261:27 + + + Zürich + + + 8.55408 + 47.36488 + + - + diff --git a/examples/functions/triprefine/RefinementResponse.xml b/examples/functions/triprefine/RefinementResponse.xml index c77e36f9b..6fdc7951e 100644 --- a/examples/functions/triprefine/RefinementResponse.xml +++ b/examples/functions/triprefine/RefinementResponse.xml @@ -20,7 +20,8 @@ 2020-09-30T12:21:00Z 0 125484 - + + 1 @@ -32,11 +33,13 @@ 4 - 5 - + 5 + + 2020-09-30T10:03:00Z - 2020-09-30T10:06:00Z + 2020-09-30T10:06:00Z + 1 @@ -109,7 +112,8 @@ - 2 + 2 + walk @@ -130,14 +134,15 @@ PT3M - + + 3 47.042666496 8.306332108 - + Taxiplatz Luzern @@ -145,10 +150,12 @@ 47.06 - 8.31 + 8.31 + - New destination + New destination + @@ -164,11 +171,12 @@ - PT11M + PT11M + - + - + From 96a88d64546e9322448d18003f6836f7d5f1db80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20G=C3=BCnter?= Date: Sun, 19 Mar 2023 20:34:10 +0100 Subject: [PATCH 13/20] Update OJP/OJP_JourneySupport.xsd Co-authored-by: trurlurl <82838870+trurlurl@users.noreply.github.com> --- OJP/OJP_JourneySupport.xsd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OJP/OJP_JourneySupport.xsd b/OJP/OJP_JourneySupport.xsd index 559960167..f4ee8827a 100644 --- a/OJP/OJP_JourneySupport.xsd +++ b/OJP/OJP_JourneySupport.xsd @@ -253,7 +253,7 @@ - A trip location represents the current logical position of a journey service. It can be used similarly to a place e.g. for starting a new trip requests from within this service. A trip location does not(!) describe the relative position of a traveller within a vehicle, e.g. the seat. + A trip location represents the current logical position of a journey service. It can be used similarly to a place e.g. for starting a new trip request from within this service. A trip location does not(!) describe the relative position of a traveller within a vehicle, e.g. the seat. From 7c88251e9400db8c6fe0a7b7e5329e22d85c2c7d Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 19 Mar 2023 19:34:41 +0000 Subject: [PATCH 14/20] Lint and update documentation tables --- docs/generated/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/generated/index.html b/docs/generated/index.html index bd45bad90..8ef6a1188 100644 --- a/docs/generated/index.html +++ b/docs/generated/index.html @@ -1191,7 +1191,7 @@

OJP - Open API for distributed Journey

Cancelled

0:1

xs:boolean

Whether this trip is cancelled and will not be run. Default is false.

Deviation

0:1

xs:boolean

Whether this trip deviates from the planned service pattern. Default is false.

Occupancy

0:1

siri:OccupancyEnumeration

[equivalent to OCCUPANCY in SIRI] passenger load status of a VEHICLE. If omitted, not known.

-

BookingArrangements

0:1

+BookingArrangementsContainer

Container with information on booking possibilities for this service.

ReservationNeeded

0:1

ReservationNeeded

Indicates whether this service needs some kind of reservation or booking to run.

SituationFullRefs

0:1

+SituationRefList

A list of references to SITUATIONs.

Extension

0:1

xs:anyType

12.13. The complex type TripLocationStructure

TripLocationStructure

A trip location represents the current logical position of a journey service. It can be used similarly to a place e.g. for starting a new trip requests from within this service. A trip location does not(!) describe the relative position of a traveller within a vehicle, e.g. the seat.

The element contains a sequence of the following elements:

→‍OperatingDayRef

1:1

→‍OperatingDayRef

Reference to an Operating Day

→‍JourneyRef

1:1

→‍JourneyRef

Reference to a Journey

→‍siri:LineIdentityGroup

12.14. The TimeWindowGroup group

+

TimeWindowGroup

The window of opportunity that the traveller has to perform this leg of the journey.

BookingArrangements

0:1

+BookingArrangementsContainer

Container with information on booking possibilities for this service.

ReservationNeeded

0:1

ReservationNeeded

Indicates whether this service needs some kind of reservation or booking to run.

SituationFullRefs

0:1

+SituationRefList

A list of references to SITUATIONs.

Extension

0:1

xs:anyType

12.13. The complex type TripLocationStructure

TripLocationStructure

A trip location represents the current logical position of a journey service. It can be used similarly to a place e.g. for starting a new trip request from within this service. A trip location does not(!) describe the relative position of a traveller within a vehicle, e.g. the seat.

The element contains a sequence of the following elements:

→‍OperatingDayRef

1:1

→‍OperatingDayRef

Reference to an Operating Day

→‍JourneyRef

1:1

→‍JourneyRef

Reference to a Journey

→‍siri:LineIdentityGroup

12.14. The TimeWindowGroup group

TimeWindowGroup

The window of opportunity that the traveller has to perform this leg of the journey.

TimeWindow

TimeWindowStart

0:1

xs:dateTime

Time at which window begins.

TimeWindowEnd

0:1

xs:dateTime

Time at which window ends.

12.15. The ServiceTimeGroup group

From 55de89fabb0977bad8b70578303b089660602b30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20Gro=C3=9Fberndt?= Date: Thu, 23 Mar 2023 09:21:22 +0100 Subject: [PATCH 15/20] Removed space in excess --- OJP/OJP_JourneySupport.xsd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OJP/OJP_JourneySupport.xsd b/OJP/OJP_JourneySupport.xsd index f4ee8827a..fcac3099d 100644 --- a/OJP/OJP_JourneySupport.xsd +++ b/OJP/OJP_JourneySupport.xsd @@ -253,7 +253,7 @@ - A trip location represents the current logical position of a journey service. It can be used similarly to a place e.g. for starting a new trip request from within this service. A trip location does not(!) describe the relative position of a traveller within a vehicle, e.g. the seat. + A trip location represents the current logical position of a journey service. It can be used similarly to a place e.g. for starting a new trip request from within this service. A trip location does not(!) describe the relative position of a traveller within a vehicle, e.g. the seat. From 1dffefce0923bbb8eb49604a0ad2f81b952ff593 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 23 Mar 2023 08:22:27 +0000 Subject: [PATCH 16/20] Lint and update documentation tables --- docs/generated/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/generated/index.html b/docs/generated/index.html index 8ef6a1188..df36cfb88 100644 --- a/docs/generated/index.html +++ b/docs/generated/index.html @@ -1191,7 +1191,7 @@

OJP - Open API for distributed Journey

-

ServiceTimeGroup

Contains at least scheduled time, but can contain real time and estimated times

Cancelled

0:1

xs:boolean

Whether this trip is cancelled and will not be run. Default is false.

Deviation

0:1

xs:boolean

Whether this trip deviates from the planned service pattern. Default is false.

Occupancy

0:1

siri:OccupancyEnumeration

[equivalent to OCCUPANCY in SIRI] passenger load status of a VEHICLE. If omitted, not known.

BookingArrangements

0:1

+BookingArrangementsContainer

Container with information on booking possibilities for this service.

ReservationNeeded

0:1

ReservationNeeded

Indicates whether this service needs some kind of reservation or booking to run.

SituationFullRefs

0:1

+SituationRefList

A list of references to SITUATIONs.

Extension

0:1

xs:anyType

12.13. The complex type TripLocationStructure

TripLocationStructure

A trip location represents the current logical position of a journey service. It can be used similarly to a place e.g. for starting a new trip request from within this service. A trip location does not(!) describe the relative position of a traveller within a vehicle, e.g. the seat.

The element contains a sequence of the following elements:

→‍OperatingDayRef

1:1

→‍OperatingDayRef

Reference to an Operating Day

→‍JourneyRef

1:1

→‍JourneyRef

Reference to a Journey

→‍siri:LineIdentityGroup

12.14. The TimeWindowGroup group

+

TimeWindowGroup

The window of opportunity that the traveller has to perform this leg of the journey.

BookingArrangements

0:1

+BookingArrangementsContainer

Container with information on booking possibilities for this service.

ReservationNeeded

0:1

ReservationNeeded

Indicates whether this service needs some kind of reservation or booking to run.

SituationFullRefs

0:1

+SituationRefList

A list of references to SITUATIONs.

Extension

0:1

xs:anyType

12.13. The complex type TripLocationStructure

TripLocationStructure

A trip location represents the current logical position of a journey service. It can be used similarly to a place e.g. for starting a new trip request from within this service. A trip location does not(!) describe the relative position of a traveller within a vehicle, e.g. the seat.

The element contains a sequence of the following elements:

→‍OperatingDayRef

1:1

→‍OperatingDayRef

Reference to an Operating Day

→‍JourneyRef

1:1

→‍JourneyRef

Reference to a Journey

→‍siri:LineIdentityGroup

12.14. The TimeWindowGroup group

TimeWindowGroup

The window of opportunity that the traveller has to perform this leg of the journey.

TimeWindow

TimeWindowStart

0:1

xs:dateTime

Time at which window begins.

TimeWindowEnd

0:1

xs:dateTime

Time at which window ends.

12.15. The ServiceTimeGroup group

From 024c58d19d19cb2461c1048e14cf9a58ed15c27c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20G=C3=BCnter?= Date: Thu, 23 Mar 2023 10:01:32 +0100 Subject: [PATCH 17/20] Update OJP/OJP_Trips.xsd --- OJP/OJP_Trips.xsd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OJP/OJP_Trips.xsd b/OJP/OJP_Trips.xsd index 3b20d102e..ac2b5ef7a 100644 --- a/OJP/OJP_Trips.xsd +++ b/OJP/OJP_Trips.xsd @@ -1491,7 +1491,7 @@ - System reference to use for the refinement. If not specified the origin system of each leg are used for the refinement. + System reference to use for the refinement. If not specified the origin systems of each leg are used for the refinement. From 6395e88d544d8c09c948b35b382aa9566d2f8cf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20G=C3=BCnter?= Date: Mon, 3 Apr 2023 15:56:10 +0200 Subject: [PATCH 18/20] problems added --- OJP/OJP_Trips.xsd | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/OJP/OJP_Trips.xsd b/OJP/OJP_Trips.xsd index ac2b5ef7a..892572fe2 100644 --- a/OJP/OJP_Trips.xsd +++ b/OJP/OJP_Trips.xsd @@ -1657,6 +1657,16 @@ Indicated legs do not exist. + + + The object to be refined could not be found in the database of the responding system or could not be found unequivocally. + + + + + Refinement does not support the hiking or cycling profile. + + A problem has occurred that does not have a specific problem type. From 299d08b3dfd171f0092a93eda8e47ed6c1e5a3c1 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 3 Apr 2023 13:56:50 +0000 Subject: [PATCH 19/20] Lint and update documentation tables --- OJP/OJP_Trips.xsd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OJP/OJP_Trips.xsd b/OJP/OJP_Trips.xsd index 892572fe2..6ab9af6ff 100644 --- a/OJP/OJP_Trips.xsd +++ b/OJP/OJP_Trips.xsd @@ -1666,7 +1666,7 @@ Refinement does not support the hiking or cycling profile. - + A problem has occurred that does not have a specific problem type. From 411cde234050c3df65814f79de44217d9bda3d1c Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 5 Apr 2023 08:37:12 +0000 Subject: [PATCH 20/20] Lint and update documentation tables --- docs/generated/index.html | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/docs/generated/index.html b/docs/generated/index.html index df36cfb88..fbb3e1d83 100644 --- a/docs/generated/index.html +++ b/docs/generated/index.html @@ -67,7 +67,7 @@

OJP - Open API for distributed Journey 8. OJP/OJP_PlaceSupport.xsd - Supporting definitions for location information
  • 9. OJP/OJP_StopEvents.xsd - Request and response definitions for arrivals and departures of public transport services at stops
  • 10. OJP/OJP_TripInfo.xsd - Request and response definitions for information on a single trip
  • -
  • 11. OJP/OJP_Trips.xsd - Request and response definitions for trip requests and distributed journey planning
  • +
  • 11. OJP/OJP_Trips.xsd - Request and response definitions for trip requests and distributed journey planning
  • 12. OJP/OJP_JourneySupport.xsd - Supporting definitions for journeys on public transport vehicles
  • 13. OJP/OJP_Availability.xsd - Request and response definitions for availability of tickets and services on a journey leg.
  • 14. OJP/OJP_Common.xsd - Supporting definitions of common structures
  • @@ -618,7 +618,7 @@

    OJP - Open API for distributed Journey

    11. OJP/OJP_Trips.xsd - Request and response definitions for trip requests and distributed journey planning

    11.1. Simple type definitions

    ServiceTimeGroup

    Contains at least scheduled time, but can contain real time and estimated times

    AccessFeatureStatusEnumeration

    unknown | available | partiallyAvailable | notAvailable

    Allowed values for status of the access feature.

    AccessFeatureTypeEnumeration

    elevator | stairs | seriesOfStairs | singleStep | seriesOfSingleSteps | escalator | travelator | ramp | footpath | shuttle | other | unkown

    Allowed values for a AccessFeature.

    AccessibilityFeatureTypesEnumeration

    lowFloorAccess | stepFreeAccess | accessWithSteps | slidingStep | raisedKerb | narrowEntrance | wheelchairLift | manualRamp | automaticRamp | suitableForWheelchairs | suitableForUnassistedWheelchairs | suitableForHeaviliyDisabled | suitableForPushchairs | suitableForBicycles | tactilePlatformEdges | tactileGuidingStrips | tactileOrAuditorySigns | visualSigns | elevatorWithTactileButtons | elevatorWithAcousticAnnouncements | audioInformation | audioForHearingImpaired | visualDisplays | displaysForVisuallyImpaired | largePrintTimetables | boardingAssistance | onboardAssistance | unaccompaniedMinorAssistance | barrier | validator

    Allowed values for AccessibilityFeature (for mobility and sensory impairments, assistance and important elements to pay attention to).

    FeasibilityEnumeration

    allAccessFeaturesAvailable | accessFeatureNotAvailable | accessFeaturePartiallyAvailable | accessFeatureWithUnknownAvailability | seeSituations

    Allowed values for the feasibility of a TRIP or part of a TRIP.

    GuidanceAdviceEnumeration

    origin | destination | continue | keep | turn | leave | enter | enter_roundabout | stay_in_roundabout | leave_roundabout | enter_builtup_area | leave_builtup_area | freewayAccessRamp | unknown_lane_choice | left_lane | middle_lane | right_lane | unknown_turning_kind

    Various types of guidance advice given to traveller. Suitable values may differ by MODE (e.g. a car driver needs different advice than a person walking for a transfer.

    MultiPointTypeEnumeration

    anyPoint | eachOrigin | eachDestination | eachOriginDestination | somePoints

    How the multiple origin/destination points should be considered. Note: Unfortunately this element was underdefined before and this resulted in different implementations. Note: MultiPointType trumps the number of results. If the algorithm thinks it necessary to provide more results, it should. -

    OptimisationMethodEnumeration

    fastest | minChanges | leastWalking | leastCost | leastDistance | earliestArrival | latestDeparture | earliestArrivalAndLatestDeparture | environmentalSafety | extraSafe | extraReliable | scenic | quietTravel

    The types of algorithm that can be used for planning a journey (fastest, least walking, etc.). If multiple optimisation methods are needed, then several requests should be performed in parallel.

    TransitionEnumeration

    up | down | level | upAndDown | downAndUp

    Transition types for interchanges.

    TripProblemTypeEnumeration

    TRIP_NOTRIPFOUND | TRIP_ORIGINUNKNOWN | TRIP_DESTINATIONUNKNOWN | TRIP_VIAUNKNOWN | TRIP_NOTVIAUNKNOWN | TRIP_NOCHANGEATUNKNOWN | TRIP_NOORIGIN | TRIP_NODESTINATION | TRIP_ORIGINDESTINATIONIDENTICAL | TRIP_DATETIMEERROR | TRIP_DEPARTUREAFTERARRIVAL | TRIP_DATEOUTOFRANGE | TRIP_ORIGINEQUIVALENT | TRIP_DESTINATIONEQUIVALENT | TRIP_VIAEQUIVALENT | TRIP_REALTIMEINCOMPLETE | TRIP_ITTIMEEXTENDED | TRIP_ITMODECHANGED | TRIP_INCONVENIENTWAITING | TRIP_MULTIPOINT_NOTALLPOINTSCOVERED | TRIP_MULTIPOINT_TOOMANYPOINTS | TRIP_MULTIPOINT_TYPE_NOT_SUPPORTED | TRIP_REFINE_LEG_UNKNOWN | TRIP_OTHER

    Types of problems that may be returned in responses to Trip requests.

    TurnActionEnumeration

    straight_on | half_right | right | sharp_right | uturn | sharp_left | left | half_left | up | down | unknown_turn_action

    The range of possible turns that can be described.

    11.2. The TripRequestGroup group

    +

    TripRequestGroup

    Trip request structure.

    OptimisationMethodEnumeration

    fastest | minChanges | leastWalking | leastCost | leastDistance | earliestArrival | latestDeparture | earliestArrivalAndLatestDeparture | environmentalSafety | extraSafe | extraReliable | scenic | quietTravel

    The types of algorithm that can be used for planning a journey (fastest, least walking, etc.). If multiple optimisation methods are needed, then several requests should be performed in parallel.

    TransitionEnumeration

    up | down | level | upAndDown | downAndUp

    Transition types for interchanges.

    TripProblemTypeEnumeration

    TRIP_NOTRIPFOUND | TRIP_ORIGINUNKNOWN | TRIP_DESTINATIONUNKNOWN | TRIP_VIAUNKNOWN | TRIP_NOTVIAUNKNOWN | TRIP_NOCHANGEATUNKNOWN | TRIP_NOORIGIN | TRIP_NODESTINATION | TRIP_ORIGINDESTINATIONIDENTICAL | TRIP_DATETIMEERROR | TRIP_DEPARTUREAFTERARRIVAL | TRIP_DATEOUTOFRANGE | TRIP_ORIGINEQUIVALENT | TRIP_DESTINATIONEQUIVALENT | TRIP_VIAEQUIVALENT | TRIP_REALTIMEINCOMPLETE | TRIP_ITTIMEEXTENDED | TRIP_ITMODECHANGED | TRIP_INCONVENIENTWAITING | TRIP_MULTIPOINT_NOTALLPOINTSCOVERED | TRIP_MULTIPOINT_TOOMANYPOINTS | TRIP_MULTIPOINT_TYPE_NOT_SUPPORTED | TRIP_REFINE_LEG_UNKNOWN | REFINE_OBJECTNOTFOUND | REFINE_PROFILENOTSUPPORTED | TRIP_OTHER

    Types of problems that may be returned in responses to Trip requests.

    TurnActionEnumeration

    straight_on | half_right | right | sharp_right | uturn | sharp_left | left | half_left | up | down | unknown_turn_action

    The range of possible turns that can be described.

    11.2. The TripRequestGroup group

    -

    TripRequestGroup

    Trip request structure.

    TripRequest

    Origin

    1:*

    +PlaceContext

    Specifies the origin situation from where the user wants to start.

    Destination

    1:*

    +PlaceContext

    Specifies the destination situation where the user is heading to.

    Via

    0:*

    +TripVia

    Ordered series of points where the journey must pass through. If more than one via point is given all of them must be obeyed - in the correct order. The server is allowed to replace a via stop by equivalent stops. @@ -1027,7 +1027,11 @@

    OJP - Open API for distributed Journey

    TripRefineRequest

    RefineParams

    0:1

    +TripRefineParam

    Options to control the refine

    TripResult

    1:1

    +TripResult

    The trip result to be refined by the server.

    TripResponseContext

    0:1

    +ResponseContext

    Context to hold objects, which are referenced within the response.

    11.37. The complex type TripRefineParamStructure

    +

    TripRefineParamStructure

    Trip refinement request parameter structure.

    The element contains a sequence of the following elements:

    ForeignObjectRefs

    0:1

    xs:boolean

    If true, then the request may contain object references from another system. Default is FALSE.

    RefineLegRef

    1:*

    xs:NMTOKEN

    Refers to a leg to be refined by the server.

    UseRealtimeData

    0:1

    UseRealtimeData

    Usage of real-time data in refinement. Default is "full".

    11.37. The TripRefinementDataFilterGroup group

    + +

    TripRefinementDataFilterGroup

    Request data filters for Refinement

    TripRefinementDataFilter

    OperatorFilter

    0:1

    +OperatorFilter

    Transport operators to include/exclude.

    11.38. The complex type TripRefineParamStructure

    + + @@ -1087,11 +1091,11 @@

    OJP - Open API for distributed Journey

    -

    TripRefineParamStructure

    Trip refinement request parameter structure.

    The element contains a sequence of the following elements:

    ForeignObjectRefs

    0:1

    xs:boolean

    If true, then the request may contain object references from another system. Default is FALSE.

    RefineLegRef

    0:*

    xs:NMTOKEN

    Refers to the legs to be refined by the server. If none is given, then all legs are open for refinement (depending if the relevant system can refine them).

    SystemId

    0:1

    xs:normalizedString

    System reference to use for the refinement. If not specified the origin systems of each leg are used for the refinement.

    UseRealtimeData

    0:1

    UseRealtimeData

    Usage of real-time data in refinement. Default is "full".

    TripRefinementDataFilter

    OperatorFilter

    0:1

    +OperatorFilter

    Transport operators to include/exclude.

    BaseTripContentFilter

    IncludeTrackSections

    0:1

    xs:boolean

    Whether the result should include TrackSection elements to describe the geographic route of each journey leg.

    IncludeLegProjection

    0:1

    xs:boolean

    Whether the result should include the geographic projection (coordinates) of each journey leg.

    TripSummaryOnly

    0:1

    xs:boolean

    If true, then the response will contain only summaries of the found trips. Default is false.

    FareParam

    0:1

    +FareParam

    Parameters for fare calculation. Only used if IncludeFare is set (TripContentFilterGroup).

    Extension

    0:1

    xs:anyType

    11.38. The TripRefineResponseGroup group

    +

    TripRefineResponseGroup

    Trip refinement response structure.

    FareParam

    0:1

    +FareParam

    Parameters for fare calculation. Only used if IncludeFare is set (TripContentFilterGroup).

    Extension

    0:1

    xs:anyType

    11.39. The TripRefineResponseGroup group

    -

    TripRefineResponseGroup

    Trip refinement response structure.

    TripRefineResponse

    TripResponseContext

    0:1

    +ResponseContext

    Context to hold trip response objects that occur frequently.

    UnknownLegRef

    0:*

    xs:NMTOKEN

    Refers to a leg that was not found in the data of the server. If the to be refined TripResult could not be found or unequivocally determined, all RefineLegRefs are returned as UnknownLegRefs.

    TripResult

    0:*

    +TripResult

    The trip results refined by the server.

    11.39. The toplevel element TripProblemType

    TripProblemType

    TripProblemType (↔ ErrorType)

    +

    11.40. The toplevel element TripProblemType

    TripProblemType

    TripProblemType (↔ ErrorType)

    12. OJP/OJP_JourneySupport.xsd - Supporting definitions for journeys on public transport vehicles

    12.1. Simple type definitions

    AccessibilityDetailsProfileEnumeration

    visualImpairment | auditoryImpairment | mobilityImpairment | bicycle | general

    Allowed values for AccessibilityDetails.

    ReservationNeededEnumeration

    none | service | stop

    Possible types of reservation needed for services.

    UseRealtimeDataEnumeration

    full | explanatory | none

    VehicleProgressEnumeration

    Not yet operated | Operation finished | At stop | Between stops

    Vehicle progress relative to timetable service pattern.

    12.2. The complex type ServiceViaPointStructure

    ServiceViaPointStructure

    [a specialisation of VIA in TMv6] STOP PLACE or SCHEDULED STOP POINT as a VIA for a particular SERVICE PATTERN. Specialisation of a VIA.

    The element contains a sequence of the following elements:

    StopPoint

    →‍siri:StopPointRef

    1:1

    →‍siri:StopPointRef

    Reference to a stop point.

    StopPointName

    1:1

    +InternationalText

    Name or description of stop point for use in passenger information.