https://cacontology.projectvic.org/undercover#MultiplePersonaOperationShape
Validation shape for undercover operations using multiple minor personas.
Focus nodes of this shape (cacontology-undercover:MultiplePersonaOperation) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-undercover:personaCount | Number of distinct minor personas used in the operation. sh:message Multiple persona operation must use between 2 and 10 personas. |
0 | 1 | xsd:nonNegativeInteger |
sh:minInclusive
2
sh:maxInclusive
10
|
| cacontology-undercover:primaryPersonaAge | Age of the primary minor persona. sh:message Primary persona age must be between 10 and 17 years old. |
0 | 1 | xsd:nonNegativeInteger |
sh:minInclusive
10
sh:maxInclusive
17
|
| cacontology-undercover:secondaryPersonaAge | Age of the secondary minor persona (e.g., younger sibling). sh:message Secondary persona age must be between 8 and 17 years old. |
0 | 1 | xsd:nonNegativeInteger |
sh:minInclusive
8
sh:maxInclusive
17
|
@prefix cacontology-undercover: <https://cacontology.projectvic.org/undercover#> .
@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-undercover:MultiplePersonaOperationShape a sh:NodeShape ;
rdfs:label "Multiple Persona Operation Shape"@en ;
rdfs:comment "Validation shape for undercover operations using multiple minor personas."@en ;
sh:property [ sh:datatype xsd:nonNegativeInteger ;
sh:maxCount 1 ;
sh:maxInclusive 10 ;
sh:message "Multiple persona operation must use between 2 and 10 personas."@en ;
sh:minCount 0 ;
sh:minInclusive 2 ;
sh:path cacontology-undercover:personaCount ],
[ sh:datatype xsd:nonNegativeInteger ;
sh:maxCount 1 ;
sh:maxInclusive 17 ;
sh:message "Primary persona age must be between 10 and 17 years old."@en ;
sh:minCount 0 ;
sh:minInclusive 10 ;
sh:path cacontology-undercover:primaryPersonaAge ],
[ sh:datatype xsd:nonNegativeInteger ;
sh:maxCount 1 ;
sh:maxInclusive 17 ;
sh:message "Secondary persona age must be between 8 and 17 years old."@en ;
sh:minCount 0 ;
sh:minInclusive 8 ;
sh:path cacontology-undercover:secondaryPersonaAge ] ;
sh:targetClass cacontology-undercover:MultiplePersonaOperation .