gtfs:FareRule leaf node


URI

http://ontology.gtfs.org/reference#FareRule

Label

Fare Rule

Description

Rules for applying fare attributes to itineraries.

Shapes (1)

Usage

Instances of gtfs:FareRule can have the following properties:

PROPERTYTYPEDESCRIPTIONRANGE
From class gtfs:FareRule
gtfs:contains_id rdf:Property Identifies a zone that the itinerary passes through. xsd:string
gtfs:destination_id rdf:Property Identifies a destination zone. xsd:string
gtfs:fare rdf:Property The fare attribute linked to this rule. gtfs:FareAttribute
gtfs:origin_id rdf:Property Identifies an origin zone. 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

Property Shapes

By the associated SHACL property shapes, instances of gtfs:FareRule can have the following properties:

PROPERTY

PROPERTY TYPE

DESCRIPTION

MIN COUNT

MAX COUNT

LOCAL RANGE
(type range for property on this class)

GLOBAL RANGE
(type range for property globally)

gtfs:FareRule
gtfs:contains_id rdf:Property Identifica una zona por la que pasa el itinerario.<br>Identifies a zone that the itinerary passes through.<br>Identifica uma zona pela qual o itinerário passa.
xsd:string
xsd:string
gtfs:destination_id rdf:Property Identifica una zona de destino.<br>Identifica uma zona de destino.<br>Identifies a destination zone.
xsd:string
xsd:string
gtfs:fare_id rdf:Property Identifica una clase de tarifa.<br>Identifica uma classe de tarifa.<br>Identifies a fare class.
1 xsd:string
xsd:string
gtfs:origin_id rdf:Property Identifica una zona de origen.<br>Identifies an origin zone.<br>Identifica uma zona de origem.
xsd:string
xsd:string
gtfs:route_id rdf:Property Identifies a route.<br>Identifica uma rota.<br>Identifica una ruta.
xsd:string
xsd:string

Implementation

@prefix gtfs: <http://ontology.gtfs.org/reference#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

gtfs:FareRule a rdfs:Class ;
    rdfs:label "Fare Rule"@en,
        "Regla de Tarifa"@es,
        "Regra de Tarifa"@pt ;
    rdfs:comment "Rules for applying fare attributes to itineraries."@en,
        "Reglas para aplicar atributos de tarifa a los itinerarios."@es,
        "Regras para aplicação de atributos de tarifa a itinerários."@pt .