Ontology Version: 2.2.0

cacontology-recruitment-shapes:VictimMediatedRecruitmentShape leaf node


URI

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

Label

Victim Mediated Recruitment Shape

Description

Validation shape for victim-mediated recruitment instances.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-recruitment:VictimMediatedRecruitment
cacontology-recruitment:facilitatedBy 1 1 uco-identity:Person
cacontology-recruitment:recruitmentAttempts 0 1 xsd:nonNegativeInteger
cacontology-recruitment:successfulRecruitments 0 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 uco-identity: <https://ontology.unifiedcyberontology.org/uco/identity/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-recruitment-shapes:VictimMediatedRecruitmentShape a sh:NodeShape ;
    rdfs:label "Victim Mediated Recruitment Shape"@en ;
    rdfs:comment "Validation shape for victim-mediated recruitment instances."@en ;
    sh:property [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 20 ;
            sh:message "Successful recruitments must be 0-20."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0 ;
            sh:path cacontology-recruitment:successfulRecruitments ],
        [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 100 ;
            sh:message "Recruitment attempts must be 1-100."@en ;
            sh:minCount 0 ;
            sh:minInclusive 1 ;
            sh:path cacontology-recruitment:recruitmentAttempts ],
        [ sh:class uco-identity:Person ;
            sh:maxCount 1 ;
            sh:message "Victim-mediated recruitment must specify facilitating victim."@en ;
            sh:minCount 1 ;
            sh:path cacontology-recruitment:facilitatedBy ] ;
    sh:targetClass cacontology-recruitment:VictimMediatedRecruitment .