http://ontology.gtfs.org/reference#CalendarShape
Instances of gtfs:Calendar can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| gtfs:Calendar | ||||
| gtfs:end_date | 1 |
xsd:string
|
||
| gtfs:friday | 1 |
xsd:integer
|
||
| gtfs:monday | 1 |
xsd:integer
|
||
| gtfs:saturday | 1 |
xsd:integer
|
||
| gtfs:service_id | 1 |
xsd:string
|
||
| gtfs:start_date | 1 |
xsd:string
|
||
| gtfs:sunday | 1 |
xsd:integer
|
||
| gtfs:thursday | 1 |
xsd:integer
|
||
| gtfs:tuesday | 1 |
xsd:integer
|
||
| gtfs:wednesday | 1 |
xsd:integer
|
||
@prefix gtfs: <http://ontology.gtfs.org/reference#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
gtfs:CalendarShape a sh:NodeShape ;
sh:property [ sh:datatype xsd:string ;
sh:minCount 1 ;
sh:path gtfs:service_id ],
[ sh:datatype xsd:integer ;
sh:in ( 0 1 ) ;
sh:minCount 1 ;
sh:path gtfs:monday ],
[ sh:datatype xsd:integer ;
sh:in ( 0 1 ) ;
sh:minCount 1 ;
sh:path gtfs:tuesday ],
[ sh:datatype xsd:integer ;
sh:in ( 0 1 ) ;
sh:minCount 1 ;
sh:path gtfs:wednesday ],
[ sh:datatype xsd:integer ;
sh:in ( 0 1 ) ;
sh:minCount 1 ;
sh:path gtfs:thursday ],
[ sh:datatype xsd:integer ;
sh:in ( 0 1 ) ;
sh:minCount 1 ;
sh:path gtfs:friday ],
[ sh:datatype xsd:integer ;
sh:in ( 0 1 ) ;
sh:minCount 1 ;
sh:path gtfs:saturday ],
[ sh:datatype xsd:integer ;
sh:in ( 0 1 ) ;
sh:minCount 1 ;
sh:path gtfs:sunday ],
[ sh:datatype xsd:string ;
sh:minCount 1 ;
sh:path gtfs:start_date ;
sh:pattern "^[0-9]{8}$" ],
[ sh:datatype xsd:string ;
sh:minCount 1 ;
sh:path gtfs:end_date ;
sh:pattern "^[0-9]{8}$" ] ;
sh:targetClass gtfs:Calendar .