Ontology Version: 2.3.0

cacontology-tactical:CorrectionalFacilityShape leaf node


URI

https://cacontology.projectvic.org/tactical#CorrectionalFacilityShape

Label

Correctional Facility Shape

Description

Validation shape for correctional facilities.

Shape Properties

Instances of cacontology-tactical:CorrectionalFacility can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

Implementation

@prefix cacontology-tactical: <https://cacontology.projectvic.org/tactical#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-tactical:CorrectionalFacilityShape a sh:NodeShape ;
    rdfs:label "Correctional Facility Shape"@en ;
    rdfs:comment "Validation shape for correctional facilities."@en ;
    sh:property [ sh:datatype rdf:langString ;
            sh:maxCount 1 ;
            sh:message "Correctional facility should have a label."@en ;
            sh:minCount 0 ;
            sh:path rdfs:label ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 200 ;
            sh:message "Facility name should be between 1 and 200 characters."@en ;
            sh:minCount 0 ;
            sh:minLength 1 ;
            sh:path cacontology-tactical:correctionalFacilityName ] ;
    sh:targetClass cacontology-tactical:CorrectionalFacility .