Ontology Version: 2.2.0

cacontology-recruitment-shapes:RecruitmentQuotaShape leaf node


URI

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

Label

Recruitment Quota Shape

Description

Validation shape for recruitment quota instances.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-recruitment:RecruitmentQuota
cacontology-recruitment:successfulRecruitments 1 1 xsd:nonNegativeInteger
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 xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-recruitment-shapes:RecruitmentQuotaShape a sh:NodeShape ;
    rdfs:label "Recruitment Quota Shape"@en ;
    rdfs:comment "Validation shape for recruitment quota instances."@en ;
    sh:property [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 10 ;
            sh:message "Recruitment quota must specify 1-10 required recruitments."@en ;
            sh:minCount 1 ;
            sh:minInclusive 1 ;
            sh:path cacontology-recruitment:successfulRecruitments ] ;
    sh:targetClass cacontology-recruitment:RecruitmentQuota .