http://ontology.gtfs.org/reference#FareProductShape
Instances of gtfs:FareProduct can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| gtfs:FareProduct | ||||
| gtfs:amount | 1 |
xsd:decimal
|
||
| gtfs:currency | 1 |
xsd:string
|
||
| gtfs:fare_media_id |
xsd:string
|
|||
| gtfs:fare_product_id | 1 |
xsd:string
|
||
| gtfs:fare_product_name |
xsd:string
|
|||
| gtfs:rider_category_id |
xsd:string
|
|||
@prefix gtfs: <http://ontology.gtfs.org/reference#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
gtfs:FareProductShape a sh:NodeShape ;
sh:property [ sh:datatype xsd:string ;
sh:minCount 1 ;
sh:path gtfs:fare_product_id ],
[ sh:datatype xsd:string ;
sh:path gtfs:fare_product_name ],
[ sh:datatype xsd:decimal ;
sh:minCount 1 ;
sh:minInclusive 0.0 ;
sh:path gtfs:amount ],
[ sh:datatype xsd:string ;
sh:minCount 1 ;
sh:path gtfs:currency ;
sh:pattern "^[A-Z]{3}$" ],
[ sh:datatype xsd:string ;
sh:path gtfs:rider_category_id ],
[ sh:datatype xsd:string ;
sh:path gtfs:fare_media_id ] ;
sh:targetClass gtfs:FareProduct .