https://cacontology.projectvic.org/tactical#CorrectionalFacilityShape
Validation shape for correctional facilities.
Focus nodes of this shape (cacontology-tactical:CorrectionalFacility) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
cacontology-tactical:correctionalFacilityName |
sh:message Facility name should be between 1 and 200 characters. |
0 | 1 | xsd:string |
sh:minLength
1
sh:maxLength
200
|
rdfs:label |
sh:message Correctional facility should have a label. |
0 | 1 | rdf:langString |
@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 .