Ontology Version: 3.1.0

cacontology-recruitment-shapes:VictimSchoolDisclosureShape leaf node


URI

https://cacontology.projectvic.org/recruitment-networks/shapes#VictimSchoolDisclosureShape

Label

Victim School Disclosure Shape

Description

Validation shape for victim school disclosure instances.

Property Constraints (1)

Focus nodes of this shape (cacontology-recruitment:VictimSchoolDisclosure) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-recruitment:receivesReport Links school staff member to report they receive from victim.
sh:message School disclosure must specify receiving staff member.
1 1 cacontology-recruitment:SchoolStaffMember

Implementation

@prefix cacontology-recruitment: <https://cacontology.projectvic.org/recruitment-networks#> .
@prefix cacontology-recruitment-shapes: <https://cacontology.projectvic.org/recruitment-networks/shapes#> .
@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-recruitment-shapes:VictimSchoolDisclosureShape a sh:NodeShape ;
    rdfs:label "Victim School Disclosure Shape"@en ;
    rdfs:comment "Validation shape for victim school disclosure instances."@en ;
    sh:property [ sh:class cacontology-recruitment:SchoolStaffMember ;
            sh:maxCount 1 ;
            sh:message "School disclosure must specify receiving staff member."@en ;
            sh:minCount 1 ;
            sh:path cacontology-recruitment:receivesReport ] ;
    sh:targetClass cacontology-recruitment:VictimSchoolDisclosure .