framework

 

Current version for framework is:   v1.5   (last changed Jul 28, 2022)

Content

This document is part of NeTEx Nordic Profile and describes common components and generic concepts used for public transport data exchange in the NeTEx format.

Frames

Frames are used for logical grouping of different NeTEx concepts:

  • General Frame - frame for an unstructured description of NeTEx-objects. Not used in the Nordic profile.

  • Resource Frame - frame for common objects, i.e. organisations, responsibilities, equipments etc.

  • Site Frame - frame for information regarding stop places and places of interest.

  • Service Frame - frame for information regarding networks lines, routes, planned stops etc.

  • Service Calendar Frame - frame for defining calendar-information - types of days, operating days, and their relations etc.

  • Timetable Frame - frame for describing the actual journeys, such as calendar references, departure times, and waiting times etc.prop

  • Vehicle Schedule Frame - frame for vehicle usage planning with vehicle information, equipment and blocks.

  • Fare Frame - frame for fare definitions and price information including products and sales offers.

  • Sales Transaction Frame - frame for data on customer-related sales/purchases and consumption of acquired rights.

  • Infrastructure Frame - frame for information about infrastructure - garages, roads, intersections etc. Not used in the Nordic profile.

There is an additional Composite Frame, which can be used to group other frames, as long as they have identical ValidityCondition (implicitly inherited from CompositeFrame). There are no requirements regarding order or dependency between frames.

Data conditions

All objects in the profile should be defined with as much generality as possible, and at the highest possible hierarchic level. This is particularly true for:

  • ValidityCondition / ValidBetween

  • FrameDefaults

  • Codespace

Where more specific instances deviate from the general definition at a higher level in the hierarchy, an overruling definition can be set further down the hierarchy.

FrameDefaults

Used to define common values. The following elements are permitted:

Element

Type

Description

Element

Type

Description

DefaultCodespaceRef

CodespaceRef

Reference to the default codespace.

DefaultDataSourceRef

DataSourceRef

Reference to the default data source.

DefaultLocale

Locale

Default locale description

DefaultLocationSystem

xsd:normalizedString

Default geographic coordinate system. If defined it should be “EPSG:4326”.

NOTE: The national journey planner and stop place registry requires coordinates in the WGS84 EPSG:4326 format.

DefaultSystemOfUnits

xsd:normalizedString

Default unit should be SiMetres.

DefaultCurrency

CurrencyType

Three letter currency code according to ISO 4217. For example NOK or SEK.

Codespace

The codespace is used to ensure that objects defined in the frame remain unique even when they are consolidated with data from other data sources. Each codespace is a URL with a unique three-letter code and a description.

Codespace example
<Codespace> <Xmlns>RUT</Xmlns> <XmlnsUrl>http://www.entur.org/ns/rut</XmlnsUrl> <Description>Ruter</Description> </Codespace>

The codespaces are assigned to each new data provider by Entur. This ensures the uniqueness of data sources. Contact Entur to be assigned a codespace.

Specific components

Listed here is the structure for each frame, and which objects are expected to appear in them.

ResourceFrame

ResourceFrame < DataManagedObject < EntityInVersion < Entity

ResourceFrame < DataManagedObject < EntityInVersion < Entity

Name

Type

Cardinality

Description

dataSources

DataSource

0: *

Container for DataSource objects

typesOfValue

TypeOfValue

0: *

Container for TypeOfValue objects

organisations

Organisation

0: *

Container for Organisation objects

groupsOfOperators

GroupOfOperators

0: *

Container for GroupOfOperators objects

equipments

Equipment

0: *

Container for Equipment objects

vehicleTypes

VehicleType

0: *

Container for VehicleType objects

vehicles

Vehicle

0: *

Container for Vehicle objects

groupsOfEntities

frameGeneralGroupOfEntities ?

0: *

Container for GeneralGroupOfEntities objects

SiteFrame

Name

Type

Cardinality

Description

topographicPlaces

TopographicPlace

0: *

Container for TopographicPlace objects

addresses

Address

0: *

Container for Address objects

accesses

Access ?

0: *

Container for Access objects

groupsOfStopPlaces

GroupOfStopPlaces

0: *

Container for GroupOfStopPlaces objects

stopPlaces

StopPlace

0: *

Container for StopPlace objects

flexibleStopPlaces

FlexibleStopPlace

0: *

Container for FlexibleStopPlace objects

pointsOfInterest

PointOfInterest

0: *

Container for PointOfInterest objects

parkings

Parking

0: *

Container for Parking objects

navigationPaths

NavigationPath

0: *

Container for NavigationPath objects

pathLinks

PathLink

0: *

Container for PathLink objects

tariffZones

TariffZone

0: *

Container for TariffZone objects

groupsOfTariffZones

GroupOfTariffZones

0: *

Container for GroupOfTariffZones objects

siteFacilitySets

SiteFacilitySet

0: *

Container for SiteFacilitySet objects

ServiceFrame

ServiceFrame < DataManagedObject < EntityInVersion < Entity

ServiceFrame < DataManagedObject < EntityInVersion < Entity

Name

Type

Cardinality

Description

Network

Network 

0: 1

Network objects

additionalNetworks

Network 

0: *

Container for additional Network objects

routePoints

RoutePoint

0: *

Container for RoutePoint objects

routes

Route

0: *

Container for Route objects

commonSections

CommonSection

0: *

Container for CommonSection objects

lines

Line

0: *

Container for Line objects

groupsOfLines

GroupOfLines

0: *

Container for GroupOfLines objects

destinationDisplays

DestinationDisplay

0: *

Container for DestinationDisplay objects

scheduledStopPoints

ScheduledStopPoint

0: *

Container for ScheduledStopPoint objects

servicePatterns

ServicePattern

0: *

Container for ServicePattern objects

connections

Connection

0: *

Container for Connection objects

stopAssignments

StopAssignment

0: *

Container for StopAssignment objects

timingPoints

TimingPoint

0: *

Container for TimingPoint objects

timingLinks

TimingLink

0: *

Container for TimingLink objects

journeyPatterns

JourneyPattern

0: *

Container for JourneyPattern objects

serviceExclusions

ServiceExclusion

0: *

Container for ServiceExclusion objects

notices

Notice

0: *

Container for Notice objects

noticeAssignments

NoticeAssignment

0: *

Container for NoticeAssignment objects

ServiceCalendarFrame

ServiceCalendarFrame < DataManagedObject < EntityInVersion < Entity

ServiceCalendarFrame < DataManagedObject < EntityInVersion < Entity

Name

Type

Cardinality

Description

ServiceCalendar

ServiceCalendar 

0: 1

ServiceCalendar objects

dayTypes

DayType

0: *

Container for DayType objects

timebands

Timeband

0: *

Container for Timeband objects

operatingDays

OperatingDay

0: *

Container for OperatingDay objects

operatingPeriods

OperatingPeriod

0: *

Container for OperatingPeriod objects

dayTypeAssignments

DayTypeAssignment

0: *

Container for DayTypeAssignment objects

TimetableFrame

TimetableFrame < DataManagedObject < EntityInVersion < Entity

TimetableFrame < DataManagedObject < EntityInVersion < Entity

Name

Type

Cardinality

Description

bookingTimes

AvailabilityCondition

0: * 

Container for AvailabilityCondition objects to describe flexible lines

vehicleJourneys

Journey

0: *

Container for the following types:

frequencyGroups

HeadwayJourneyGroup

0: *

Container for HeadwayJourneyGroup objects

groupsOfServices

GroupOfServices

0: *

Container for GroupOfServices objects

trainNumbers

TrainNumber

0: *

Container for TrainNumbers objects

journeyPartCouples

JourneyPartCouple

0: *

Container for JourneyPartCouple objects

coupledJourneys

CoupledJourney

0: *

Container for CoupledJourney objects

serviceFacilitySets

ServiceFacilitySet

0: *

Container for ServiceFacilitySet objects

flexibleServiceProperties

FlexibleServiceProperties

0: *

Container for FlexibleServiceProperties objects

journeyMeetings

JourneyMeeting

0: *

Container for JourneyMeeting objects

journeyInterchanges

ServiceJourneyInterchange

0: *

Container for ServiceJourneyInterchange  objects

notices

Notice

0: *

Container for Notice objects

noticeAssignments

NoticeAssignment

0: *

Container for NoticeAssignment objects

VehicleScheduleFrame

VehicleScheduleFrame < DataManagedObject < EntityInVersion < Entity

VehicleScheduleFrame < DataManagedObject < EntityInVersion < Entity

Name

 

Type

Cardinality

Beskrivelse

blocks

 

Block

0: *

Container for Block objects

FareFrame

To be finalized

XML-type

Navn

Datatype

Cardinality

Description

element

PricingParameterSet

PricingParameterSet

0: 1

Parameters governing the calculation of fares (pricing, limiting and discounting rules)

element

geographicalUnits

GeographicalUnit

0: *

Container for (list of) GeographicalUnits

Geographical pricing calculation parameters, applicable for TEN/FEN if exchanged as NeTEx?

element

geographicalIntervals

GeographicalInterval

0: *

Container for (list of) GeographicalIntervals

element

geographicalStructureFactors

GeographicalStructureFactor

0: *

Container for (list of) GeographicalStructureFactors

element

timeIntervals

TimeInterval

0: *

Container for (list of) TimeIntervals

element

distanceMatrixElements

DistanceMatrixElement

0: *

Container for (list of) DistanceMatrixElements

element

qualityStructureFactors

QualityStructureFactor

0: *

Container for (list of) QualityStructureFactors

element

fareStructureElements

FareStructureElement

0: *

Container for (list of) FareStructureElements

element

validableElements

ValidableElement

0: *

Container for (list of) ValidableElements

element

usageParameters

UsageParameter

0: *

Container for (list of) UsageParameters

element

fareProducts

FareProduct

0: *

Container for (list of) FareProducts

element

fareTables

FareTable

0: *

Container for (list of) FareTables

element

priceGroups

PriceGroup

0: *

Container for (list of) PriceGroups

element

distributionChannels

DistributionChannel

0: *

Container for (list of) DistributionChannels

element

groupsOfDistributionChannels

GroupOfDistributionChannels

0: *

Container for group(s) of DistributionChannels

element

fulfilmentMethods

FulfilmentMethod

0: *

Container for (list of) of FulfilmentMethods

element

typesOfTravelDocuments

TypeOfTravelDocument

0: *

Container for (list of) TypeOfTravelDocuments

element

salesOfferPackages

SalesOfferPackages

0: *

Container for (list of) SalesOfferPackages

element

groupsOfSalesOfferPackages

GroupOfSalesOfferPackages

0: *

Container for group(s) of SalesOfferPackages

element

distributionAssignments

DistributionAssignment

0: *

Container for (list of) DistributionAssignments

element

groupsOfDistributionAssignments

GroupOfDistributionAssignments

0: *

Container for group(s) of DistributionAssignments

SalesTransactionFrame

SalesTransactionFrame < DataManagedObject < EntityInVersion < Entity

SalesTransactionFrame < DataManagedObject < EntityInVersion < Entity

XML-type

Name

Datatype

Cardinality

Description

element

customers

Customer

0: *

Container for (list of) Customers

element

customerAccounts

CustomerAccount

0: *

Container for (list of) CustomerAccounts

element

fareContracts

FareContract

0: *

Container for (list of) FareContracts

element

travelSpecifications

TravelSpecification

0: *

Container for (list of) TravelSpecifications

element

salesTransactions

SalesTransaction

0: *

Container for (list of) SalesTransactions

element

travelDocuments

TravelDocument

0: *

Container for (list of) TravelDocuments

element

customerPurchasePackages

CustomerPurchasePackage

0: *

Container for (list of) CustomerPurchasePackages



Components

Abstract Types

Entity

The abstract basic type for all objects. Defines base attributes.

See definition under General information

Entity

Entity

XML-type

Navn

Datatype

Cardinality

Description

attribute

nameOfClass

NameOfClass

0: 1

Class name for Entity

Used for reflection and describes the name of the class of which this object is an instance.

attribute

id

ObjectIdType

1: 1

Unique identifier of the object.

EntityInVersion

EntityInVersion < Entity

EntityInVersion < Entity

XML-type

Name

Type

Cardinality

Description

attribute

dataSourceRef

DataSourceIdType

0: 1

Identifier for data source system.

attribute

created

xsd:dateTime

0: 1

Time when Entity was created

attribute

changed

xsd:dateTime

0: 1

Time when Entity was last changed

attribute

modification

ModificationEnum

0: 1

Type of change

  • delete

  • new

  • revise

  • unchanged

(choice) attribute

version

VersionIdType

1: 1

Version number

versionRef

VersionIdType

0: 1

Version number of external reference (to an object not defined in the dataset)

Used only in cases where the external reference does not point to the last valid version.

attribute

status

StatusEnumeration

0: 1

Status of version:

  • Active

  • Inactive

attribute

publication

PublicationEnumeration

0: 1

Publication of Entity data:

  • public (default)

  • restricted (not published in open data / journey planner)

(choice) element

validityConditions

ValidityCondition

0: *

Validity conditions for the object.

ValidBetween

ValidBetweenStructure

Simplified version of ValidityCondition (simple to and from date)

DataManagedObject

DataManagedObject < EntityInVersion < Entity

DataManagedObject < EntityInVersion < Entity

 

Name

Type

Cardinality

Description

attr

responsibilitySetRef

ResponsibilitySetIdType

0: 1

Points to extended role and responsibility definitions tied to e.g. STOP PLACE, NETWORK or LINE

elem

keyList

KeyList

0: 1

A set of key-value pairs which describe additional properties for the object (LINE, STOP PLACE, PLANNED STOP POINT etc.) and that can be used in third-party systems, such as ticketing or journey planning.

elem

Extensions

ExtensionStructure

0: 1

Extension element for data not defined by NeTEx.

Only use after consulting with other affected parties.

elem

BrandingRef

BrandingRefStructure

0: 1

Reference to a brand.

TypeOfValue

Name

Type

Cardinality

Description

Name

MultilingualString

1: 1

Name

ShortName

MultilingualString

0: 1

Short form of name (abbreviation, acronym etc.)

Description

MultilingualString

0: 1

Description

Image

xsd:anyURI

0: 1

URL to an image resource

Url

xsd:anyURI

0: 1

URL

TypeOfEntity

XML-type

Name

Datatype

Cardinality

Description

TypeOfEntity inherits from TypeOfValue without introducing new elements or attributes.

GroupOfEntities

GroupOfEntities < DataManagedObject < EntityInVersion < Entity

GroupOfEntities < DataManagedObject < EntityInVersion < Entity

Name

Type

Cardinality

Description

Name

MultilingualString

0: 1

Name must be set for all relevant groups of objects (for example on NETWORK, LINE, STOP PLACE, but not required for embedded data objects such as e.g. ADDRESS, ENTRANCE, BOARDINGPOSITION)

ShortName

MultilingualString

0: 1

Short name for a group of objects

Description

MultilingualString

0: 1

Description

PurposeOfGroupingRef

PurposeOfGroupingRef

0: 1

The functional goal for grouping.

PrivateCode

xsd:normalizedString

0: 1

PrivateCode is meant to use specific identification depending on context.

Address

Name

Type

Cardinality

Description

CountryRef

CountryEnum

0: 1

Three letter (recommended) or two letter country code as defined by ISO 3166-1 (alpha-3 or alpha-2) 

CountryName

MultilingualString

0: 1

The official name of the country

Assignment

Name

Type

Cardinality

Description

Name

MultilingualString

0: 1

Name

Description

MultilingualString

0: 1

Description

Equipment Details

Equipment

Name

Type

Cardinality

Description

Name

MultilingualString

1: 1

Name

PrivateCode

xsd:normalizedString

0: 1

Internal code/ID for identifying equipment (not a public ID)

PublicCode

xsd:normalizedString

0: 1

Public code that may identify the equipment

Description

MultilingualString

0: 1

Description

Note

MultilingualString

0: 1

Additional notes

OutOfService

xsd:boolean

0: 1

Defines the status of equipment

PassengerEquipment

PassengerEquipment < Eqiupment < DataManagedObject < EntityInVersion < Entity

PassengerEquipment < Eqiupment < DataManagedObject < EntityInVersion < Entity

Name

Type

Cardinality

Description

Fixed

xsd:boolean

0: 1

Specifies whether the equipment is permanently installed or may be relocated

ActualVehicleEquipment

Name

Type

Cardinality

Description

Units

xsd:integer

0: 1

Number of equipment units

VehicleTypeRef

VehicleTypeRef

0: 1

Reference to vehicle type (VehicleType)

AccessibilityAssessment

AccessibilityAssessment

0: 1

Assessment of universal design accessibility

FacilitySet

Name

Type

Cardinality

Description

ProvidedByRef

xsd:normalizedString

0: 1

Reference to organisation offering the services

Description

MultilingualString

0: 1

Description of the set of services

AccessibilityInfoFacilityList

AccessibilityInfoFacilityListOfEnumerations

0: 1

Possible values

  • other

  • audioForHearingImpaired

  • audioInformation (audio announcement when arriving/departing stops)

  • visualDisplays

AssistanceFacilityList

AssistanceFacilityListOfEnumerations

1: 1

 Possible values (multiple allowed)

  • any

  • none

  • other

  • personalAssistance

  • boardingAssistance

  • wheelchairAssistance

  • unaccompaniedMinorAssistance

  • wheelchairUse

  • conductor

  • information

AccessibilityToolList

AccessibilityToolListOfEnumerations

0: 1

 Possible values

  • passengerCart

  • pushchair (stroller)

  • wheelchair

CateringFacilityList

CateringFacilityListOfEnumerations

1: 1

Possible values

  • bar

  • noFoodAvailable

  • noBeveragesAvailable

  • restaurant

  • trolley

  • coffeeShop

  • snacks

  • foodVendingMachine

  • beverageVendingMachine

FareClasses

FareClassesListOfEnumerations

1: 1

Possible values

  • any

  • businessClass

  • economyClass

  • firstClass

MobilityFacilityList

MobilityFacilityListOfEnumerations

1: 1

Possible values

  • unknown

  • boardingAssistance

  • lowFloor

  • onboardAssistance

  • stepFreeAccess

  • suitableForWheelchairs

  • unaccompaniedMinorAssistance

  • tactilePatformEdges

  • tactileGuidingStrips

PassengerCommsFacilityList

PassengerCommsFacilityListOfEnumerations

0: 1

Possible values

  • freeWifi

  • publicWifi

  • powerSupplySockets

PassengerInformationEquipmentList

PassengerInformationEquipmentListOfEnumerations

0: 1

Possible values

  • other

  • fareInformation

  • lineNetworkPlan

  • lineTimetable

  • informationDesk

  • realTimeDepartures

PassengerInformationFacilityList

PassengerInformationFacilityEnumeration

0: 1

Possible values

  • other

  • nextStopIndicator

  • passengerInformationDisplay

  • realTimeConnections

  • stopAnnouncements

Place

XML-type

Name

Datatype

Cardinality

Description

element

placeTypes

TypeOfPlaceRef

0: 1

This element may be used for StopPlace and TopographicPlace, in which case the ref attribute must contain one of the following text values:

Allowed values for StopPlace:

  • monomodalStopPlace

  • multimodalStopPlace 

Allowed values for TopographicPlace:

  • county (Norwegian "fylke")

  • municipality (Norwegian "kommune")

  • city

  • district (part of town/suburb)

  • town

Name

Type

Cardinality

Description

Name

MultilingualString

0: 1

Name of the link

Distance

xsd:decimal

0: 1

Total length (in meters) for the geographic path the vehicle uses (actual travel distance).

gml:LineString

gml:LineString

0: 1

Geometric representation of Link. The LineString is a sequential list of points.

LinkSequence

LinkSequence < DataManagedObject < EntityInVersion < Entity

LinkSequence < DataManagedObject < EntityInVersion < Entity

Name

Type

Cardinality

Description

Name

MultilingualString

0: 1

Name

Distance

xsd:decimal

0: 1

Total length (in meters) for LinkSequence (can also be derived from component-Links).  

PointInLinkSequence

PointInLinkSequence < VersionedChild < EntityInVersion < Entity

PointInLinkSequence < VersionedChild < EntityInVersion < Entity

 

Name

Type

Cardinality

Description

attribute

order

xsd:positiveInteger

0: 1

The sequence number of a point

element

LinkSequenceRef

LinkSequenceRefStructure

0: 1

Reference to the LinkSequence to which the point belongs

element

projections

projections

0: 1

Projection on road or rail

LinkInLinkSequence

LinkInLinkSequence < VersionedChild < EntityInVersion < Entity

LinkInLinkSequence < VersionedChild < EntityInVersion < Entity

 

Name

Type

Cardinality

Description

attribute

order

xsd:positiveInteger

0: 1

Serial number of the point in order

element

LinkSequenceRef

LinkSequenceRefStructure

0: 1

Reference to LinkSequence which the point belongs to 

elememt

projections

projections

0: 1

Projections on roads and railways 

Projection

Name

Type

Cardinality

Description

None of the parameters defined in Projection should be used. Specialisation classes have their own parameters.

Organisation

Organisation < DataManagedObject < EntityInVersion < Entity

Organisation < DataManagedObject < EntityInVersion < Entity

Name

Type

Cardinality

Description

PrivateCode

xsd:normalizedString

0: 1

An internal code for the ORGANISATION

CompanyNumber

xsd:normalizedString

1: 1

External identifier for the Organisation, for instance, a registration number.

Name

xsd:normalizedString

1: 1

Name of ORGANISATION

OrganisationType

TypeOfOrganisationEnum

0:1

Type of ORGANISATION:

  • authority

  • operator

  • railOperator

  • railFreightOperator

  • statutoryBody

  • facilityOperator

  • travelAgent

  • servicedOrganisation

  • other

The generic ORGANISATIONtypes "authority" and "operator" are used for an AUTHORITY and an OPERATOR respectively when none of the more specific types are applicable.

LegalName

MultilingualString

1: 1

The legal name of the ORGANISATION

ContactDetails

ContactStructure

0: 1

The public contact information of the ORGANISATION

Note that for Authority, providing the minimum required set of ContactDetails is mandatory.

PrivateContactDetails

ContactStructure

0: 1

Non-public contact information of the ORGANISATION

PriceableObject

PriceableObject < DataManagedObject < EntityInVersion < Entity

PriceableObject < DataManagedObject < EntityInVersion < Entity

XML-type

Name

Type

Cardinality

Description

element

alternativeNames

AlternativeName

0: 1

List of ALTERNATIVE NAMEs for element

element

noticeAssignments

NoticeAssignment

0: 1

List of NOTICE ASSIGNMENTs for element

element

PricingServiceRef

PricingServiceRef

0: 1

PRICING SERVICE used to fetch prices dynamically for element

element

PricingRuleRef

PricingRuleRef

0: 1

Default PRICING RULE to use to derive prices from this element

FarePrice

FarePrice < VersionedChild < EntityInVersion < Entity

FarePrice < VersionedChild < EntityInVersion < Entity

XML-type

Name

Type

Cardinality

Description

element

StartDate

xsd:date

0: 1

Start date for PRICE validity. 

element

EndDate

xsd:date

0: 1

End date for PRICE validity.

Gyldighet bør heller angis med ValidityCondition for objektet

element

Amount

xsd:decimal

1: 1

Price in a specified currency

element

Currency

xsd:NMTOKEN (3 letters)

0: 1

ISO 4717 type currency code (optimization to allow PRICE UNITs to be omitted)

element

IsAllowed

xsd:boolean

0: 1

Whether the PRICE is allowed. Allerede dekket eksplisitt for relevante typer, likevel ha med generisk?

element

PricingServiceRef

PricingServiceRef

0: 1

Reference to PRICING SERVICE

element

CanBeCumulative

xsd:boolean

0: 1

Whether price/discount can be used cumulatively in combination with other prices/discounts

 

Basic Types

KeyList

KeyList

KeyList

Name

Type

Cardinality

Description

KeyValue

KeyValue

1: *

Key-value pair

KeyValue

KeyValue

XML-type

Name

Type

Cardinality

Description

attribute

typeOfKey

xsd:normalizedString

0: 1

Key type

elemement

Key

xsd:normalizedString

1: 1

Key name

elemement

Value

xsd:normalizedString

1: 1

Key value

AlternativeName

AlternativeName < VersionedChild < EntityInVersion < Entity

AlternativeName < VersionedChild < EntityInVersion < Entity

Name

Type

Cardinality

Description

NamedObjectRef

VersionofObjectRef

0: 1

Reference to the object to which the alternative name belongs

Used only when the relevant data object does not support alternativeNames sub elements

Lang

xsd:language

1: 1

Three letter (recommended) or two letter language code as defined by ISO 639 (Alpha-3 or Alpha-2) (Alpha-3 or Alpha-2) / RFC 1766 for the language used in an alternative name

NameType

NameTypeEnumeration

1: 1

Type of alternative name:

  • Alias

  • Label (used for airport names)

  • Translation

Name

MultilingualString

1: 1

The alternative name

ContactStructure

ContactStructure

ContactStructure

Name

Type

Cardinality

Description

ContactPerson

xsd:normalizedString

0: 1

Name of a person to be contacted

Email

emailAddressType

0: 1

E-mail address of contact point (ISO format), alternatively a link to a contact form

Phone

PhoneType

0: 1

Phone number of a contact point

Fax

PhoneType

0: 1

Fax-number of a contact point

Url

xsd:anyURI

0: 1

Website-address for contact point

Note that for CustomerServiceContactDetails the URL is mandatory, and for Authority - ContactDetails the the URL should be included when available (i.e. mandatory for Norwegian datasets).

FurtherDetails

xsd:normalizedString

0: 1

Additional details for contact point

DeliveryVariant

DeliveryVariant < DataManagedObject < EntityInVersion < Entity

DeliveryVariant < DataManagedObject < EntityInVersion < Entity

Name

Type

Cardinality

Description

DeliveryVariantMediaType

DeliveryVariantTypeEnumeration

1: 1

Media type. Possible values:

  • printed

  • textToSpeech

  • web

  • mobile

VariantText

MultilingualString

1: 1

Text for respective media types (replaces Note for certain media types)

GeneralGroupOfEntities

GeneralGroupOfEntities < GroupOfEntities < DataManagedObject < EntityInVersion < Entity

GeneralGroupOfEntities < GroupOfEntities < DataManagedObject < EntityInVersion < Entity

Name

Type

Cardinality

Description

members

objectRef

0: *

List of objects included in the group.

GroupOfPoints

Name

Type

Cardinality

Description

members

objectRef

0: *

List of Point objects included in the group.

Locale

Locale

Locale

Name

Type

Cardinality

Description

TimeZone

TimeZoneOffset

1: 1

Name of timezone

Please note that this should always be timezone for local time.

DefaultLanguage

xds:language

1: 1

Three letter (recommended) or two-letter language code as defined by ISO 639 (Alpha-3 or Alpha-2) / RFC 1766 for the language used as default language

languages

LanguageUsage

0: *

Other languages

LanguageUsage

LanguageUsage

LanguageUsage

Name

Type

Cardinality

Description

Language

xsd:language

1: 1

Three letter (recommended) or two-letter language code as defined by ISO 639 (Alpha-3 or Alpha-2) / RFC 1766 for the language used as other languages

LanguageUse

LanguageUseListOfEnumerations

1: 1

Possible values

  • allUses

  • native

  • normallyUsed

  • other

  • read

  • spoken

  • written

  • understood

Location

Location

Location



Name

Type

Cardinality

Description

attr

srsName

xsd:normalizedString

0: 1

The reference geographic coordinate system used.

NB: If defining any other geospatial reference data than the default WGS84, EPSG:4326, ensure it is technically valid and supported by all interacting systems!

NOTE: The national journey planner and stop place registry requires coordinates in the WGS84 EPSG:4326 format.

(choice) element

Longitude

Latitude

Altitude

LongitudeType

LatitudeType

AltitudeType

1: 1

1: 1

0: 1

Longitude (coordinate in decimal between -180 and 180)

Latitude (coordinate in decimal between -180 and 180)

Elevation (meters above sea level)

REMARK: When specified individually, the order is reversed compared to e.g. WSG84, IMO (Internat. Maritime Org.) or Google/Bing coordinates, which are always paired in a similar manner to EPSG:4326 <gml:pos> as latitude [space] longitude.

gml:pos

gml:pos

1: 1

Point location. Must be the geospatial position of a single point, provided as a pair of decimal numbers specifying the coordinates.

For the default coordinate system, WGS84 EPSG:4326, the latitude is the first number and the longitude is the second number in each tuple.

For example: <gml:pos srsName="urn:ogc:def:crs:EPSG::4326">70.967719 -8.680873</gml:pos> (Jan Mayen island: latitude 70.967719 longitude -8.680873)

NOTE: The national journey planner and stop place registry requires coordinates in the WGS84 EPSG:4326 format.

elem

Precision

xsd:decimal

0: 1

Precision in meters

MultilingualString

MultilingualString

MultilingualString

 

Name

Type

Cardinality

Description

attr

lang

xsd:language

0: 1

Three letter (recommended) or two-letter language code as defined by ISO 639 (Alpha-3 or Alpha-2) / RFC 1766 for the language used in a multilingual string

Must be specified when an object has a language option, for example when using AlternativeName or AlternativeText

Projection Types

PointProjection

PointProjection < Projection < DataManagedObject < EntityInVersion < Entity

PointProjection < Projection < DataManagedObject < EntityInVersion < Entity

Name

Type

Cardinality

Description

ProjectedPointRef

PointRef

0: 1

Reference to Point being projected

This field is useful when Projection is sent as a separate object. Otherwise, context determines which object Projection belongs to.

ProjectToPointRef

PointRef

0: 1

Point being projected to. (Reference to externally defined Point, e.g. RoutePoint, TimingPoint, ScheduledStopPoint.)

ProjectToLinkRef

LinkRef

0: 1

Link being projected to. The point can be projected to a Link.

Distance

xsd:decimal

(1: 1)

The distance between projected Point and Link. Field only used together with ProjectToLinkRef

ZoneProjection

Name

Type

Cardinality

Description

ProjectedZoneRef

ZoneRef

0: 1

Zone being projected.

This field is useful when Projection is sent as a separate object. Otherwise, context determines which object Projection belongs to.

ProjectToZoneRef

ZoneRef

0: 1

Zone being projected to. (Reference to external zone-object.)

ProjectToPointRef

PointRef

0: 1

Point being projected to. A zone can be projected to a Point.

Address Types

PostalAddress

Name

Type

Cardinality

Description

AddressLine1

MultilingualString

1: 1

Address line 1

AddressLine2

MultilingualString

0: 1

Address line 2

Town

MultilingualString

1: 1

Postal place name

PostCode

xsd:normalizedString

1: 1

Postcode

RoadAddress

Name

Type

Cardinality

Description

GisFeatureRef

xsd:normalizedString

1: 1

Reference to a GIS system. The field will help with inking of OpenStreetMap, IGN, NavTeq, etc. data.

RoadNumber

xsd:normalizedString

1: 1

House number.

RoadName

MultilingualString

1: 1

Road/street name.

BearingDegrees

xsd:integer

0: 1

Bearing of the road, in degrees.

Vehicle

Name

Type

Cardinality

Description

Name

MultilingualString

0: 1

Name of the vehicle

RegistrationNumber

xsd:normalizedString

0: 1

Vehicle registration number/license plate number

OperationalNumber

xsd:normalizedString

0: 1

Operational number of the vehicle (e.g. vehicle nr. 4230)

PrivateCode

xsd:normalizedString

0: 1

Internal code for the vehicle

OperatorRef

OperatorRefStructure

1: 1

Reference to Operator

VehicleTypeRef

VehicleTypeRefStructure

1: 1

Reference to VehicleType

actualVehicleEquipments

Equipment

0: *

Description of on-board equipment.

Defined inline.

VehicleType

Name

Type

Cardinality

Description

Name

MultilingualString

1: 1

Name of vehicle type

Description

MultilingualString

1: 1

Description of vehicle type

PrivateCode

xsd:normalizedString

0: 1

Internal classification of the vehicle type

TypeOfFuel

TypeOfFuelEnumeration

0: 1

Fuel type:

  • Petrol

  • Diesel

  • naturalGas

  • biodiesel

  • electricity

  • other

EuroClass

xsd:normalizedString

0: 1

Euroclass for vehicle type

See Wikipedia for information

capacities

PassengerCapacity

0: *

Capacity per tariff class

LowFloor

xsd:boolean

1: 1

Specifies if the vehicle has low flooring or not

HasLiftOrRamp

xsd:boolean

1: 1

Specifies if the vehicle is equipped with an elevator or ramp (e.g. for wheelchairs)

Length

xsd:decimal

0: 1

The total length of the vehicle type

facilities

ServiceFacilitySetRef

0: *

References to ServiceFacilitySet objects

PassengerCapacity

PassengerCapacity < DataManagedObject < EntityInVersion < Entity

PassengerCapacity < DataManagedObject < EntityInVersion < Entity

Name

Type

Cardinality

Description

FareClass

FareClassEnumeration

1: 1

Possible values:

  • businessClass

  • economyClass

  • firstClass

  • any

TotalCapacity

xsd:nonNegativeInteger

1: 1

Maximum number of passengers

SeatingCapacity

xsd:nonNegativeInteger

1: 1

Number of seated passengers

StandingCapacity

xsd:nonNegativeInteger

1: 1

Number of standing passengers

SpecialPlaceCapacity

xsd:nonNegativeInteger

1: 1

Number of priority seats

PushchairCapacity

xsd:nonNegativeInteger

1: 1

Capacity for baby stroller/pushchairs

WheelchairCapacity

xsd:nonNegativeInteger

1: 1

Number of designated wheelchair areas

Accessibility Types

AccessibilityAssessment

AccessibilityAssessment < DataManagedObject < EntityInVersion < Entity

AccessibilityAssessment < DataManagedObject < EntityInVersion < Entity

Name

Type

Cardinality

Description

MobilityImpairedAccess

LimitationStatusEnum

1: 1

Specifies whether the object can be used by people with special needs:

  • true (if all fields in AccessibilityLimitation are true)

  • false (if all fields in AccessibilityLimitation are false)

  • partial (if all fields in AccessibilityLimitation are partially true, or some of them are true)

  • unknown

limitations

AccessibilityLimitation

1: 1

Accessibility limitations

suitabilities

Suitability

0: *

Describes suitability

Comment

MultilingualString

0: 1

Additional comments for Accessibility definition. Field content is meant to be displayed together with Accessibility information.

AccessibilityLimitation

AccessibilityLimitation < DataManagedObject < EntityInVersion < Entity

AccessibilityLimitation < DataManagedObject < EntityInVersion < Entity

Name

Type

Cardinality

Description

WheelchairAccess

LimitationStatusEnum

1: 1

Describes usability for wheelchair users:

  • true

  • false

  • partial

  • unknown

StepFreeAccess

LimitationStatusEnum

1: 1

Describes whether the object has step-free access (no stairs)

  • true

  • false

  • partial

  • unknown

EscalatorFreeAccess

LimitationStatusEnum

1: 1

Describes whether the object has escalator free access

  • true

  • false

  • partial

  • unknown

LiftFreeAccess

LimitationStatusEnum

1: 1

Describes whether the object can be accessed without the use of an elevator:

  • true

  • false

  • partial

  • unknown

AudibleSignsAvailable

LimitationStatusEnum

1: 1

Describes if the object has audio signs (directions for the visually impaired):

  • true

  • false

  • partial

  • unknown

VisualSignsAvailable

LimitationStatusEnum

1: 1

Describes whether the object has visual signs:

  • true

  • false

  • partial

  • unknown

Suitability

Name

Type

Cardinality

Description

(choice) MobilityNeed

MobilityEnumeration

1: 1

Specific mobility needs:

  • wheelchair

  • assistedWheelchair

  • motorizedWheelchair

  • walkingFrame (rullator)

  • otherMobilityNeed

  • normal

(choice) PsychosensoryNeed

PsychosensoryNeedEnumeration

1: 1

Specific psychosensory needs:

  • visualImpairment

  • auditoryImpairment

(choice) EncumbranceNeed

EncumbranceNeedEnumeration

1: 1

Specific luggage needs:

  • luggageEncumbered

  • pushchair

  • baggageTrolley

  • oversizeBaggage

  • guideDog

  • otherAnimal

  • otherEncumbranceNeed

Suitable

SuitableEnumeration

1: 1

Specifies if the suitability (established by above values) is true or false.

  • suitable

  • notSuitable

Geographical Types

Point

Name

Type

Cardinality

Description

Name

MultilingualString

0: 1

Name of the Point

Location

Location

0: 1

Location of the Point

Location is mandatory unless it is implicit based on the projection of the Point, or the subordinate objects have explicit references to geographic points/areas

PointNumber

xsd:normalizedString

0: 1

Alternative identifier

projections

PointProjection

0: *

Point projections

Zone

Name

Type

Cardinality

Description

Centroid

Point

0: 1

Representative point for a zone (area). Not meant to be the actual centre point of the zone, but a point which is representative of the zone (e.g. for displaying on a map)

gml:Polygon

gml:Polygon

0: 1

A sorted list of points which represent a closed line (polygon) which describes the zone.

projections

ZoneProjection

0: *

List of projections used to describe infrastructure (e.g. roads, railways, etc.). Typically a reference to an OpenStreetMap dataset.

Polygon

Polygon-structure

Polygon example
<gml:Polygon gml:id="12323"> <gml:exterior> <gml:LinearRing> <gml:pos>-120.000000 65.588264</gml:pos> <gml:pos>-120.003571 65.590782</gml:pos> <gml:pos>-120.011292 65.590965</gml:pos> <gml:pos>-120.022491 65.595215</gml:pos> <gml:pos>-120.031212 65.592880</gml:pos> <gml:pos>-120.019363 65.586121</gml:pos> <gml:pos>-120.030350 65.585365</gml:pos> </gml:LinearRing> </gml:exterior> <gml:interior> <gml:LinearRing> <gml:posList>-120.023469 65.589991 -120.011131 65.589998 -120.023456 65.590003 -120.025642 65.590110</gml:posList> </gml:LinearRing> </gml:interior> </gml:Polygon>

Organisation Types

Authority

Name

Type

Cardinality

Description

Address

PostalAddress

0: 1

Postal address

Operator

Name

Type

Cardinality

Description

Address

PostalAddress

0: 1

Postal address

PrimaryMode

VehicleModeEnumeration

0: 1

The operators primary type of transport (if relevant)

OperatorActivities

ListOfOperatorActivities

0: 1

Possible values

  • passenger

  • infrastructure

CustomerServiceContactDetails

ContactStructure

1: 1

Point of contact for customer support/feedback of that company.

GroupOfOperators

Name

Type

Cardinality

Description

members

TransportOrganisationRef

1: *

References to operators included in the group

Branding

Name

Type

Cardinality

Description

Presentation

PresentationStructure

0: 1

Preferred presentation values assoicated with BRANDING. NeTEx v1.1 addition, currently not in use.

DataSource

Name

Type

Cardinality

Description

Email

EmailAddressType

1: 1

Contact e-mail for data (content) related questions.

TypeOfAccessRightAssignment

TypeOfAccessRightAssignment < TypeOfValue < DataManagedObject < EntityInVersion < Entity

TypeOfAccessRightAssignment < TypeOfValue < DataManagedObject < EntityInVersion < Entity

Name

Type

Cardinality

Description

TypeOfAccessRightAssignment inherits from TypeOfValue and does not introduce new elements or attributes.

Equipment Types

AccessEquipment

EntranceEquipment

Name

Type

Cardinality

Description

Door

xsd:boolean

0: 1

If entrance has one door.

WheelchairPassable

xsd:boolean

0: 1

If entrance can be used for wheelchair.

PlaceLighting

Name

Type

Cardinality

Description

Lighting

LightingEnumeration

1: 1

Description of lighting situation: 

  • wellLit

  • poorlyLit

  • unlit

  • unknown

AlwaysLit

xsd:boolean

0: 1

Specifies whether lighting is always on or not

RampEquipment

Name

Type

Cardinality

Description

Gradient

RampGradientEnum

0: 1

Possible values:

  • verySteep

  • shallow

  • steep

  • moderate

  • level (no gradient)

RoughSurface

Name

Type

Cardinality

Description

SurfaceType

SurfaceTypeEnumeration

1: 1

Surface types:

  • asphalt

  • earth

  • grass

  • looseSurface (e.g gravel)

  • pavingStones (e.g. paving stones)

  • roughSurface (e.g. rocky)

  • smooth (e.g. concrete or other very smooth surfaces)

  • other

SuitableForCycles

xsd:boolean

0: 1

Suitable for bicycles.

CycleStorageEquipment

CycleParkingEquipment PlaceEquipment < Equipment < DataManagedObject < EntityInVersion < Entity

CycleParkingEquipment PlaceEquipment < Equipment < DataManagedObject < EntityInVersion < Entity

Name

Type

Cardinality

Description

NumberOfSpaces

xsd:integer

1: 1

Number of parking spaces

CycleStorageType

CycleStorageEnum

0: 1

Possible values:

  • racks

  • bars

  • railings

Covered

xsd:boolean

0: 1

Specifies whether the parking is covered by a roof

PassengerEquipment

SanitaryEquipment

Name

Type

Cardinality

Description

SanitaryFacilityList

SanitaryFacilityListOfEnumerations

1: 1

List of facilities:

  • none

  • toilet

  • wheelchairAccessToilet

  • shower

  • babyChange

NumberOfToilets

xsd:integer

0: 1

Number of toilets

SiteEquipment

WaitingRoomEquipment

WaitingRoomEquipment < SiteEquipment < Equipment < DataManagedObject < EntityInVersion < Entity

WaitingRoomEquipment < SiteEquipment < Equipment < DataManagedObject < EntityInVersion < Entity

Name

Type

Cardinality

Description

Seats

xsd:nonNegativeInteger

0: 1

Number of seats.

StepFree

xsd:boolean

1: 1

Specifies whether access to the waiting room is step free (no stairs).

Heated

xsd:boolean

0: 1

Specifies whether the waiting room is heated.

ShelterEquipment

Name

Type

Cardinality

Description

Enclosed

xsd:boolean

1: 1

Specifies whether the waiting room is enclosed by walls, or open.

TicketingEquipment

TicketingEquipment

Name

Type

Cardinality

Description

NumberOfMachines

xsd:integer

0: 1

Number of ticket vending machines

TicketingFacilityList

TicketingFacilityListOfEnumerations

0: *

Possible values:

  • ticketMachines

  • ticketOffice

  • ticketOnDemandMachines

NumberOfTills

xsd:integer

0: 1

Number of tills for ticket sale

PaymentMethods

PaymentMethodEnum

0: *

Possible values:

  • cash

  • cashAndCard

  • coin

  • creditCard

  • debitCard

  • travelCard

  • contactlessTravelCard

  • sms

TicketTypesAvailable

TicketTypeEnum

0: *

Possible values:

  • standard

  • promotion

  • concession

  • group

  • season

  • travelCard

TicketingServiceList

TicketingServiceFacilityEnum

0: *

Possible values:

  • purchase

  • collection

  • cardTopUp

  • reservations

TicketValidatorEquipment

TicketValidatorEquipment < PassengerEquipmentEquipment < DataManagedObject < EntityInVersion < Entity

TicketValidatorEquipment < PassengerEquipmentEquipment < DataManagedObject < EntityInVersion < Entity

Name

Type

Cardinality

Description

ValidatorList

TicketValidatorEnum

0: *

Possible values:

  • paperStamp

  • contactLess

  • magnetic

  • nfc

SignEquipment

GeneralSign

GeneralSign < SignEquipment < PlaceEquipmentEquipment < DataManagedObject < EntityInVersion < Entity

GeneralSign < SignEquipment < PlaceEquipmentEquipment < DataManagedObject < EntityInVersion < Entity

Name

Type

Cardinality

Description

PrivateCode

xsd:normalizedString

0: 1

Sign code

One of the following code-values must be used when adding official stops to a stop place.

  • Bus stops: 512

  • Tram stops: 513

  • Taxi stops: 514

Also set SignContentType = 'transportMode'.

Content

MultilingualString

0: 1

Text on sign

SignContentType

SignContentEnum

0: 1

Type of sign:

  • assistance

  • emergencyExit

  • entrance

  • exit

  • meetingPoint

  • sosPhone

  • tickets

  • transportMode

Permanent stops with a transport sign must have SignContentType = 'transportMode'. This is used to distinguish them from non-permanent stops, and/or flexible stops.

LocalService

AssistanceService

AssistanceService < LocalService < Equipment < DataManagedObject < EntityInVersion < Entity

AssistanceService < LocalService < Equipment < DataManagedObject < EntityInVersion < Entity

Name

Type

Cardinality

Description

AssistanceFacilityList

AssistanceFacilityListOfEnumerations

0: 1

 Possible values (multiple allowed)

  • any

  • none

  • other

  • personalAssistance

  • boardingAssistance

  • wheelchairAssistance

  • unaccompaniedMinorAssistance

  • wheelchairUse

  • conductor

  • information

AssistanceAvailability

AssistanceAvailabilityEnumeration

0: 1

Possible values:

  • available

  • availableAtCertainTimes

  • availableIfBooked

  • none

Staffing

StaffingEnumeration

0: 1

Possible values:

  • fullTime

  • partTime

  • unmanned

AccessibilityToolList

AccessibilityToolListOfEnumerations

0: *

Possible values:

  • wheelchair

  • walkingStick

  • audioNavigator

  • visualNavigator

AssistanceBookingService

AssistanceBookingService < LocalService < Equipment < DataManagedObject < EntityInVersion < Entity

AssistanceBookingService < LocalService < Equipment < DataManagedObject < EntityInVersion < Entity

Name

Type

Cardinality

Description

AssistanceAvailability

AssistanceAvailabilityEnumeration

0: 1

Possible values:

  • available

  • availableAtCertainTimes

  • availableIfBooked

  • none

WheelchairBookingRequired

xsd:boolean

0: 1

Whether a booking is needed to have assistance using a wheelchair

BookingContact

ContactStructure

0: 1

Contact information for booking

BookingArrangements

BookingArrangementsStructure

0: 1

Rules for booking

VehicleMode

AllModesEnumeration

0: 1

Possible values:

  • bus

  • coach

  • tram

  • metro

  • rail

  • lift

  • cableway

  • funicular

  • ferry

  • air

OperatorRef

OperatorRef

0: 1

Reference to Operator to book at

(choice) LineRef

LineRef

0: 1

Reference to (Flexible) Line to book at

FlexibleLineRef

noticeAssignments

NoticeAssignment

0: *

List of NOTICE ASSIGNMENTs for booking

LuggageService

LuggageService < LocalService < Equipment < DataManagedObject < EntityInVersion < Entity

LuggageService < LocalService < Equipment < DataManagedObject < EntityInVersion < Entity

Name

Type

Cardinality

Description

LuggageServiceType

LuggageServiceFacilityEnum

0: 1

Possible values:

  • leftLuggage

  • porterage

  • freeTrolleys

  • paidTrolleys

  • collectAndDeliverToStation

WheelchairLuggageTrolleys

xsd:boolean

0: 1

If luggage trolleys for wheelchairs are available

ServiceFacilitySet

ServiceFacilitySet < FacilitySet < DataManagedObject < EntityInVersion < Entity

ServiceFacilitySet < FacilitySet < DataManagedObject < EntityInVersion < Entity

Name

Type

Cardinality

Description

AccommodationAccessList

AccommodationAccessListOfEnumerations

0: 1

Possible values:

  • freeSeating

  • reservation

  • standing

AccommodationFacilityList

AccommodationFacilityListOfEnumerations

0: 1

Possible values:

  • familyCarriage

  • seating

  • sleeper

  • standing

LuggageCarriageFacilityList

LuggageCarriageFacilityListOfEnumerations

0: 1

Possible values:

  • baggageStorage

  • cyclesAllowed

  • cyclesAllowedWithReservation

  • luggageRacks

  • extraLargeLuggageRacks

  • noBaggageStorage

  • noCycles

ServiceReservationFacilityList

ServiceReservationFacilityListOfEnumerations

0: 1

Possible values:

  • bicycleReservationsCompulsory

  • noReservationsPossible

  • reservationsCompulsory

  • reservationsCompulsoryForGroups

  • reservationsRecommended

  • reservationsPossible

  • wheelchairOnlyReservations

Train Types

CompoundTrain

Name

Type

Cardinality

Description

components

TrainInCompoundTrain

1: *

References to train objects which are a part of a compound train.

TrainInCompoundTrain

TrainInCompoundTrain < VersionedChild < EntityInVersion < Entity

TrainInCompoundTrain < VersionedChild < EntityInVersion < Entity

Name

Type

Cardinality

Description

Train

Train

1: 1

Train description

ReversedOrientation

xsd:boolean

0: 1

Specifies whether the train is in reverse orientation to the CompoundTrain

Label

MultilingualString

0: 1

A label associated with the train

Train

Name

Type

Cardinality

Description

TrainSize

TrainSize

0: 1

Size of the train (number of cars)

components

TrainComponent

0: *

Components constituting a train

TrainSize

TrainSize

TrainSize

Name

Type

Cardinality

Description

NumberOfCars

xsd:nonNegativeInteger

0: 1

Number of cars in the train

TrainSizeType

TrainSizeEnumeration

0: 1

Train size types:

  • Normal

  • Short

  • Long

TrainComponent

TrainComponent < DataManagedObject < EntityInVersion < Entity

TrainComponent < DataManagedObject < EntityInVersion < Entity

Name

Type

Cardinality

Description

Label

MultilingualString

0: 1

Static train component label. 

If the label is dynamic, use TrainComponentLabelAssignment instead.

Description

MultilingualString

0: 1

Description of the component.

TrainElement

TrainElement

1: 1

Description of the train car.

TrainElement

TrainElement < DataManagedObject < EntityInVersion < Entity

TrainElement < DataManagedObject < EntityInVersion < Entity

Name

Type

Cardinality

Description

PrivateCode

xsd:normalizedString

0: 1

Internal code for the TrainElement

TrainElementType

TypeOfTrainElementEnum

1: 1

Classification of a car:

  • carriage

  • engine

  • sleeperCarriage

  • luggageVan

  • restaurantCarriage

FareClasses

FareClassListOfEnumerations

0: *

Tariff/fare class for a car

  • any

  • businessClass

  • economyClass

  • firstClass

equipments

Equipment

0: *

Description of onboard equipment

Defined inline

Notice Types

Notice

Name

Type

Cardinality

Description

Name

MultilingualString

0: 1

Name of the Notice.

AlternativeTexts

AlternativeText

0: *

Notice text for languages other than the primary language (e.g. Norwegian). One per language.

Can be used in addition to the primary language notice text.

Text

MultilingualString

1: 1

Notice text.

PublicCode

xsd:normalizedString

0: 1

Public code of the Notice.

variants

DeliveryVariant

0: *

Variations of the Notice for different media types.

AlternativeText

AlternativeText < VersionedChild < EntityInVersion < Entity

AlternativeText < VersionedChild < EntityInVersion < Entity

Name

Type

Cardinality

Description

Text

MultilingualString

1: 1

Notice text.

Please note the importance of adding the mandatory "lang" attribute, to indicate the language of each AlternativeText, as three-letter (recommended) or two-letter language code defined by ISO 639 (Alpha-3 or Alpha-2) / RFC 1766.

NoticeAssignment

NoticeAssignment < Assignment < DataManagedObject < EntityInVersion < Entity

NoticeAssignment < Assignment < DataManagedObject < EntityInVersion < Entity

Name

Type

Cardinality

Description

NoticeRef

NoticeRef

1: 1

Reference to the Notice object

NoticedObjectRef

VersionOfObjectRef

1: 1

Reference to the object the Notice belongs to

Calendar Types

DayType

Name

Type

Cardinality

Description

Name

MultilingualString

0: 1

Name for DayType

Description

MultilingualString

0: 1

Description

EarliestTime

xsd:time

0: 1

Start time

DayLength

xsd:duration

0: 1

Duration

properties

PropertyOfDay

0: *

Properties

If multiple PropertyOfDay, these are logically ORed together (must satisfy at least one of the specified properties)

timebands

Timeband

0: *

Specific periods within the day

PropertyOfDay

PropertyOfDay

PropertyOfDay

XML-type

Name

Type

Cardinality

Description

Element

Name

MultilingualString

0: 1

Name of property

Element

Description

MultilingualString

0: 1

Description

Element

DaysOfWeek

DayOfWeekListOfEnumerations

0: 1

Weekdays or day sets for which the property is valid.

Allowed values:

  • Monday

  • Tuesday

  • Wednesday

  • Thursday

  • Friday

  • Saturday

  • Sunday

  • Everyday

  • Weekdays

  • Weekend

Element

WeeksOfMonth

WeeksofMonthListOfEnumerations

0: 1

Weeks of a month for which the property is valid

Allowed values:

  • 1

  • 2

  • 3

  • 4

  • 5

  • EveryWeek

(choice) Element

MonthOfyear

xsd:gMonth

0: 1

The month of the year for which the property is valid

DayOfYear

xsd:gMonthDay

0: 1

Day of a year, e.g. "every April 1"

Element

HollidayTypes

HolidayTypesListOfEnumerations

0: 1

List of types of holiday for which the property is valid

Allowed values:

  • AnyDay (default)

  • WorkingDay

  • AnyHoliday

  • LocalHoliday

  • NationalHoliday

  • SchoolDay (varies)

  • NotHoliday (varies)

  • NotWorkingDay (inconsistent)

  • NotSchoolDay (varies)

  • RegionalHoliday (currently no known use-case)

  • HolidayDisplacementDay (inconsistent)

  • EveOfHoliday (inconsistent)

Element

Seasons

SeasonsListOfEnumerations

 

List of seasons for which the property is valid (default, i.e. if not stated, the property is valid for all seasons)

Allowed values:

  • Spring

  • Summer

  • Autum

  • Winter

Timeband

Name

Type

Cardinality

Description

StartTime

xsd:time

1: 1

Start time

EndTime

xsd:time

1: 1

End time

Duration

xsd:duration

0: 1

Period duration.

Usage and cardinality depending on the context.

DayTypeAssignment

DayTypeAssignment < Assignment < DataManagedObject < EntityInVersion < Entity

DayTypeAssignment < Assignment < DataManagedObject < EntityInVersion < Entity

Name

Type

Cardinality

Description

ServiceCalendarRef

CalendarRef

0: 1

Reference to ServiceCalendar

(choice) OperatingPeriodRef

(choice) OperatingDayRef

(choice) Date

OperatingPeriodRef

OperatingDayRef

xsd:date

1: 1

Reference to OperatingPeriod

Reference to OperatingDay

Otherwise, use the normal date instead of OperatingPeriodRef/OperatingDayRef

DayTypeRef

DayTypeRef

1: 1

Reference to DayType

isAvailable

xsd:boolean

0: 1

Specifies exceptions (for example a specific date)

OperatingDay

OperatingDay < DataManagedObject < EntityInVersion < Entity

OperatingDay < DataManagedObject < EntityInVersion < Entity

Name

Type

Cardinality

Description

CalendarDate

xsd:Date

1: 1

Specifies starting date for OperatingDay.

ServiceCalendarRef

CalendarRef

0: 1

Reference to associated ServiceCalendar

Note: A calendar day can have several different OperatingDay objects (in cases of multiple service operators). To resolve this, it is recommended to create several ServiceCalendar-objects.

Name

MultilingualString

0: 1

Name for OperatingDay.

EarliestTime

xsd:time

1: 1

Start time for the OperatingDay.

DayLength

xsd:duration

1: 1

Duration of OperatingDay (no upper limit).

OperatingPeriod

OperatingPeriod < DataManagedObject < EntityInVersion < Entity

OperatingPeriod < DataManagedObject < EntityInVersion < Entity

Name

Type

Cardinality

Description

ServiceCalendarRef

CalendarRef

0: 1

Reference to associated ServiceCalendar

Note: A calendar day can have several different OperatingDay objects (in cases of multiple service operators). To resolve this, it is recommended to create several ServiceCalendar-objects.

(choice) FromDate

(choice) FromDateRef

xsd:dateTime

OperatingDayRef

1: 1

Reference to the from-date (OperatingDay) of the period.

(choice) ToDate

(choice) ToDateRef

xsd:dateTime

OperatingDayRef

1: 1

Reference to the to-date (OperatingDay) of the period.

Date is inclusive.

Timing

JourneyWaitTime

JourneyWaitTime < JourneyTiming < VersionedChild < EntityInVersion < Entity

JourneyWaitTime < JourneyTiming < VersionedChild < EntityInVersion < Entity

Name

Type

Cardinality

Description

TimingPointRef

TimingPointRefStructure

0: 1

Reference to TimingPoint

WaitTime

xsd:duration

1: 1

Wait time

JourneyPatternWaitTime

JourneyWaitTime < JourneyWaitTime < JourneyTiming < VersionedChild < EntityInVersion < Entity

JourneyWaitTime < JourneyWaitTime < JourneyTiming < VersionedChild < EntityInVersion < Entity

Name

Type

Cardinality

Description

JourneyRef

JourneyPatternRef

1: 1

Reference to JourneyPattern

JourneyRunTime

ourneyRunTime < JourneyTiming < VersionedChild < EntityInVersion < Entity

ourneyRunTime < JourneyTiming < VersionedChild < EntityInVersion < Entity

Name

Type

Cardinality

Description

TimingLinkRef

TimingLinkRef

0: 1

Reference to TimingLink

RunTime

xsd:duration

1: 1

Run time

Name

Type

Cardinality

Description

FromPointRef

TimingPointRef

1: 1

From TimingPoint

ToPointRef

TimingPointRef

1: 1

To TimingPoint

JourneyPatternRunTime

JourneyPatternRunTime < JourneyRunTime < JourneyTiming < VersionedChild < EntityInVersion < Entity

JourneyPatternRunTime < JourneyRunTime < JourneyTiming < VersionedChild < EntityInVersion < Entity

Name

Type

Cardinality

Description

LinkRef

TimingLinkRef

1: 1

Reference to TimingLink for Turnaround Time

JourneyRef

JourneyPatternRef

1: 1

Reference to JourneyPattern

JourneyHeadway

ourneyHeadway < JourneyTiming < VersionedChild < EntityInVersion < Entity

ourneyHeadway < JourneyTiming < VersionedChild < EntityInVersion < Entity

Name

Type

Cardinality

Description

ScheduledHeadwayInterval

xsd:duration

0: 1

The planned interval between departures

MinimumHeadwayInterval

xsd:duration

0: 1

The minimum interval between departures

MaximumHeadwayInterval

xsd:duration

0: 1

The maximum interval between departures

Constraints

CheckConstraint

CheckConstraint < Assignment < DataManagedObject < EntityInVersion < Entity

CheckConstraint < Assignment < DataManagedObject < EntityInVersion < Entity

Name

Type

Cardinality

Description

CheckProcess

CheckContraintProcessEnum

0: 1

Classification of constraints type:

  • boarding

  • alighting

  • checkin

  • checkout

  • vehicleLoading

  • vehicleUnloading

  • baggageCheckin

  • baggageSecurityCheck

  • baggageReclaim

  • securityCheck

delays

CheckConstraintDelay

0: 1

Delay (duration)

validityConditions

ValidityCondition

0: *

Validity conditions

CheckConstraintDelay

CheckConstraintDelay < VersionedChild < EntityInVersion < Entity

CheckConstraintDelay < VersionedChild < EntityInVersion < Entity

Name

Type

Cardinality

Description

AverageDuration

xsd:duration

0: 1

The average duration of a delay

MinimumDuration

xsd:duration

0: 1

Minimum duration of delay

MaximumDuration

xsd:duration

0: 1

Maximum duration of delay

validityConditions

ValidityCondition

0: *

Validity conditions

Optional. Should normally be defined per CheckConstraint, if relevant.

Validity Types

ValidityCondition

ValidityCondition < DataManagedObject < EntityInVersion < Entity

ValidityCondition < DataManagedObject < EntityInVersion < Entity

Name

Type

Cardinality

Description

ConditionedObjectRef

ObjectRef

0: 1

Reference to the object associated with a ValidityCondition.
Used only if ValidityCondition is defined as separate objects in the Frame, otherwise, the context will determine which object the ValidityCondition belongs to, and this field will be ignored.

WithConditionRef

ValidityConditionRef

0: 1

Can merge several ValidityCondition objects using an 'AND' operator.

AvailabilityCondition

AvailabilityCondition < ValidityCondition < DataManagedObject < EntityInVersion < Entity

AvailabilityCondition < ValidityCondition < DataManagedObject < EntityInVersion < Entity

Name

Type

Cardinality

Description

FromDate

xsd:dateTime

0: 1

From-date

ToDate

xsd:dateTime

0: 1

To-date

IsAvailable

xsd:boolean

1: 1

Specifies whether the service is available or not.

dayTypes

DayTypeRef

0: *

DayType which determines when ValidityCondition is valid. 

Do not use together with operatingDays in the same ValidityCondition.

timebands

Timeband

0: *

The period when ValidityCondition is valid. Can be used to describe for example opening hours.

operatingDays

OperatingDay

0: *

Days when ValidityCondition is valid.

Do not use together with dayTypes in the same ValidityCondition.

operatingPeriods

OperatingPeriod

0: *

The period when ValidityCondition is valid. Used instead of single days whenever this is more sensible.

ValidBetween

Name

Type

Cardinality

Description

FromDate

xsd:dateTime

0: 1

From-date

ToDate

xsd:dateTime

0: 1

To-date

ValidityTrigger

Name

Type

Cardinality

Description

TriggerObjectRef

ObjectRef

0: 1

Reference to the object which triggers the ValidityCondition

Vehicle Schedule Types

Block

Name

Type

Cardinality

Description

Name

MultilingualString

0: 1

Block name

Description

MultilingualString

0: 1

Block description

PrivateCode

xsd:normalizedString

0: 1

An internal code or reference for Block.

StartTime

xsd:time

0: 1

Start time (local time)

Only specified when start time is earlier than first VehicleJourney (or DeadRun) in Block

EndTime

xsd:time

0: 1

End time (local time)

Only specified when end time is later than last VehicleJourney in Block

EndTimeDayOffset

xsd:integer

0: 1

The number of days between StartTime and EndTime for the Block.

Only specified when EndTime is one or more calendar days after StartTime.

dayTypes

DayTypeRef

1: *

References to DayTypes when Block is active

StartPointRef

PointRef

0: 1

Reference to ScheduledStopPoint where Block begins.

Only specified when starting point in VehicleJourney (or DeadRun) is different from the starting point referenced in Block

EndPointRef

PointRef

0: 1

Reference to ScheduledStopPoint where Block ends

Only specified when end point in VehicleJourney (or DeadRun) is different from the endpoint referenced in Block

journeys

JourneyRef

1: *

Reference(s) to VehicleJourneys (or DeadRuns) which make up a Block.

Transport Modes

Mode

(with corresponding
submode element)

( → )

air

(AirSubmode)

bus

(BusSubmode)

cableway

(TelecabinSubmode)

coach

(CoachSubmode)

funicular

(FunicularSubmode)

metro

(MetroSubmode)

rail

(RailSubmode)

taxi

(TaxiSubMode)

tram

(TramSubmode)

water

(WaterSubmode)

Mode

(with corresponding
submode element)

( → )

air

(AirSubmode)

bus

(BusSubmode)

cableway

(TelecabinSubmode)

coach

(CoachSubmode)

funicular

(FunicularSubmode)

metro

(MetroSubmode)

rail

(RailSubmode)

taxi

(TaxiSubMode)

tram

(TramSubmode)

water

(WaterSubmode)

Submodes
(allowed values)

( ↓ )

domesticFlight

airportLinkBus

telecabin

internationalCoach

funicular

metro

airportLinkRail

charterTaxi

cityTram

highSpeedPassengerService

helicopterService

expressBus

unknown

nationalCoach

unknown

urbanRailway

international

communalTaxi

localTram

highSpeedVehicleService

internationalFlight

localBus



touristCoach



unknown

interregionalRail

waterTaxi

unknown

internationalCarFerry

unknown

nightBus



unknown





local

unknown



internationalPassengerFerry



metroReplacementBus 









longDistance





localCarFerry



railReplacementBus









nightRail





localPassengerFerry



miniBus 









regionalRail





nationalCarFerry



regionalBus









touristRailway





sightseeingService



schoolBus









unknown





busReplacementBoat 



shuttleBus















unknown



sightseeingBus

















 

tramReplacementBus 

 

 

 

 

 

 

 

 

 

unknown

















 Grey text = suggested expansion, not yet in use