framework
Current version for framework is: v1.5 (last changed Jul 28, 2022)
Content
- 1 Frames
- 1.1 Data conditions
- 1.1.1 FrameDefaults
- 1.1.2 Codespace
- 1.1.2.1 Codespace example
- 1.2 Specific components
- 1.2.1 ResourceFrame
- 1.2.2 SiteFrame
- 1.2.3 ServiceFrame
- 1.2.4 ServiceCalendarFrame
- 1.2.5 TimetableFrame
- 1.2.6 VehicleScheduleFrame
- 1.2.7 FareFrame
- 1.2.8 SalesTransactionFrame
- 1.1 Data conditions
- 2 Components
- 2.1 Abstract Types
- 2.1.1 Entity
- 2.1.2 EntityInVersion
- 2.1.3 DataManagedObject
- 2.1.4 TypeOfValue
- 2.1.5 TypeOfEntity
- 2.1.6 GroupOfEntities
- 2.1.7 Address
- 2.1.8 Assignment
- 2.1.9 Equipment Details
- 2.1.9.1 Equipment
- 2.1.9.2 PassengerEquipment
- 2.1.9.3 ActualVehicleEquipment
- 2.1.10 FacilitySet
- 2.1.11 Place
- 2.1.12 Link
- 2.1.13 LinkSequence
- 2.1.13.1 PointInLinkSequence
- 2.1.13.2 LinkInLinkSequence
- 2.1.14 Projection
- 2.1.15 Organisation
- 2.1.16 PriceableObject
- 2.1.17 FarePrice
- 2.2 Basic Types
- 2.2.1 KeyList
- 2.2.2 AlternativeName
- 2.2.3 ContactStructure
- 2.2.4 DeliveryVariant
- 2.2.5 GeneralGroupOfEntities
- 2.2.6 GroupOfPoints
- 2.2.7 Locale
- 2.2.8 LanguageUsage
- 2.2.9 Location
- 2.2.10 MultilingualString
- 2.2.11 Projection Types
- 2.2.11.1 PointProjection
- 2.2.11.2 ZoneProjection
- 2.2.12 Address Types
- 2.2.12.1 PostalAddress
- 2.2.12.2 RoadAddress
- 2.2.13 Vehicle
- 2.2.14 VehicleType
- 2.2.15 PassengerCapacity
- 2.3 Accessibility Types
- 2.3.1 AccessibilityAssessment
- 2.3.2 AccessibilityLimitation
- 2.3.3 Suitability
- 2.4 Geographical Types
- 2.4.1 Point
- 2.4.2 Zone
- 2.4.3 Polygon
- 2.4.3.1 Polygon-structure
- 2.4.3.1.1 Polygon example
- 2.4.3.1 Polygon-structure
- 2.5 Organisation Types
- 2.5.1 Authority
- 2.5.2 Operator
- 2.5.3 GroupOfOperators
- 2.5.4 Branding
- 2.5.5 DataSource
- 2.5.6 TypeOfAccessRightAssignment
- 2.6 Equipment Types
- 2.6.1 AccessEquipment
- 2.6.1.1 EntranceEquipment
- 2.6.1.2 PlaceLighting
- 2.6.1.3 RampEquipment
- 2.6.1.4 RoughSurface
- 2.6.1.5 CycleStorageEquipment
- 2.6.2 PassengerEquipment
- 2.6.2.1 SanitaryEquipment
- 2.6.3 SiteEquipment
- 2.6.3.1 WaitingRoomEquipment
- 2.6.3.2 ShelterEquipment
- 2.6.4 TicketingEquipment
- 2.6.4.1 TicketingEquipment
- 2.6.5 TicketValidatorEquipment
- 2.6.6 SignEquipment
- 2.6.6.1 GeneralSign
- 2.6.7 LocalService
- 2.6.7.1 AssistanceService
- 2.6.7.2 AssistanceBookingService
- 2.6.7.3 LuggageService
- 2.6.8 ServiceFacilitySet
- 2.6.1 AccessEquipment
- 2.7 Train Types
- 2.7.1 CompoundTrain
- 2.7.2 TrainInCompoundTrain
- 2.7.3 Train
- 2.7.4 TrainSize
- 2.7.5 TrainComponent
- 2.7.6 TrainElement
- 2.8 Notice Types
- 2.8.1 Notice
- 2.8.1.1 AlternativeText
- 2.8.2 NoticeAssignment
- 2.8.1 Notice
- 2.9 Calendar Types
- 2.9.1 DayType
- 2.9.2 PropertyOfDay
- 2.9.3 Timeband
- 2.9.4 DayTypeAssignment
- 2.9.5 OperatingDay
- 2.9.6 OperatingPeriod
- 2.10 Timing
- 2.10.1 JourneyWaitTime
- 2.10.2 JourneyPatternWaitTime
- 2.10.3 JourneyRunTime
- 2.10.3.1 TimingLink
- 2.10.4 JourneyPatternRunTime
- 2.10.5 JourneyHeadway
- 2.11 Constraints
- 2.11.1 CheckConstraint
- 2.11.2 CheckConstraintDelay
- 2.12 Validity Types
- 2.12.1 ValidityCondition
- 2.12.2 AvailabilityCondition
- 2.12.3 ValidBetween
- 2.12.4 ValidityTrigger
- 2.13 Vehicle Schedule Types
- 2.13.1 Block
- 2.14 Transport Modes
- 2.1 Abstract Types
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 |
---|---|---|
DefaultCodespaceRef | CodespaceRef | Reference to the default codespace. |
DefaultDataSourceRef | DataSourceRef | Reference to the default data source. |
DefaultLocale | Default locale description | |
DefaultLocationSystem | xsd:normalizedString | Default geographic coordinate system. If defined it should be “ NOTE: The national journey planner and stop place registry requires coordinates in the WGS84 EPSG:4326 format. |
DefaultSystemOfUnits | xsd:normalizedString | Default unit should be |
DefaultCurrency | CurrencyType | Three letter currency code according to |
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 | |||
---|---|---|---|
Name | Type | Cardinality | Description |
dataSources | 0: * | Container for DataSource objects | |
typesOfValue | 0: * | Container for TypeOfValue objects | |
organisations | 0: * | Container for Organisation objects | |
groupsOfOperators | 0: * | Container for GroupOfOperators objects | |
equipments | 0: * | Container for Equipment objects | |
vehicleTypes | 0: * | Container for VehicleType objects | |
vehicles | 0: * | Container for Vehicle objects | |
groupsOfEntities | 0: * | Container for GeneralGroupOfEntities objects |
SiteFrame
SiteFrame < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
topographicPlaces | 0: * | Container for TopographicPlace objects | |
addresses | 0: * | Container for Address objects | |
accesses | Access ? | 0: * | Container for Access objects |
groupsOfStopPlaces | 0: * | Container for GroupOfStopPlaces objects | |
stopPlaces | 0: * | Container for StopPlace objects | |
flexibleStopPlaces | 0: * | Container for FlexibleStopPlace objects | |
pointsOfInterest | 0: * | Container for PointOfInterest objects | |
parkings | 0: * | Container for Parking objects | |
navigationPaths | 0: * | Container for NavigationPath objects | |
pathLinks | 0: * | Container for PathLink objects | |
tariffZones | 0: * | Container for TariffZone objects | |
groupsOfTariffZones | 0: * | Container for GroupOfTariffZones objects | |
siteFacilitySets | 0: * | Container for SiteFacilitySet objects |
ServiceFrame
ServiceFrame < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
Network | 0: 1 | Network objects | |
additionalNetworks | 0: * | Container for additional Network objects | |
routePoints | 0: * | Container for RoutePoint objects | |
routes | 0: * | Container for Route objects | |
commonSections | 0: * | Container for CommonSection objects | |
lines | 0: * | Container for Line objects | |
groupsOfLines | 0: * | Container for GroupOfLines objects | |
destinationDisplays | 0: * | Container for DestinationDisplay objects | |
scheduledStopPoints | 0: * | Container for ScheduledStopPoint objects | |
servicePatterns | 0: * | Container for ServicePattern objects | |
connections | 0: * | Container for Connection objects | |
stopAssignments | 0: * | Container for StopAssignment objects | |
timingPoints | 0: * | Container for TimingPoint objects | |
timingLinks | 0: * | Container for TimingLink objects | |
journeyPatterns | 0: * | Container for JourneyPattern objects | |
serviceExclusions | 0: * | Container for ServiceExclusion objects | |
notices | 0: * | Container for Notice objects | |
noticeAssignments | 0: * | Container for NoticeAssignment objects |
ServiceCalendarFrame
ServiceCalendarFrame < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
ServiceCalendar | 0: 1 | ServiceCalendar objects | |
dayTypes | 0: * | Container for DayType objects | |
timebands | 0: * | Container for Timeband objects | |
operatingDays | 0: * | Container for OperatingDay objects | |
operatingPeriods | 0: * | Container for OperatingPeriod objects | |
dayTypeAssignments | 0: * | Container for DayTypeAssignment objects |
TimetableFrame
TimetableFrame < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
bookingTimes | 0: * | Container for AvailabilityCondition objects to describe flexible lines | |
vehicleJourneys | 0: * | Container for the following types: | |
frequencyGroups | 0: * | Container for HeadwayJourneyGroup objects | |
groupsOfServices | 0: * | Container for GroupOfServices objects | |
trainNumbers | 0: * | Container for TrainNumbers objects | |
journeyPartCouples | 0: * | Container for JourneyPartCouple objects | |
coupledJourneys | 0: * | Container for CoupledJourney objects | |
serviceFacilitySets | 0: * | Container for ServiceFacilitySet objects | |
flexibleServiceProperties | 0: * | Container for FlexibleServiceProperties objects | |
journeyMeetings | 0: * | Container for JourneyMeeting objects | |
journeyInterchanges | 0: * | Container for ServiceJourneyInterchange objects | |
notices | 0: * | Container for Notice objects | |
noticeAssignments | 0: * | Container for NoticeAssignment objects |
VehicleScheduleFrame
VehicleScheduleFrame < DataManagedObject < EntityInVersion < Entity | ||||
---|---|---|---|---|
Name |
| Type | Cardinality | Beskrivelse |
blocks |
| 0: * | Container for Block objects |
FareFrame
To be finalized
FareFrame < DataManagedObject < EntityInVersion < Entity | ||||
---|---|---|---|---|
XML-type | Navn | Datatype | Cardinality | Description |
element | PricingParameterSet | 0: 1 | Parameters governing the calculation of fares (pricing, limiting and discounting rules) | |
element | geographicalUnits | 0: * | Container for (list of) GeographicalUnits Geographical pricing calculation parameters, applicable for TEN/FEN if exchanged as NeTEx? | |
element | geographicalIntervals | 0: * | Container for (list of) GeographicalIntervals | |
element | geographicalStructureFactors | 0: * | Container for (list of) GeographicalStructureFactors | |
element | timeIntervals | 0: * | Container for (list of) TimeIntervals | |
element | distanceMatrixElements | 0: * | Container for (list of) DistanceMatrixElements | |
element | qualityStructureFactors | 0: * | Container for (list of) QualityStructureFactors | |
element | fareStructureElements | 0: * | Container for (list of) FareStructureElements | |
element | validableElements | 0: * | Container for (list of) ValidableElements | |
element | usageParameters | 0: * | Container for (list of) UsageParameters | |
element | fareProducts | 0: * | Container for (list of) FareProducts | |
element | fareTables | 0: * | Container for (list of) FareTables | |
element | priceGroups | 0: * | Container for (list of) PriceGroups | |
element | distributionChannels | 0: * | Container for (list of) DistributionChannels | |
element | groupsOfDistributionChannels | 0: * | Container for group(s) of DistributionChannels | |
element | fulfilmentMethods | 0: * | Container for (list of) of FulfilmentMethods | |
element | typesOfTravelDocuments | 0: * | Container for (list of) TypeOfTravelDocuments | |
element | salesOfferPackages | 0: * | Container for (list of) SalesOfferPackages | |
element | groupsOfSalesOfferPackages | 0: * | Container for group(s) of SalesOfferPackages | |
element | distributionAssignments | 0: * | Container for (list of) DistributionAssignments | |
element | groupsOfDistributionAssignments | 0: * | Container for group(s) of DistributionAssignments |
SalesTransactionFrame
SalesTransactionFrame < DataManagedObject < EntityInVersion < Entity | ||||
---|---|---|---|---|
XML-type | Name | Datatype | Cardinality | Description |
element | customers | 0: * | Container for (list of) Customers | |
element | customerAccounts | 0: * | Container for (list of) CustomerAccounts | |
element | fareContracts | 0: * | Container for (list of) FareContracts | |
element | travelSpecifications | 0: * | Container for (list of) TravelSpecifications | |
element | salesTransactions | 0: * | Container for (list of) SalesTransactions | |
element | travelDocuments | TravelDocument | 0: * | Container for (list of) TravelDocuments |
element | customerPurchasePackages | 0: * | Container for (list of) CustomerPurchasePackages |
Components
Abstract Types
Entity
The abstract basic type for all objects. Defines base attributes.
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 | ||||
---|---|---|---|---|
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
|
(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:
|
attribute | publication | PublicationEnumeration | 0: 1 | Publication of Entity data:
|
(choice) element | validityConditions | 0: * | Validity conditions for the object. | |
ValidBetween | Simplified version of ValidityCondition (simple to and from date) |
DataManagedObject
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 | 0: 1 | Reference to a brand. |
TypeOfValue
TypeOfValue < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
Name | 1: 1 | Name | |
ShortName | 0: 1 | Short form of name (abbreviation, acronym etc.) | |
Description | 0: 1 | Description | |
Image | xsd:anyURI | 0: 1 | URL to an image resource |
Url | xsd:anyURI | 0: 1 | URL |
TypeOfEntity
TypeOfEntity < TypeOfValue < DataManagedObject < EntityInVersion < Entity | ||||
---|---|---|---|---|
XML-type | Name | Datatype | Cardinality | Description |
TypeOfEntity inherits from TypeOfValue without introducing new elements or attributes. |
GroupOfEntities
GroupOfEntities < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
Name | 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 | 0: 1 | Short name for a group of objects | |
Description | 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
Address < Place < Zone < GroupOfPoints < GroupOfEntities < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
CountryRef | CountryEnum | 0: 1 | Three letter (recommended) or two letter country code as defined by |
CountryName | 0: 1 | The official name of the country |
Assignment
Assignment < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
Name | 0: 1 | Name | |
Description | 0: 1 | Description |
Equipment Details
Equipment
Equipment < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
Name | 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 | 0: 1 | Description | |
Note | 0: 1 | Additional notes | |
OutOfService | xsd:boolean | 0: 1 | Defines the status of equipment |
PassengerEquipment
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
ActualVehicleEquipment < PassengerEquipment < Equipment < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
Units | xsd:integer | 0: 1 | Number of equipment units |
VehicleTypeRef | VehicleTypeRef | 0: 1 | Reference to vehicle type (VehicleType) |
AccessibilityAssessment | 0: 1 | Assessment of universal design accessibility |
FacilitySet
FacilitySet < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
ProvidedByRef | xsd:normalizedString | 0: 1 | Reference to organisation offering the services |
Description | 0: 1 | Description of the set of services | |
AccessibilityInfoFacilityList | AccessibilityInfoFacilityListOfEnumerations | 0: 1 | Possible values
|
AssistanceFacilityList | AssistanceFacilityListOfEnumerations | 1: 1 | Possible values (multiple allowed)
|
AccessibilityToolList | AccessibilityToolListOfEnumerations | 0: 1 | Possible values
|
CateringFacilityList | CateringFacilityListOfEnumerations | 1: 1 | Possible values
|
FareClasses | FareClassesListOfEnumerations | 1: 1 | Possible values
|
MobilityFacilityList | MobilityFacilityListOfEnumerations | 1: 1 | Possible values
|
PassengerCommsFacilityList | PassengerCommsFacilityListOfEnumerations | 0: 1 | Possible values
|
PassengerInformationEquipmentList | PassengerInformationEquipmentListOfEnumerations | 0: 1 | Possible values
|
PassengerInformationFacilityList | PassengerInformationFacilityEnumeration | 0: 1 | Possible values
|
Place
Place < Zone < GroupOfPoints < GroupOfEntities < DataManagedObject < EntityInVersion < Entity | ||||
---|---|---|---|---|
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:
Allowed values for TopographicPlace: |
Link
Link < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
Name | 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 | |||
---|---|---|---|
Name | Type | Cardinality | Description |
Name | 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 | ||||
---|---|---|---|---|
| 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 | 0: 1 | Projection on road or rail |
LinkInLinkSequence
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 | 0: 1 | Projections on roads and railways |
Projection
Projection < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
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 | |||
---|---|---|---|
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:
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 | 1: 1 | The legal name of the ORGANISATION | |
ContactDetails | 0: 1 | The public contact information of the ORGANISATION Note that for Authority, providing the minimum required set of ContactDetails is mandatory. | |
PrivateContactDetails | 0: 1 | Non-public contact information of the ORGANISATION |
PriceableObject
PriceableObject < DataManagedObject < EntityInVersion < Entity | ||||
---|---|---|---|---|
XML-type | Name | Type | Cardinality | Description |
element | alternativeNames | 0: 1 | List of ALTERNATIVE NAMEs for element | |
element | noticeAssignments | 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 | ||||
---|---|---|---|---|
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 | |||
---|---|---|---|
Name | Type | Cardinality | Description |
KeyValue | KeyValue | 1: * | Key-value pair |
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 | |||
---|---|---|---|
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:
|
Name | 1: 1 | The alternative name |
ContactStructure
ContactStructure | |||
---|---|---|---|
Name | Type | Cardinality | Description |
ContactPerson | xsd:normalizedString | 0: 1 | Name of a person to be contacted |
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 | |||
---|---|---|---|
Name | Type | Cardinality | Description |
DeliveryVariantMediaType | DeliveryVariantTypeEnumeration | 1: 1 | Media type. Possible values:
|
VariantText | 1: 1 | Text for respective media types (replaces Note for certain media types) |
GeneralGroupOfEntities
GeneralGroupOfEntities < GroupOfEntities < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
members | objectRef | 0: * | List of objects included in the group. |
GroupOfPoints
GroupOfPoints < GroupOfEntities < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
members | objectRef | 0: * | List of Point objects included in the group. |
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 | |||
---|---|---|---|
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
|
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 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, For example: NOTE: The national journey planner and stop place registry requires coordinates in the | |
elem | Precision | xsd:decimal | 0: 1 | Precision in meters |
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 | |||
---|---|---|---|
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
ZoneProjection < Projection < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
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
PostalAddress < Address < Place < Zone < GroupOfPoints < GroupOfEntities < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
AddressLine1 | 1: 1 | Address line 1 | |
AddressLine2 | 0: 1 | Address line 2 | |
Town | 1: 1 | Postal place name | |
PostCode | xsd:normalizedString | 1: 1 | Postcode |
RoadAddress
RoadAddress < Address < Place < Zone < GroupOfPoints < GroupOfEntities < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
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 | 1: 1 | Road/street name. | |
BearingDegrees | xsd:integer | 0: 1 | Bearing of the road, in degrees. |
Vehicle
Vehicle < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
Name | 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 | 0: * | Description of on-board equipment. Defined inline. |
VehicleType
VehicleType < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
Name | 1: 1 | Name of vehicle type | |
Description | 1: 1 | Description of vehicle type | |
PrivateCode | xsd:normalizedString | 0: 1 | Internal classification of the vehicle type |
TypeOfFuel | TypeOfFuelEnumeration | 0: 1 | Fuel type:
|
EuroClass | xsd:normalizedString | 0: 1 | Euroclass for vehicle type |
capacities | 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 | |||
---|---|---|---|
Name | Type | Cardinality | Description |
FareClass | FareClassEnumeration | 1: 1 | Possible values:
|
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 | |||
---|---|---|---|
Name | Type | Cardinality | Description |
MobilityImpairedAccess | LimitationStatusEnum | 1: 1 | Specifies whether the object can be used by people with special needs:
|
limitations | 1: 1 | Accessibility limitations | |
suitabilities | 0: * | Describes suitability | |
Comment | 0: 1 | Additional comments for Accessibility definition. Field content is meant to be displayed together with Accessibility information. |
AccessibilityLimitation
AccessibilityLimitation < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
WheelchairAccess | LimitationStatusEnum | 1: 1 | Describes usability for wheelchair users:
|
StepFreeAccess | LimitationStatusEnum | 1: 1 | Describes whether the object has step-free access (no stairs)
|
EscalatorFreeAccess | LimitationStatusEnum | 1: 1 | Describes whether the object has escalator free access
|
LiftFreeAccess | LimitationStatusEnum | 1: 1 | Describes whether the object can be accessed without the use of an elevator:
|
AudibleSignsAvailable | LimitationStatusEnum | 1: 1 | Describes if the object has audio signs (directions for the visually impaired):
|
VisualSignsAvailable | LimitationStatusEnum | 1: 1 | Describes whether the object has visual signs:
|
Suitability
Suitability < UserNeed < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
(choice) MobilityNeed | MobilityEnumeration | 1: 1 | Specific mobility needs:
|
(choice) PsychosensoryNeed | PsychosensoryNeedEnumeration | 1: 1 | Specific psychosensory needs:
|
(choice) EncumbranceNeed | EncumbranceNeedEnumeration | 1: 1 | Specific luggage needs:
|
Suitable | SuitableEnumeration | 1: 1 | Specifies if the suitability (established by above values) is true or false.
|
Geographical Types
Point
Point < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
Name | 0: 1 | Name of the Point | |
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 | 0: * | Point projections |
Zone
Zone < GroupOfPoints < GroupOfEntities < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
Centroid | 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 | 0: 1 | A sorted list of points which represent a closed line (polygon) which describes the zone. | |
projections | 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
Authority < Organisation < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
Address | 0: 1 | Postal address |
Operator
Operator < Organisation < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
Address | 0: 1 | Postal address | |
PrimaryMode | VehicleModeEnumeration | 0: 1 | The operators primary type of transport (if relevant) |
OperatorActivities | ListOfOperatorActivities | 0: 1 | Possible values
|
CustomerServiceContactDetails | 1: 1 | Point of contact for customer support/feedback of that company. |
GroupOfOperators
GroupOfOperators < GroupOfEntities < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
members | TransportOrganisationRef | 1: * | References to operators included in the group |
Branding
Branding < TypeOfValue < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
Presentation | PresentationStructure | 0: 1 | Preferred presentation values assoicated with BRANDING. NeTEx v1.1 addition, currently not in use. |
DataSource
DataSource < TypeOfValue < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
EmailAddressType | 1: 1 | Contact e-mail for data (content) related questions. |
TypeOfAccessRightAssignment
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
EntranceEquipment < PlaceEquipment < Equipment < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
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
PlaceLighting < PlaceEquipment < Equipment < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
Lighting | LightingEnumeration | 1: 1 | Description of lighting situation:
|
AlwaysLit | xsd:boolean | 0: 1 | Specifies whether lighting is always on or not |
RampEquipment
RampEquipment < PlaceEquipment < Equipment < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
Gradient | RampGradientEnum | 0: 1 | Possible values:
|
RoughSurface
RoughSurface < AccessEquipment < Equipment < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
SurfaceType | SurfaceTypeEnumeration | 1: 1 | Surface types:
|
SuitableForCycles | xsd:boolean | 0: 1 | Suitable for bicycles. |
CycleStorageEquipment
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:
|
Covered | xsd:boolean | 0: 1 | Specifies whether the parking is covered by a roof |
PassengerEquipment
SanitaryEquipment
SanitaryEquipment < PassengerEquipment < Equipment < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
SanitaryFacilityList | SanitaryFacilityListOfEnumerations | 1: 1 | List of facilities:
|
NumberOfToilets | xsd:integer | 0: 1 | Number of toilets |
SiteEquipment
WaitingRoomEquipment
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
ShelterEquipment < WaitingEquipment < SiteEquipment < Equipment < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
Enclosed | xsd:boolean | 1: 1 | Specifies whether the waiting room is enclosed by walls, or open. |
TicketingEquipment
TicketingEquipment
TicketingEquipment < PassengerEquipment < Equipment < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
NumberOfMachines | xsd:integer | 0: 1 | Number of ticket vending machines |
TicketingFacilityList | TicketingFacilityListOfEnumerations | 0: * | Possible values:
|
NumberOfTills | xsd:integer | 0: 1 | Number of tills for ticket sale |
PaymentMethods | PaymentMethodEnum | 0: * | Possible values:
|
TicketTypesAvailable | TicketTypeEnum | 0: * | Possible values:
|
TicketingServiceList | TicketingServiceFacilityEnum | 0: * | Possible values:
|
TicketValidatorEquipment
TicketValidatorEquipment < PassengerEquipment < Equipment < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
ValidatorList | TicketValidatorEnum | 0: * | Possible values:
|
SignEquipment
GeneralSign
GeneralSign < SignEquipment < PlaceEquipment < Equipment < 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.
Also set SignContentType = 'transportMode'. |
Content | 0: 1 | Text on sign | |
SignContentType | SignContentEnum | 0: 1 | Type of sign:
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 | |||
---|---|---|---|
Name | Type | Cardinality | Description |
AssistanceFacilityList | AssistanceFacilityListOfEnumerations | 0: 1 | Possible values (multiple allowed)
|
AssistanceAvailability | AssistanceAvailabilityEnumeration | 0: 1 | Possible values:
|
Staffing | StaffingEnumeration | 0: 1 | Possible values:
|
AccessibilityToolList | AccessibilityToolListOfEnumerations | 0: * | Possible values:
|
AssistanceBookingService
AssistanceBookingService < LocalService < Equipment < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
AssistanceAvailability | AssistanceAvailabilityEnumeration | 0: 1 | Possible values:
|
WheelchairBookingRequired | xsd:boolean | 0: 1 | Whether a booking is needed to have assistance using a wheelchair |
BookingContact | 0: 1 | Contact information for booking | |
BookingArrangements | 0: 1 | Rules for booking | |
VehicleMode | AllModesEnumeration | 0: 1 | Possible values:
|
OperatorRef | OperatorRef | 0: 1 | Reference to Operator to book at |
(choice) LineRef | LineRef | 0: 1 | Reference to (Flexible) Line to book at |
FlexibleLineRef | |||
noticeAssignments | 0: * | List of NOTICE ASSIGNMENTs for booking |
LuggageService
LuggageService < LocalService < Equipment < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
LuggageServiceType | LuggageServiceFacilityEnum | 0: 1 | Possible values:
|
WheelchairLuggageTrolleys | xsd:boolean | 0: 1 | If luggage trolleys for wheelchairs are available |
ServiceFacilitySet
ServiceFacilitySet < FacilitySet < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
AccommodationAccessList | AccommodationAccessListOfEnumerations | 0: 1 | Possible values:
|
AccommodationFacilityList | AccommodationFacilityListOfEnumerations | 0: 1 | Possible values:
|
LuggageCarriageFacilityList | LuggageCarriageFacilityListOfEnumerations | 0: 1 | Possible values:
|
ServiceReservationFacilityList | ServiceReservationFacilityListOfEnumerations | 0: 1 | Possible values:
|
Train Types
CompoundTrain
CompoundTrain < VehicleType < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
components | 1: * | References to train objects which are a part of a compound train. |
TrainInCompoundTrain
TrainInCompoundTrain < VersionedChild < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
Train | 1: 1 | Train description | |
ReversedOrientation | xsd:boolean | 0: 1 | Specifies whether the train is in reverse orientation to the CompoundTrain |
Label | 0: 1 | A label associated with the train |
Train
Train < VehicleType < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
TrainSize | 0: 1 | Size of the train (number of cars) | |
components | 0: * | Components constituting a train |
TrainSize
TrainSize | |||
---|---|---|---|
Name | Type | Cardinality | Description |
NumberOfCars | xsd:nonNegativeInteger | 0: 1 | Number of cars in the train |
TrainSizeType | TrainSizeEnumeration | 0: 1 | Train size types:
|
TrainComponent
TrainComponent < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
Label | 0: 1 | Static train component label. If the label is dynamic, use TrainComponentLabelAssignment instead. | |
Description | 0: 1 | Description of the component. | |
TrainElement | 1: 1 | Description of the train car. |
TrainElement
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:
|
FareClasses | FareClassListOfEnumerations | 0: * | Tariff/fare class for a car
|
equipments | 0: * | Description of onboard equipment Defined inline |
Notice Types
Notice
Notice < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
Name | 0: 1 | Name of the Notice. | |
AlternativeTexts | 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 | 1: 1 | Notice text. | |
PublicCode | xsd:normalizedString | 0: 1 | Public code of the Notice. |
variants | 0: * | Variations of the Notice for different media types. |
AlternativeText
AlternativeText < VersionedChild < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
Text | 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 | |||
---|---|---|---|
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
DayType < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
Name | 0: 1 | Name for DayType | |
Description | 0: 1 | Description | |
EarliestTime | xsd:time | 0: 1 | Start time |
DayLength | xsd:duration | 0: 1 | Duration |
properties | 0: * | Properties If multiple PropertyOfDay, these are logically ORed together (must satisfy at least one of the specified properties) | |
timebands | 0: * | Specific periods within the day |
PropertyOfDay
PropertyOfDay | ||||
---|---|---|---|---|
XML-type | Name | Type | Cardinality | Description |
Element | Name | 0: 1 | Name of property | |
Element | Description | 0: 1 | Description | |
Element | DaysOfWeek | DayOfWeekListOfEnumerations | 0: 1 | Weekdays or day sets for which the property is valid. Allowed values:
|
Element | WeeksOfMonth | WeeksofMonthListOfEnumerations | 0: 1 | Weeks of a month for which the property is valid Allowed values:
|
(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:
|
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:
|
Timeband
Timeband < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
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 | |||
---|---|---|---|
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 | |||
---|---|---|---|
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 | 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 | |||
---|---|---|---|
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 | 1: 1 | Reference to the from-date (OperatingDay) of the period. |
(choice) ToDate (choice) ToDateRef | xsd:dateTime | 1: 1 | Reference to the to-date (OperatingDay) of the period. Date is inclusive. |
Timing
JourneyWaitTime
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 | |||
---|---|---|---|
Name | Type | Cardinality | Description |
JourneyRef | JourneyPatternRef | 1: 1 | Reference to JourneyPattern |
JourneyRunTime
ourneyRunTime < JourneyTiming < VersionedChild < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
TimingLinkRef | TimingLinkRef | 0: 1 | Reference to TimingLink |
RunTime | xsd:duration | 1: 1 | Run time |
TimingLink
TimingLink < Link < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
FromPointRef | TimingPointRef | 1: 1 | From TimingPoint |
ToPointRef | TimingPointRef | 1: 1 | To TimingPoint |
JourneyPatternRunTime
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 | |||
---|---|---|---|
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 | |||
---|---|---|---|
Name | Type | Cardinality | Description |
CheckProcess | CheckContraintProcessEnum | 0: 1 | Classification of constraints type:
|
delays | 0: 1 | Delay (duration) | |
validityConditions | 0: * | Validity conditions |
CheckConstraintDelay
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 | 0: * | Validity conditions Optional. Should normally be defined per CheckConstraint, if relevant. |
Validity Types
ValidityCondition
ValidityCondition < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
ConditionedObjectRef | ObjectRef | 0: 1 | Reference to the object associated with a ValidityCondition. |
WithConditionRef | ValidityConditionRef | 0: 1 | Can merge several ValidityCondition objects using an 'AND' operator. |
AvailabilityCondition
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 | 0: * | The period when ValidityCondition is valid. Can be used to describe for example opening hours. | |
operatingDays | 0: * | Days when ValidityCondition is valid. Do not use together with dayTypes in the same ValidityCondition. | |
operatingPeriods | 0: * | The period when ValidityCondition is valid. Used instead of single days whenever this is more sensible. |
ValidBetween
ValidBetween < ValidityCondition < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
FromDate | xsd:dateTime | 0: 1 | From-date |
ToDate | xsd:dateTime | 0: 1 | To-date |
ValidityTrigger
ValidityTrigger < ValidityCondition < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
TriggerObjectRef | ObjectRef | 0: 1 | Reference to the object which triggers the ValidityCondition |
Vehicle Schedule Types
Block
Block < DataManagedObject < EntityInVersion < Entity | |||
---|---|---|---|
Name | Type | Cardinality | Description |
Name | 0: 1 | Block name | |
Description | 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 ( → ) | air (AirSubmode) | bus (BusSubmode) | cableway (TelecabinSubmode) | coach (CoachSubmode) | funicular (FunicularSubmode) | metro (MetroSubmode) | rail (RailSubmode) | taxi (TaxiSubMode) | tram (TramSubmode) | water (WaterSubmode) |
---|---|---|---|---|---|---|---|---|---|---|
Submodes ( ↓ ) | 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