fares
This page is under final revision, awaiting review approval and inclusion in the Nordic NeTEx Profile
Version
Current version for fares is: v0.96 (last changed Jul 28, 2022)
Content
- 1 Components
- 1.1 Fare components
- 1.1.1 GeographicalUnit
- 1.1.2 GeographicalInterval
- 1.1.3 GeographicalStructureFactor
- 1.1.4 TimeInterval
- 1.1.5 QualityStructureFactor
- 1.1.6 FareDemandFactor
- 1.1.7 StartTimeAtStopPoint
- 1.1.8 FareQuotaFactor
- 1.1.9 DistanceMatrixElement
- 1.2 Controllable elements
- 1.3 Usage Parameters
- 1.3.1 UsageParameter
- 1.3.2 UserProfile
- 1.3.3 UsageValidityPeriod
- 1.3.3.1 SteppedDuration
- 1.3.4 Suspending
- 1.3.5 RoundTrip
- 1.3.6 FrequencyOfUse
- 1.3.7 Interchanging
- 1.3.8 LuggageAllowance
- 1.3.9 PurchaseWindow
- 1.3.10 Reserving
- 1.3.11 Cancelling
- 1.3.12 ChargingPolicy
- 1.3.13 PenaltyPolicy
- 1.3.14 Subscribing
- 1.3.15 GroupTicket
- 1.3.16 CompanionProfile
- 1.3.17 CommercialProfile
- 1.3.18 Transferability
- 1.3.19 Reselling
- 1.3.20 Refunding
- 1.3.21 Exchanging
- 1.3.22 Replacing
- 1.3.23 Reverting
- 1.3.24 OnboardValidity
- 1.3.25 SecurityPolicy
- 1.3.26 EntitlementGiven
- 1.3.27 EntitlementRequired
- 1.3.27.1 EntitlementConstraintStructure
- 1.4 Fare Product
- 1.4.1 ServiceAccessRight
- 1.4.2 FareProduct
- 1.4.3 ConditionSummary
- 1.4.4 PreassignedFareProduct
- 1.4.5 AccessRightInProduct
- 1.4.6 SupplementProduct
- 1.4.7 ThirdPartyProduct
- 1.4.8 SaleDiscountRight
- 1.4.9 CappedDiscountRight
- 1.4.10 CappingRule
- 1.5 Sales Offer
- 1.5.1 SalesOfferPackage
- 1.5.2 GroupOfSalesOfferPackages
- 1.5.3 ElementConsumptionPolicy
- 1.5.4 ConsumptionRequirement
- 1.5.5 AccessRightInProductConsumptionRequirement
- 1.5.6 CustomerPurchasePackageElementConsumptionRequirement
- 1.5.7 ElementConsumption
- 1.5.8 AccessRightInProductConsumption
- 1.5.9 CustomerPurchasePackageElementConsumption
- 1.5.10 CrossConstraint
- 1.5.11 EntitlementConstraintStructure
- 1.5.12 MaximumNumberOfAccesses
- 1.5.13 PolicyAssignmentInput
- 1.5.14 AccessRightInProductSpecificationStartTimePolicyAssignmentInput
- 1.5.15 SalesOfferPackageElement
- 1.5.16 SalesOfferPackageSubstitution
- 1.6 Pricing
- 1.6.1 PricingParameterSet
- 1.6.1.1 PricingService
- 1.6.2 Rounding
- 1.6.3 GeographicalUnitPrice
- 1.6.4 GeographicalIntervalPrice
- 1.6.5 QualityStructureFactorPrice
- 1.6.6 DistanceMatrixElementPrice
- 1.6.7 FareStructureElementPrice
- 1.6.8 UsageParameterPrice
- 1.6.9 FareProductPrice
- 1.6.10 FulfilmentMethodPrice
- 1.6.11 SalesOfferPackagePrice
- 1.6.12 PriceGroup
- 1.6.13 FareTable
- 1.6.14 Cell
- 1.6.1 PricingParameterSet
- 1.7 Distribution
- 1.7.1 DistributionChannel
- 1.7.2 GroupOfDistributionChannels
- 1.7.3 FulfilmentMethod
- 1.7.4 TypeOfTravelDocument
- 1.7.5 DistributionAssignment
- 1.7.6 GroupOfDistributionAssignments
- 1.8 Entity Types
- 1.8.1 Assignments
- 1.8.1.1 Sub-rules to policy assignments
- 1.8.1.2 Common assignments
- 1.8.1.3 Specification requirement results
- 1.8.1.4 Access logging
- 1.8.2 Customer accounts
- 1.8.3 Fare contracts
- 1.8.4 Responsibility roles
- 1.8.1 Assignments
- 1.1 Fare components
This document is part of the Norwegian NeTEx Profile and describes data elements for the exchange of product and fare related information via the NeTEx format.
Please note the fare/sales-transaction parts of the profile describes data object for managing and exchanging fare structures, access rights, fare products, pricing, sales management/services, fare validation and consumption, as well as presentation of fare information to the traveling public. It does not, however, describe network or time-related concepts, such as topology, date objects or departure times, as these are described in their respective profile documents stops, network and timetable.
Components
Fare components
GeographicalUnit
A geographical interval specifying access rights for the FARE STRUCTURE ELEMENTs within the range of this interval: “20-5 km”, “4-6 zones”, etc.
Example can be found in the official GitHub-repository for Entur
GeographicalUnit < FareUnit < PriceableObject < DataManagedObject < EntityInVersion < Entity | ||||
|---|---|---|---|---|
XML-type | Name | Datatype | Cardinality | Description |
element | Distance | xsd:nonNegativeIntegerpric | 0: 1 | If distance based unit, length of unit |
element | prices | 0: * | Prices associated with GEOGRAPHICALUNIT | |
GeographicalInterval
A geographical interval specifying access rights for the FARE STRUCTURE ELEMENTs within the range of this interval: “20-5 km”, “4-6 zones”, etc.
Example can be found in the official GitHub-repository for Entur
GeographicalInterval < FareStructureFactor < PriceableObject < DataManagedObject < EntityInVersion < Entity | ||||
|---|---|---|---|---|
XML-type | Name | Datatype | Cardinality | Description |
element | StartGeographicalValue | xsd:decimal | 0: 1 | Start value for GEOGRAPHICAL INTERVAL |
element | EndGeographicalValue | xsd:decimal | 0: 1 | End value for GEOGRAPHICAL INTERVAL |
element | NumberOfUnits | xsd:integer | 0: 1 | Quantity of units in GEOGRAPHICAL INTERVAL |
element | IntervalType | IntervalTypeEnum | 0: 1 | Classification of interval type Allowed values:
|
element | prices | 0: * | Prices for GEOGRAPHICAL INTERVAL | |
GeographicalStructureFactor
The value of a GEOGRAPHICAL INTERVAL or a DISTANCE MATRIX ELEMENT expressed by a GEOGRAPHICAL UNIT.
Example can be found in the official GitHub-repository for Entur
GeographicalStructureFactor < FareStructureFactor < PriceableObject < DataManagedObject < EntityInVersion < Entity | ||||
|---|---|---|---|---|
XML-type | Name | Datatype | Cardinality | Description |
element | DistanceMatrixElementRef | 0: 1 | Reference to a DISTANCE MATRIX ELEMENT | |
element | GeographicalIntervalRef | 0: 1 | Reference to a GEOGRAPHICAL INTERVAL | |
element | GeographicalUnitRef | 0: 1 | Reference to GEOGRAPHICAL UNIT | |
element | NumberOfUnits | xsd:integer | 0: 1 | Quantity of units. |
element | AmountFactor | xsd:decimal | 0: 1 | Arbitrary amount factor associated with Factor |
TimeInterval
A time-based interval specifying access rights for the FARE STRUCTURE ELEMENTs within the range of this interval: “0-1 hours,” “1-3 days”, etc.
Example can be found in the official GitHub-repository for Entur
TimeInterval < FareInterval < PriceableObject < DataManagedObject < EntityInVersion < Entity | ||||
|---|---|---|---|---|
XML-type | Name | Datatype | Cardinality | Description |
element | StartTime | xsd:time | 0: 1 | Start time of interval |
element | EndTime | xsd:time | 0: 1 | End time of interval |
element | Duration | xsd:duration | 1: 1 | Duration for the TimeInterval |
QualityStructureFactor
The value of a QUALITY INTERVAL or a DISTANCE MATRIX ELEMENT expressed by a QUALITY UNIT.
Example can be found in the official GitHub-repository for Entur
QualityStructureFactor < FareStructureFactor < PriceableObject < DataManagedObject < EntityInVersion < Entity | ||||
|---|---|---|---|---|
XML-type | Name | Datatype | Cardinality | Description |
element | Factor | xsd:anyType | 0: 1 | General Factor amount |
element | Value | xsd:anyType | 0: 1 | Quantitative quality value |
element | prices | 0: * | Price for QUALITY STRUCTURE FACTOR | |
FareDemandFactor
A named set of parameters defining a period of travel with a given PRICE, for example; “peak”, “off-peak”, “super off-peak”, etc.
Example can be found in the official GitHub-repository for Entur
FareDemandFactor < QualityStructureFactor < FareStructureFactor < PriceableObject < DataManagedObject < EntityInVersion < Entity | ||||
|---|---|---|---|---|
XML-type | Name | Datatype | Cardinality | Description |
element | FareDemandType | FareDemandTypeEnumeration | 0: 1 | TIME DEMAND TYPE corresponding to FARE DEMAND FACTOR. Allowed values:
|
element | TimeDemandTypeRef | TimeDemandTypeRef | 0: 1 | Reference to TIME DEMAND TYPE corresponding to the FARE DEMAND FACTOR. |
element | StopUseConstraint | StopUseConstraintEnumeration | 0: 1 | Nature of constraint on uses of stop. Allowed values:
|
element | startTimesAtStopPoints | 0: * | Start times at SCHEDULED STOP POINTs for FARE DEMAND TYPE. | |
StartTimeAtStopPoint
A time at which a fare time band (time band peak, off peak) is deemed to begin for trips starting at a particular SCHEDULED STOP POINT.
Example can be found in the official GitHub-repository for Entur
StartTimeAtStopPoint < VersionedChild < EntityInVersion < Entity | ||||
|---|---|---|---|---|
XML-type | Name | Datatype | Cardinality | Description |
element | ScheduledStopPointRef | ScheduledStopPointRef | 1: 1 | SCHEDULED STOP POINT at which time band start applies. |
element | StartTime |
| 0: 1 | Time at which time band starts at referenced SCHEDULED STOP POINT. |
element | EndTime |
| 0: 1 | Time at which time band ends at referenced SCHEDULED STOP POINT. |
element | DayOffset | xsd:integer | 0: 1 | Day offset of end time from start time. (Zero denotes same day.) |
FareQuotaFactor
A named set of parameters defining number of quota fares available. of a given denomination.
Example can be found in the official GitHub-repository for Entur
FareQuotaFactor < QualityStructureFactor < FareStructureFactor < PriceableObject < DataManagedObject < EntityInVersion < Entity | ||||
|---|---|---|---|---|
XML-type | Name | Datatype | Cardinality | Description |
element | NumberOfUnits | xsd:integer | 1: 1 | Number of units available of product at a given price. |
DistanceMatrixElement
A cell of an origin-destination matrix for TARIFF ZONEs or STOP POINTs, expressing a fare distance for the corresponding trip: value in km, number of fare units etc.
Describes point to point or zone to zone fares, representing the fare between an origin and a destination pair, including its different routing constraint.
Example can be found in the official GitHub-repository for Entur
DistanceMatrixElement < PriceableObject < DataManagedObject < EntityInVersion < Entity | ||||
|---|---|---|---|---|
XML-type | Name | Datatype | Cardinality | Description |
element | Distance | DistanceType | 0: 1 | Distance between origin and destination of a DISTANCE MATRIX ELEMENT |
element | RelativeRanking | xsd:integer | 0: 1 | Relative preference assigned to this element if there are multiple entries between two points |
element | IsDirect | xsd:boolean | 0: 1 | Whether journey is direct or requires changes |