Ontology Version: 3.1.0

cacontology-undercover:DisguiseRequestActionShape leaf node


URI

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

Label

Disguise Request Action Shape

Description

Validation shape for suspect requests for victim to wear disguise items.

Property Constraints (2)

Focus nodes of this shape (cacontology-undercover:DisguiseRequestAction) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-undercover:disguiseItemRequested Item requested for disguise (sunglasses, hat, hoodie).
sh:message May specify the disguise item requested.
0 1 xsd:string
cacontology-undercover:disguisePurpose Stated or implied purpose for disguise request (avoid_detection, conceal_identity).
sh:message Disguise purpose must be from the allowed list.
0 1 xsd:string
sh:in avoid_detection, conceal_identity, evade_witnesses, other

Implementation

@prefix cacontology-undercover: <https://cacontology.projectvic.org/undercover#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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:DisguiseRequestActionShape a sh:NodeShape ;
    rdfs:label "Disguise Request Action Shape"@en ;
    rdfs:comment "Validation shape for suspect requests for victim to wear disguise items."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:message "May specify the disguise item requested."@en ;
            sh:minCount 0 ;
            sh:path cacontology-undercover:disguiseItemRequested ],
        [ sh:datatype xsd:string ;
            sh:in ( "avoid_detection" "conceal_identity" "evade_witnesses" "other" ) ;
            sh:maxCount 1 ;
            sh:message "Disguise purpose must be from the allowed list."@en ;
            sh:minCount 0 ;
            sh:path cacontology-undercover:disguisePurpose ] ;
    sh:targetClass cacontology-undercover:DisguiseRequestAction .