http://ontology.gtfs.org/reference#FareLegRule
Rules for calculating the fare for a single leg of a journey.
Instances of gtfs:FareLegRule can have the following properties:
| PROPERTY | TYPE | DESCRIPTION | RANGE |
|---|---|---|---|
| From class gtfs:FareLegRule | |||
| gtfs:fare_product | rdf:Property | The fare product associated with this rule. | gtfs:FareProduct |
| gtfs:from_area | rdf:Property | The origin area. | gtfs:Area |
| gtfs:from_area_id | rdf:Property | Identifies the origin area. | xsd:string |
| gtfs:from_timeframe | rdf:Property | The starting timeframe. | gtfs:Timeframe |
| gtfs:from_timeframe_group_id | rdf:Property | Timeframe at the start of the leg. | xsd:string |
| gtfs:to_area | rdf:Property | The destination area. | gtfs:Area rdfs:Resource |
| gtfs:to_area_id | rdf:Property | Identifies the destination area. | xsd:string |
| gtfs:to_timeframe | rdf:Property | The ending timeframe. | gtfs:Timeframe |
| gtfs:to_timeframe_group_id | rdf:Property | Timeframe at the end of the leg. | xsd:string |
| From class owl:Thing | |||
| gtfs:booking_rule | rdf:Property | gtfs:BookingRule | |
| gtfs:drop_off_booking_rule | rdf:Property | Booking rule for drop off. | gtfs:BookingRule |
| gtfs:end_time | rdf:Property | Time when the timeframe ends. | xsd:string |
| gtfs:fare_id | rdf:Property | Identifies a fare class. | xsd:string |
| gtfs:fare_media_id | rdf:Property | Identifies a fare media. | xsd:string |
| gtfs:fare_product_id | rdf:Property | Identifies a fare product. | xsd:string |
| gtfs:leg_group_id | rdf:Property | Identifies a group of legs for fare calculation. | xsd:string |
| gtfs:location | rdf:Property | The GeoJSON location for this stop time. | gtfs:GeoJsonLocation |
| gtfs:location_group | rdf:Property | The location group for this stop time. | gtfs:LocationGroup |
| gtfs:pickup_booking_rule | rdf:Property | Booking rule for pickup. | gtfs:BookingRule |
| gtfs:rider_category_id | rdf:Property | Identifies a rider category. | xsd:string |
| gtfs:route | rdf:Property | The route that this trip is part of. | gtfs:Route |
| gtfs:route_id | rdf:Property | Identifies a route. | xsd:string |
| gtfs:start_time | rdf:Property | Time when the timeframe begins. | xsd:string |
| gtfs:stop_id | rdf:Property | Identifies a location: stop/platform, station, entrance/exit, generic node or boarding area. | xsd:string |
| gtfs:trip_id | rdf:Property | Identifies a trip. | xsd:string |
By the associated SHACL property shapes, instances of gtfs:FareLegRule can have the following properties:
PROPERTY |
PROPERTY TYPE |
DESCRIPTION |
MIN COUNT |
MAX COUNT |
LOCAL RANGE |
GLOBAL RANGE |
|
|---|---|---|---|---|---|---|---|
| gtfs:FareLegRule | |||||||
| gtfs:fare_product_id | rdf:Property |
Identifica um produto tarifário.<br>Identifies a fare product.<br>Identifica un producto tarifario.
|
1 |
xsd:string
|
xsd:string
|
||
| gtfs:from_area_id | rdf:Property |
Identifies the origin area.<br>Identifica a área de origem.<br>Identifica el área de origen.
|
xsd:string
|
xsd:string
|
|||
| gtfs:from_timeframe_group_id | rdf:Property |
Marco de tiempo al inicio del tramo.<br>Timeframe at the start of the leg.<br>Marco de tempo no início da perna.
|
xsd:string
|
xsd:string
|
|||
| gtfs:leg_group_id | rdf:Property |
Identifies a group of legs for fare calculation.<br>Identifica un grupo de tramos para el cálculo de tarifas.<br>Identifica um grupo de pernas para cálculo de tarifa.
|
xsd:string
|
xsd:string
|
|||
| gtfs:network_id | rdf:Property |
Identifica un grupo de rutas.<br>Identifies a group of routes.<br>Identifica um grupo de rotas.
|
xsd:string
|
xsd:string
|
|||
| gtfs:to_area_id | rdf:Property |
Identifica a área de destino.<br>Identifies the destination area.<br>Identifica el área de destino.
|
xsd:string
|
xsd:string
|
|||
| gtfs:to_timeframe_group_id | rdf:Property |
Marco de tempo no final da perna.<br>Marco de tiempo al final del tramo.<br>Timeframe at the end of the leg.
|
xsd:string
|
xsd:string
|
|||
@prefix gtfs: <http://ontology.gtfs.org/reference#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
gtfs:FareLegRule a rdfs:Class ;
rdfs:label "Fare Leg Rule"@en,
"Regla de Tramo Tarifario"@es,
"Regra de Perna de Tarifa"@pt ;
rdfs:comment "Rules for calculating the fare for a single leg of a journey."@en,
"Reglas para calcular la tarifa de un solo tramo de un viaje."@es,
"Regras para calcular a tarifa de uma perna única de uma jornada."@pt .