Ontology Version: 2.2.0

cacontology-taskforce:TaskForceCommanderShape leaf node


URI

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

Label

Task Force Commander Shape

Description

Validation shape for task force commander instances.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-taskforce:TaskForceMember
cacontology-taskforce:memberRole 1 1 xsd:string
0 1 xsd:dateTime
1 1 xsd:dateTime
1 1 xsd:string
0 1 xsd:string
1 1 xsd:boolean

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:TaskForceCommanderShape a sh:NodeShape ;
    rdfs:label "Task Force Commander Shape"@en ;
    rdfs:comment "Validation shape for task force commander instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "operational" "administrative" "full_command" "tactical" "liaison" "advisory" ) ;
            sh:maxCount 1 ;
            sh:message "Task force commander must specify command authority from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-taskforce:commandAuthority ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 40.0 ;
            sh:message "Task force commander must have between 1 and 40 years experience."@en ;
            sh:minCount 1 ;
            sh:minInclusive 1.0 ;
            sh:path cacontology-taskforce:yearsExperience ] ;
    sh:targetClass cacontology-taskforce:TaskForceCommander .