https://cacontology.projectvic.org/recruitment-networks/shapes#ClassmateIntroductionShape
Validation shape for classmate introduction instances.
Instances of cacontology-recruitment:ClassmateIntroduction can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-recruitment:ClassmateIntroduction | ||||
| cacontology-recruitment:averageRecruitmentTime | 0 | 1 |
xsd:decimal
|
|
| cacontology-recruitment:introducesTo | 1 | 1 |
uco-identity:Person
|
|
| 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
|
|
@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:ClassmateIntroductionShape a sh:NodeShape ;
rdfs:label "Classmate Introduction Shape"@en ;
rdfs:comment "Validation shape for classmate introduction instances."@en ;
sh:property [ sh:class uco-identity:Person ;
sh:maxCount 1 ;
sh:message "Classmate introduction must specify who victim is introduced to."@en ;
sh:minCount 1 ;
sh:path cacontology-recruitment:introducesTo ],
[ sh:datatype xsd:decimal ;
sh:maxCount 1 ;
sh:maxInclusive 365.0 ;
sh:message "Average recruitment time must be 0.1-365 days."@en ;
sh:minCount 0 ;
sh:minInclusive 0.1 ;
sh:path cacontology-recruitment:averageRecruitmentTime ] ;
sh:targetClass cacontology-recruitment:ClassmateIntroduction .