Skip to content

Use SBOID as Business Identifier rather than NetEx Object ID #157

Description

@FlourishingData
  • Fix all examples so that Operator and ResponsibilitySet use the sboid in the @id when they are not foreign operators.
  • Fix in templates.

The current Swiss Profile draft indicates that Operator objects are identified using the SBOID and that the same organisation may also need to be referenced through AuthorityRef. A comment in the specification already highlights a potential issue:
_

"We will use this organisation also in AuthorityRef. The problem is that the sboid can be used only once."

_
This shows that the SBOID is currently used as the NetEx object identifier (@id) for organisation-related entities.

Proposal
Separate:

  • NetEx technical object identifiers
  • Swiss business identifiers (SBOID)

We could store all SID4PT in PrivateCodes?

                <organisations>
                    <GeneralOrganisation></GeneralOrganisation>
                    <Operator id="ch:1:Operator:PAG" version="1">
                        <Name>PostAuto AG</Name>
                        <ShortName>PAG</ShortName>
                        <privateCodes>
                            <PrivateCode type="SBOID">ch:1:sboid:100602</PrivateCode>
                            <PrivateCode type="GO_NUMBER">801</PrivateCode>
                        </privateCodes>
                    </Operator>
                    <Authority id="ch:1:Authority:PAG" version="1">
                        <Name>PostAuto AG</Name>
                        <ShortName>PAG</ShortName>
                        <privateCodes>
                            <PrivateCode type="SBOID">ch:1:sboid:100602</PrivateCode>
                            <PrivateCode type="GO_NUMBER">801</PrivateCode>
                        </privateCodes>
                    </Authority>
                </organisations>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    Ready

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions