Ontology Version: 3.1.0

cacontology-tactical:ProtectiveGearShape leaf node


URI

https://cacontology.projectvic.org/tactical#ProtectiveGearShape

Label

Protective Gear Shape

Description

Validation shape for protective gear instances.

Targets (1)

Property Constraints (3)

Focus nodes of this shape (cacontology-tactical:ProtectiveGear) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-tactical:gearType
sh:message Protective gear must specify gear type from the allowed list.
1 1 xsd:string
sh:in body_armor, helmet, shield, gas_mask, eye_protection, complete_suit
cacontology-tactical:protectionLevel
sh:message Protective gear must specify protection level from the allowed list.
1 1 xsd:string
sh:in level_i, level_ii, level_iii, level_iv, specialized, custom
cacontology-tactical:threatProtection
sh:message Protective gear must specify threat protection from the allowed list.
1 1 xsd:string
sh:in ballistic, stab_resistant, chemical, biological, explosive, multi_threat

Implementation

@prefix cacontology-tactical: <https://cacontology.projectvic.org/tactical#> .
@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-tactical:ProtectiveGearShape a sh:NodeShape ;
    rdfs:label "Protective Gear Shape"@en ;
    rdfs:comment "Validation shape for protective gear instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "level_i" "level_ii" "level_iii" "level_iv" "specialized" "custom" ) ;
            sh:maxCount 1 ;
            sh:message "Protective gear must specify protection level from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-tactical:protectionLevel ],
        [ sh:datatype xsd:string ;
            sh:in ( "body_armor" "helmet" "shield" "gas_mask" "eye_protection" "complete_suit" ) ;
            sh:maxCount 1 ;
            sh:message "Protective gear must specify gear type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-tactical:gearType ],
        [ sh:datatype xsd:string ;
            sh:in ( "ballistic" "stab_resistant" "chemical" "biological" "explosive" "multi_threat" ) ;
            sh:maxCount 1 ;
            sh:message "Protective gear must specify threat protection from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-tactical:threatProtection ] ;
    sh:targetClass cacontology-tactical:ProtectiveGear .