Ontology Version: 2.3.0

cacontology-undercover:MultiplePersonaOperationShape leaf node


URI

https://cacontology.projectvic.org/undercover#MultiplePersonaOperationShape

Label

Multiple Persona Operation Shape

Description

Validation shape for undercover operations using multiple minor personas.

Shape Properties

Instances of cacontology-undercover:MultiplePersonaOperation can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-undercover:MultiplePersonaOperation
cacontology-undercover:personaCount 0 1 xsd:nonNegativeInteger
cacontology-undercover:primaryPersonaAge 0 1 xsd:nonNegativeInteger
cacontology-undercover:secondaryPersonaAge 0 1 xsd:nonNegativeInteger

Implementation

@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 .