Ontology Version: 2.2.0

cacontology-taskforce:TaskForceOperationShape leaf node


URI

https://cacontology.projectvic.org/taskforce#TaskForceOperationShape

Label

Task Force Operation Shape

Description

Validation shape for task force operation instances.

Shape Properties

Instances of cacontology-taskforce:TaskForceOperation can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-taskforce:TaskForceOperation
cacontology-taskforce:operationDuration 0 1 xsd:decimal
1 1 xsd:string
cacontology-taskforce:operationType 1 1 xsd:string
1 1 xsd:nonNegativeInteger
0 1 xsd:dateTime
0 1 xsd:dateTime

Implementation

@prefix cacontology-taskforce: <https://cacontology.projectvic.org/taskforce#> .
@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-taskforce:TaskForceOperationShape a sh:NodeShape ;
    rdfs:label "Task Force Operation Shape"@en ;
    rdfs:comment "Validation shape for task force operation instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "investigation" "enforcement_action" "training_exercise" "outreach_program" "prevention_initiative" "intelligence_gathering" ) ;
            sh:maxCount 1 ;
            sh:message "Task force operation must specify operation type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-taskforce:operationType ],
        [ sh:datatype xsd:string ;
            sh:in ( "local" "regional" "statewide" "multi_state" "national" "international" ) ;
            sh:maxCount 1 ;
            sh:message "Task force operation must specify operation scope from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-taskforce:operationScope ],
        [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 25 ;
            sh:message "Task force operation must have between 1 and 25 participating agencies."@en ;
            sh:minCount 1 ;
            sh:minInclusive 1 ;
            sh:path cacontology-taskforce:participatingAgencies ],
        [ 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-taskforce:operationDuration ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "Task force operation may have a start time."@en ;
            sh:minCount 0 ;
            sh:path uco-core:startTime ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "Task force operation may have an end time."@en ;
            sh:minCount 0 ;
            sh:path uco-core:endTime ] ;
    sh:targetClass cacontology-taskforce:TaskForceOperation .