Ontology Version: 2.2.0

cacontology-prevention:SextortionEducationShape leaf node


URI

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

Label

Sextortion Education Shape

Description

Validation shape for sextortion education instances.

Shape Properties

Instances of cacontology-prevention:SextortionEducation can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-prevention:SextortionEducation
cacontology-prevention:ageGroup 1 1 xsd:string
cacontology-prevention:ChildSafetyEducation
cacontology-prevention:ageGroup 0 1 xsd:string
1 1 xsd:string
1 1 xsd:dateTime

Implementation

@prefix cacontology-prevention: <https://cacontology.projectvic.org/prevention#> .
@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-prevention:SextortionEducationShape a sh:NodeShape ;
    rdfs:label "Sextortion Education Shape"@en ;
    rdfs:comment "Validation shape for sextortion education instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "middle_school" "high_school" "young_adult" ) ;
            sh:maxCount 1 ;
            sh:message "Sextortion education must target appropriate age groups."@en ;
            sh:minCount 1 ;
            sh:path cacontology-prevention:ageGroup ] ;
    sh:targetClass cacontology-prevention:SextortionEducation .