https://cacontology.projectvic.org/taskforce#TaskForceCommanderShape
Validation shape for task force commander instances.
Focus nodes of this shape (cacontology-taskforce:TaskForceCommander) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
cacontology-taskforce:commandAuthority |
sh:message Task force commander must specify command authority from the allowed list. |
1 | 1 | xsd:string |
sh:in
operational, administrative, full_command, tactical, liaison, advisory
|
cacontology-taskforce:yearsExperience |
sh:message Task force commander must have between 1 and 40 years experience. |
1 | 1 | xsd:decimal |
sh:minInclusive
1.0
sh:maxInclusive
40.0
|
@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 .