gtfs:TranslationShape leaf node


URI

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

Label

TranslationShape

Target Classes (1)

Shape Properties

Instances of gtfs:Translation can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

gtfs:Translation
gtfs:field_name 1 xsd:string
gtfs:language 1 xsd:string
gtfs:table_name 1 xsd:string
gtfs:translation 1 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:TranslationShape a sh:NodeShape ;
    sh:property [ sh:datatype xsd:string ;
            sh:minCount 1 ;
            sh:path gtfs:table_name ],
        [ sh:datatype xsd:string ;
            sh:minCount 1 ;
            sh:path gtfs:field_name ],
        [ sh:datatype xsd:string ;
            sh:minCount 1 ;
            sh:path gtfs:language ],
        [ sh:datatype xsd:string ;
            sh:minCount 1 ;
            sh:path gtfs:translation ] ;
    sh:targetClass gtfs:Translation .