NeTEx-CEN / NeTEx-Profile-EPIP

This is an XSD that would allow to validate an EPIP file
7 stars 3 forks source link

Network relationships for LINE_OFFER files #10

Open skinkie opened 1 year ago

skinkie commented 1 year ago

The current derived profile does not allow to do a RepresentedByGroupRef. I think "GroupOfLines" does not make sense for a LINE_OFFER.

What would be the suggested way to assign a line to a network in the situation of a LINE_OFFER?

ue71603 commented 1 year ago

What is a LINE_OFFER? And how would you use it?

skinkie commented 1 year ago

A NeTEx file consisting of a single line in the network. Opposed to a NETWORK_OFFER, containing all lines in a single file.

ue71603 commented 1 year ago

Ok. We have the LineGroup in Line. So if one of the elements withing (e.g. AutorityRef, OperatorRef, OperationalContextRef defines the NETWORK_OFFER) then we are fine even in the context of a LINE_OFFER. If one wants to define the NETWORK in a very fancy way (e.g. the only way to identify it is by the grouping done in a NETWORK_OFFER. If we want it, then LineGroup should contain a NetworkRef

skinkie commented 1 year ago

As mentioned RepresentedByGroupRef is a way to name a specific Network, but currently it is not allowed by this XSD.

ue71603 commented 1 year ago

Then we should add it.