Skip to content

Fix misleading ParticipantRef documentation - #1066

Open
hfjelstad wants to merge 3 commits into
TransmodelEcosystem:v2.1-wipfrom
hfjelstad:fix/participantref-documentation
Open

Fix misleading ParticipantRef documentation#1066
hfjelstad wants to merge 3 commits into
TransmodelEcosystem:v2.1-wipfrom
hfjelstad:fix/participantref-documentation

Conversation

@hfjelstad

Copy link
Copy Markdown
Contributor

Problem

The ParticipantRef element in the publication schemas is documented as
"Identifier of system requesting Data."

That wording only fits the request case. In a publication delivery the field
identifies the party that produced the data, not a requestor — so the
mandatory (delivery) use is documented incorrectly.

Additionally, the value is a code (NMTOKEN via siri:ParticipantCodeType),
not a reference to an object. There is no Participant type and no keyref
the value is the identity. The ...Ref name suggests an object reference that
does not exist.

Fix

Short term (documentation only, non-breaking): update the xsd:documentation
to cover both publication and request:

External code identifying the source of the data being exchanged.

Applied to all four top-level publication schemas:

  • xsd/NeTEx_publication.xsd
  • xsd/NeTEx_publication_timetable.xsd
  • xsd/NeTEx_publication-NoConstraint.xsd
  • xsd/wsdl/NeTEx_publication-NoConstraint.xsd

The element name and type are left unchanged, so there is no schema break.

ue71603 and others added 2 commits August 11, 2026 10:11
Fix typo in the documentation of LINE 
Fix made by @ue71603
The ParticipantRef documentation ('Identifier of system requesting Data.') only fits the request case. In a publication delivery the field identifies the party that produced the data, not a requestor. The value is also a code (NMTOKEN via siri:ParticipantCodeType), not an object reference. Updated the xsd:documentation to 'External code identifying the source of the data being exchanged.' covering both publication and request. Element name and type are unchanged, so there is no schema break.
skinkie
skinkie previously approved these changes Aug 20, 2026

@skinkie skinkie left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Maybe do a pull request on the SIRI repo too?

@skinkie skinkie added the enhancement non semantic enhacement: technical enhancement, etc. label Aug 20, 2026
@hfjelstad

Copy link
Copy Markdown
Contributor Author

@skinkie SIRI does not seem to have the same issue:

ParticipantCodeType (NMTOKEN) | «Type for Unique identifier of participant.»
ParticipantRefStructure (extends code) | «Reference to Unique identifier of participant.»

So it could be changed to:

ParticipantRefStructure (extends code) | «External code identifying a participant.» ??

@TuThoThai
TuThoThai changed the base branch from v2.0 to v2.1-wip August 23, 2026 13:51
@TuThoThai
TuThoThai dismissed skinkie’s stale review August 23, 2026 13:51

The base branch was changed.

@TuThoThai TuThoThai added this to the netex_2.1 milestone Aug 23, 2026
@TuThoThai TuThoThai added the xsd-documentation When documentation needs to be changed in the XSD (typo, better wording, etc.) label Aug 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement non semantic enhacement: technical enhancement, etc. xsd-documentation When documentation needs to be changed in the XSD (typo, better wording, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants