gtfs:LevelShape leaf node


URI

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

Label

LevelShape

Target Classes (1)

Shape Properties

Instances of gtfs:Level can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

gtfs:Level
gtfs:level_id 1 xsd:string
gtfs:level_index 1 xsd:decimal
gtfs:level_name xsd:string

Implementation

@prefix gtfs: <http://ontology.gtfs.org/reference#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

gtfs:LevelShape a sh:NodeShape ;
    sh:property [ sh:datatype xsd:string ;
            sh:minCount 1 ;
            sh:path gtfs:level_id ],
        [ sh:datatype xsd:decimal ;
            sh:minCount 1 ;
            sh:path gtfs:level_index ],
        [ sh:datatype xsd:string ;
            sh:path gtfs:level_name ] ;
    sh:targetClass gtfs:Level .