gtfs:PathwayShape leaf node


URI

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

Label

PathwayShape

Target Classes (1)

Shape Properties

Instances of gtfs:Pathway can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

gtfs:Pathway
gtfs:from_stop_id 1 xsd:string
gtfs:is_bidirectional 1 xsd:integer
gtfs:length xsd:decimal
gtfs:max_slope xsd:decimal
gtfs:min_width xsd:decimal
gtfs:pathway_id 1 xsd:string
gtfs:pathway_mode 1 xsd:integer
gtfs:stair_count xsd:integer
gtfs:to_stop_id 1 xsd:string
gtfs:traversal_time xsd:integer

Implementation

@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:PathwayShape a sh:NodeShape ;
    sh:property [ sh:datatype xsd:string ;
            sh:minCount 1 ;
            sh:path gtfs:pathway_id ],
        [ sh:datatype xsd:string ;
            sh:minCount 1 ;
            sh:path gtfs:from_stop_id ],
        [ sh:datatype xsd:string ;
            sh:minCount 1 ;
            sh:path gtfs:to_stop_id ],
        [ sh:datatype xsd:integer ;
            sh:in ( 1 2 3 4 5 6 7 ) ;
            sh:minCount 1 ;
            sh:path gtfs:pathway_mode ],
        [ sh:datatype xsd:integer ;
            sh:in ( 0 1 ) ;
            sh:minCount 1 ;
            sh:path gtfs:is_bidirectional ],
        [ sh:datatype xsd:decimal ;
            sh:minInclusive 0.0 ;
            sh:path gtfs:length ],
        [ sh:datatype xsd:integer ;
            sh:minInclusive 0 ;
            sh:path gtfs:traversal_time ],
        [ sh:datatype xsd:integer ;
            sh:path gtfs:stair_count ],
        [ sh:datatype xsd:decimal ;
            sh:path gtfs:max_slope ],
        [ sh:datatype xsd:decimal ;
            sh:minInclusive 0.0 ;
            sh:path gtfs:min_width ] ;
    sh:targetClass gtfs:Pathway .