In Switzerland we will have and id per business organisation. They can act as Operator, Authority or both.
However in Line i have OperatorRef and AuthorityRef
OperatorRef does not accept a general transport organisation, but was limited to Operator
<xsd:simpleType name="NameOfClassOperatorRefStructureType">
xsd:annotation
xsd:documentationType for all concrete EntityStructures that can be referenced from Operator</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="NameOfClassTransportOrganisationRefStructureType">
<xsd:enumeration value="Operator"/>
</xsd:restriction>
</xsd:simpleType>
This does not work, because in organisations there can't be an Authority with id ch:1:sboid:1 and an Operator with the id ch:1:sboid:1.Frankly I don't want it.
I don't think we are the only ones with this problem.
current solutions:
- Let's not do OperatorRef/AuthorityRef but responsibilitySetRef, where we don't have the problem.
However, it might be better to fix this in a better way.
I guess we need to relax the NameOfClassOperatorRefStructureType and NameOfClassAuthoriyRefStructure type.
What do you think?
In Switzerland we will have and id per business organisation. They can act as Operator, Authority or both.
However in Line i have OperatorRef and AuthorityRef
OperatorRef does not accept a general transport organisation, but was limited to Operator
<xsd:simpleType name="NameOfClassOperatorRefStructureType">
xsd:annotation
xsd:documentationType for all concrete EntityStructures that can be referenced from Operator</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="NameOfClassTransportOrganisationRefStructureType">
<xsd:enumeration value="Operator"/>
</xsd:restriction>
</xsd:simpleType>
This does not work, because in organisations there can't be an Authority with id ch:1:sboid:1 and an Operator with the id ch:1:sboid:1.Frankly I don't want it.
I don't think we are the only ones with this problem.
current solutions:
However, it might be better to fix this in a better way.
I guess we need to relax the NameOfClassOperatorRefStructureType and NameOfClassAuthoriyRefStructure type.
What do you think?