http://ontology.gtfs.org/reference#CalendarDateShape
Instances of gtfs:CalendarDate can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| gtfs:CalendarDate | ||||
| gtfs:date | 1 |
xsd:string
|
||
| gtfs:exception_type | 1 |
xsd:integer
|
||
| gtfs:service_id | 1 |
xsd:string
|
||
@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:CalendarDateShape a sh:NodeShape ;
sh:property [ sh:datatype xsd:string ;
sh:minCount 1 ;
sh:path gtfs:service_id ],
[ sh:datatype xsd:string ;
sh:minCount 1 ;
sh:path gtfs:date ;
sh:pattern "^[0-9]{8}$" ],
[ sh:datatype xsd:integer ;
sh:in ( 1 2 ) ;
sh:minCount 1 ;
sh:path gtfs:exception_type ] ;
sh:targetClass gtfs:CalendarDate .