Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SituationExchange - add optional list of keywords in PassengerInformationAction #137

Open
wants to merge 2 commits into
base: integration
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion xsd/siri_model/siri_situation.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ Rail transport, Roads and road transport
</xsd:element>
<xsd:element name="Keywords" type="xsd:NMTOKENS" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Arbitrary application specific classifiers.</xsd:documentation>
<xsd:documentation>Arbitrary application specific classifiers, tags or message categories for filtering or display, for example as icons on a situation map. Can be overwritten in an individual PassengerInformationAction.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="SecondaryReasons" minOccurs="0">
Expand Down
7 changes: 6 additions & 1 deletion xsd/siri_model/siri_situationActions.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ Rail transport, Roads and road transport
</xsd:element>
<xsd:element name="Version" type="SituationVersion" minOccurs="0">
<xsd:annotation>
<xsd:documentation>The monotonically inscresing version of the passenger information instance. If absent, is the same version as the enclosing Situation</xsd:documentation>
<xsd:documentation>The monotonically increasing version of the passenger information instance. If absent, is the same version as the enclosing Situation</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="SourceRef" type="ParticipantRefStructure" minOccurs="0">
Expand Down Expand Up @@ -604,6 +604,11 @@ Rail transport, Roads and road transport
<xsd:documentation>The actual, structured passenger information for a specific TextualContentSize.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Keywords" type="xsd:NMTOKENS" minOccurs="0">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can't be nmtoken, no blanks allowed in this case should by xsd:string

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also pls always add an example to new elements (or update an existing one)

<xsd:annotation>
<xsd:documentation>Arbitrary application specific classifiers, tags or message categories for filtering or display, for example as icons on a situation map. Overwrites Keywords on PtSituationElement level (in the context of this PassengerInformationAction).</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
Expand Down
Loading