Ontology Version: 3.1.0

cacontology-prevention:SchoolSafetyProgramShape leaf node


URI

https://cacontology.projectvic.org/prevention#SchoolSafetyProgramShape

Label

School Safety Program Shape

Description

Validation shape for school safety program instances.

Targets (1)

Property Constraints (1)

Focus nodes of this shape (cacontology-prevention:SchoolSafetyProgram) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
uco-core:name
sh:message School safety program must have a name (5-200 characters).
1 1 xsd:string
sh:minLength 5
sh:maxLength 200

Implementation

@prefix cacontology-prevention: <https://cacontology.projectvic.org/prevention#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix uco-core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-prevention:SchoolSafetyProgramShape a sh:NodeShape ;
    rdfs:label "School Safety Program Shape"@en ;
    rdfs:comment "Validation shape for school safety program instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 200 ;
            sh:message "School safety program must have a name (5-200 characters)."@en ;
            sh:minCount 1 ;
            sh:minLength 5 ;
            sh:path uco-core:name ] ;
    sh:targetClass cacontology-prevention:SchoolSafetyProgram .