gtfs:StopShape leaf node


URI

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

Label

StopShape

Target Classes (1)

Shape Properties

Instances of gtfs:Stop can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

gtfs:Stop
gtfs:level_id xsd:string
gtfs:location_type xsd:integer
gtfs:parent_station xsd:string
gtfs:platform_code xsd:string
gtfs:stop_access xsd:integer
gtfs:stop_code xsd:string
gtfs:stop_desc xsd:string
gtfs:stop_id 1 xsd:string
gtfs:stop_lat xsd:decimal
gtfs:stop_lon xsd:decimal
gtfs:stop_name xsd:string
gtfs:stop_timezone xsd:string
gtfs:stop_url
gtfs:tts_stop_name xsd:string
gtfs:wheelchair_boarding xsd:integer
gtfs:zone_id xsd:string

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:StopShape a sh:NodeShape ;
    sh:property [ sh:datatype xsd:string ;
            sh:minCount 1 ;
            sh:path gtfs:stop_id ],
        [ sh:datatype xsd:string ;
            sh:path gtfs:stop_code ],
        [ sh:datatype xsd:string ;
            sh:path gtfs:stop_name ],
        [ sh:datatype xsd:string ;
            sh:path gtfs:tts_stop_name ],
        [ sh:datatype xsd:string ;
            sh:path gtfs:stop_desc ],
        [ sh:datatype xsd:decimal ;
            sh:maxInclusive 90.0 ;
            sh:minInclusive -90.0 ;
            sh:path gtfs:stop_lat ],
        [ sh:datatype xsd:decimal ;
            sh:maxInclusive 180.0 ;
            sh:minInclusive -180.0 ;
            sh:path gtfs:stop_lon ],
        [ sh:datatype xsd:string ;
            sh:path gtfs:zone_id ],
        [ sh:nodeKind sh:IRI ;
            sh:path gtfs:stop_url ],
        [ sh:datatype xsd:integer ;
            sh:in ( 0 1 2 3 4 ) ;
            sh:path gtfs:location_type ],
        [ sh:datatype xsd:string ;
            sh:path gtfs:parent_station ],
        [ sh:datatype xsd:string ;
            sh:path gtfs:stop_timezone ],
        [ sh:datatype xsd:integer ;
            sh:in ( 0 1 2 ) ;
            sh:path gtfs:wheelchair_boarding ],
        [ sh:datatype xsd:string ;
            sh:path gtfs:level_id ],
        [ sh:datatype xsd:string ;
            sh:path gtfs:platform_code ],
        [ sh:datatype xsd:integer ;
            sh:in ( 0 1 ) ;
            sh:path gtfs:stop_access ] ;
    sh:targetClass gtfs:Stop .