Ontology Version: 2.2.0

cacontology-tactical:TacticalEquipmentShape leaf node


URI

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

Label

Tactical Equipment Shape

Description

Validation shape for tactical equipment instances.

Shape Properties

Instances of cacontology-tactical:TacticalEquipment can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-tactical:TacticalEquipment
1 1 xsd:boolean
1 1 xsd:string
cacontology-tactical:equipmentType 1 1 xsd:string
0 1 xsd:dateTime
0 1 xsd:decimal

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:TacticalEquipmentShape a sh:NodeShape ;
    rdfs:label "Tactical Equipment Shape"@en ;
    rdfs:comment "Validation shape for tactical equipment instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "protective_gear" "weapons" "communication" "surveillance" "breaching_tools" "medical_equipment" "vehicles" ) ;
            sh:maxCount 1 ;
            sh:message "Tactical equipment must specify equipment type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-tactical:equipmentType ],
        [ sh:datatype xsd:string ;
            sh:in ( "available" "deployed" "maintenance" "repair" "retired" "reserved" ) ;
            sh:maxCount 1 ;
            sh:message "Tactical equipment must specify equipment status from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-tactical:equipmentStatus ],
        [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:message "Tactical equipment must specify if certification is required."@en ;
            sh:minCount 1 ;
            sh:path cacontology-tactical:certificationRequired ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 365.0 ;
            sh:message "Maintenance interval must be between 1 and 365 days."@en ;
            sh:minCount 0 ;
            sh:minInclusive 1.0 ;
            sh:path cacontology-tactical:maintenanceInterval ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "Tactical equipment may specify last maintenance date."@en ;
            sh:minCount 0 ;
            sh:path cacontology-tactical:lastMaintenance ] ;
    sh:targetClass cacontology-tactical:TacticalEquipment .