Ontology Version: 3.1.0

cacontology-taskforce:JointOperationShape leaf node


URI

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

Label

Joint Operation Shape

Description

Validation shape for joint operation instances.

Targets (1)

Property Constraints (2)

Focus nodes of this shape (cacontology-taskforce:JointOperation) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-taskforce:coordinationLevel Level of coordination (local, county, state, federal).
sh:message Joint operation must specify coordination level from the allowed list.
1 1 xsd:string
sh:in minimal, standard, enhanced, full_integration, unified_command
cacontology-taskforce:leadTaskForce
sh:message Joint operation must specify lead task force (3-100 characters).
1 1 xsd:string
sh:minLength 3
sh:maxLength 100

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 xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-taskforce:JointOperationShape a sh:NodeShape ;
    rdfs:label "Joint Operation Shape"@en ;
    rdfs:comment "Validation shape for joint operation instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 100 ;
            sh:message "Joint operation must specify lead task force (3-100 characters)."@en ;
            sh:minCount 1 ;
            sh:minLength 3 ;
            sh:path cacontology-taskforce:leadTaskForce ],
        [ sh:datatype xsd:string ;
            sh:in ( "minimal" "standard" "enhanced" "full_integration" "unified_command" ) ;
            sh:maxCount 1 ;
            sh:message "Joint operation must specify coordination level from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-taskforce:coordinationLevel ] ;
    sh:targetClass cacontology-taskforce:JointOperation .