Ontology Version: 2.2.0

cacontology-recruitment-shapes:ClassmateRecruitmentNetworkShape leaf node


URI

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

Label

Classmate Recruitment Network Shape

Description

Validation shape for classmate recruitment network instances.

Shape Properties

Instances of cacontology-recruitment:ClassmateRecruitmentNetwork can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-recruitment:ClassmateRecruitmentNetwork
cacontology-recruitment:schoolsInvolved 1 1 xsd:nonNegativeInteger
cacontology-recruitment:targetsSchool 1 cacontology-recruitment:EducationalInstitution
cacontology-recruitment:PeerRecruitmentNetwork
cacontology-recruitment:includesRecruitingVictim 1 uco-identity:Person
cacontology-recruitment:networkSize 1 1 xsd:nonNegativeInteger
cacontology-recruitment:victimRecruitersCount 1 1 xsd:nonNegativeInteger

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:ClassmateRecruitmentNetworkShape a sh:NodeShape ;
    rdfs:label "Classmate Recruitment Network Shape"@en ;
    rdfs:comment "Validation shape for classmate recruitment network instances."@en ;
    sh:property [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 10 ;
            sh:message "Classmate recruitment network must involve 1-10 schools."@en ;
            sh:minCount 1 ;
            sh:minInclusive 1 ;
            sh:path cacontology-recruitment:schoolsInvolved ],
        [ sh:class cacontology-recruitment:EducationalInstitution ;
            sh:message "Classmate recruitment network must target at least one school."@en ;
            sh:minCount 1 ;
            sh:path cacontology-recruitment:targetsSchool ] ;
    sh:targetClass cacontology-recruitment:ClassmateRecruitmentNetwork .