VersionOfObjectRef

All NeTEx references are implemented not with a simple identifier value type but with a VersionOfObjectRef element which is specialised for each entity type (LineRef, StopPlaceRef, ServiceJourneyRef, etc.). This so as (a) to allow a version to be specified on the reference and (b) to enforce type correctness and facilitate the automatic validation of references using an XML validator.

VersionOfObjectRef – (Abstract)

Classifi­cation

Name

Type

Cardinality

Description

 

NameOfRefClass

NameOfClass

0:1

Reference to object type of referenced ENTITY that is in the specified VERSION FRAME

 

created

xsd:dateTime

0:1

Date and time of creation of reference to ENTITY, i.e. when it was added to frame.

 

changed

xsd:dateTime

0:1

Date when reference was last changed

«FK»

ref

(ObjectIdType)+

1:1

Reference to simple identifier of ENTITY that is in the specified VERSION FRAME.

The ObjectIdType is specialised, e.g. LineIdType, StopPlaceIdType, etc

ONLY ONE OF THE FOLLOWING (choice)

«FK»

version

VersionIdType

0:1

Reference to VERSION of ENTITY that is in a VERSION FRAME of the current dataset. Mutually exclusive with versionRef.

Use "any" if the VERSION is unknown (note that this will trigger NeTEx's XML automatic consistency check).

The CODESPACE of the version and versionRef is assumed to be the same as that of the ref.

«FK»

versionRef

VersionRef

0:1

Identifier of the VERSION of the referenced entity. For use when reference is external (i.e. in another dataset) and a specific version is required. Mutually exclusive with version.

Use "any" if the version is unknown. This will also make clear that the referenced object is external.

Currently this XML Element is not in use in the Austrian NeTEx Profile