You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add new element Period in PassengerInformationActionStructure (#190)
* add new element ActionPeriod in PassengerInformationAction
* Lint and update documentation tables
* harmonize element name and update annotation
* add example showcasing Period on PassengerInformationAction level
* simplify example
* fix validation errors in sx esaf example
* rename action period to match schema
* add comment describing difference between the two ESAF examples
* add second ESAF example without new period feature
<p class="tableblock darkbrown">Period of effect of disruption, if different from that of SITUATION, specifically in case of multiple applicable periods (for example periodic roadworks during the night). If omitted, then the ValidityPeriods on PtSituationElement level apply, otherwise overwrites the former.</p>
<Summaryxml:lang="DE">Haltestelle Pratteln, Bahnhof verschoben.</Summary>
44
+
<Summaryxml:lang="EN">Pratteln, Bahnhof stop moved.</Summary>
45
+
<Detailxml:lang="DE">Grund ist eine Veranstaltung.</Detail>
46
+
<Detailxml:lang="EN">Due to an event.</Detail>
47
+
<Affects>
48
+
<StopPlaces>
49
+
<AffectedStopPlace>
50
+
<StopPlaceRef>ch:1:sloid:94994</StopPlaceRef>
51
+
<PlaceName>Pratteln, Bahnhof</PlaceName>
52
+
</AffectedStopPlace>
53
+
</StopPlaces>
54
+
</Affects>
55
+
<PublishingActions>
56
+
<PublishingAction>
57
+
<PublishAtScope>
58
+
<ScopeType>stopPlace</ScopeType>
59
+
<Affects>
60
+
<StopPlaces>
61
+
<AffectedStopPlace>
62
+
<StopPlaceRef>ch:1:sloid:94994</StopPlaceRef>
63
+
<PlaceName>Pratteln, Bahnhof</PlaceName>
64
+
</AffectedStopPlace>
65
+
</StopPlaces>
66
+
</Affects>
67
+
</PublishAtScope>
68
+
<PassengerInformationAction>
69
+
<PublicationWindow>
70
+
<StartTime>2022-04-14T09:17:23Z</StartTime>
71
+
<EndTime>2022-08-26T21:59:00Z</EndTime>
72
+
</PublicationWindow>
73
+
<ActionRef>ems-696-1</ActionRef>
74
+
<!--Compared to the other ESAF example without period, in this scenario two different texts are published: one in the morning and another one in the afternoon. As a result, one ValidityPeriod on PtSituationElement level is not sufficient and therefore Period is actually required on PassengerInformationAction level to distinguish.-->
<Remarkxml:lang="DE">Bei Fragen wenden Sie sich an das Informationspersonal vor Ort</Remark>
106
+
<Remarkxml:lang="EN">If you have any questions, please contact the information staff on site</Remark>
107
+
</RemarkContent>
108
+
</TextualContent>
109
+
</PassengerInformationAction>
110
+
<PassengerInformationAction>
111
+
<PublicationWindow>
112
+
<StartTime>2022-04-14T09:17:26Z</StartTime>
113
+
<EndTime>2022-08-28T21:59:00Z</EndTime>
114
+
</PublicationWindow>
115
+
<ActionRef>ems-696-2</ActionRef>
116
+
<!--Compared to the other ESAF example without period, in this scenario two different texts are published: one in the morning and another one in the afternoon. As a result, one ValidityPeriod on PtSituationElement level is not sufficient and therefore Period is actually required on PassengerInformationAction level to distinguish.-->
0 commit comments