Ontology Version: 2.2.0

cacontology-undercover:UndercoverOperationShape leaf node


URI

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

Label

Undercover Operation Shape

Description

Validation shape for undercover operation instances.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

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 uco-core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-undercover:UndercoverOperationShape a sh:NodeShape ;
    rdfs:label "Undercover Operation Shape"@en ;
    rdfs:comment "Validation shape for undercover operation instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "online_investigation" "physical_surveillance" "sting_operation" "long_term_infiltration" "reactive_investigation" "proactive_investigation" "joint_operation" ) ;
            sh:maxCount 1 ;
            sh:message "Undercover operation must specify operation type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-undercover:operationType ],
        [ sh:datatype xsd:string ;
            sh:in ( "low" "moderate" "high" "extreme" "critical" "unacceptable" ) ;
            sh:maxCount 1 ;
            sh:message "Undercover operation must specify risk level from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-undercover:riskLevel ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 365.0 ;
            sh:message "Operation duration must be between 1 and 365 days."@en ;
            sh:minCount 0 ;
            sh:minInclusive 1.0 ;
            sh:path cacontology-undercover:operationDuration ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "Undercover operation may have a start time."@en ;
            sh:minCount 0 ;
            sh:path uco-core:startTime ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "Undercover operation may have an end time."@en ;
            sh:minCount 0 ;
            sh:path uco-core:endTime ],
        [ sh:datatype xsd:string ;
            sh:in ( "planning" "active" "suspended" "completed" "terminated" "compromised" "under_review" ) ;
            sh:maxCount 1 ;
            sh:message "Undercover operation must specify operation status from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-undercover:operationStatus ] ;
    sh:targetClass cacontology-undercover:UndercoverOperation .