https://cacontology.projectvic.org/tactical#TacticalEquipmentShape
Validation shape for tactical equipment instances.
Focus nodes of this shape (cacontology-tactical:TacticalEquipment) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
cacontology-tactical:certificationRequired |
sh:message Tactical equipment must specify if certification is required. |
1 | 1 | xsd:boolean | |
cacontology-tactical:equipmentStatus |
sh:message Tactical equipment must specify equipment status from the allowed list. |
1 | 1 | xsd:string |
sh:in
available, deployed, maintenance, repair, retired, reserved
|
| cacontology-tactical:equipmentType | Category of tactical equipment. sh:message Tactical equipment must specify equipment type from the allowed list. |
1 | 1 | xsd:string |
sh:in
protective_gear, weapons, communication, surveillance, breaching_tools, medical_equipment, vehicles
|
cacontology-tactical:lastMaintenance |
sh:message Tactical equipment may specify last maintenance date. |
0 | 1 | xsd:dateTime | |
cacontology-tactical:maintenanceInterval |
sh:message Maintenance interval must be between 1 and 365 days. |
0 | 1 | xsd:decimal |
sh:minInclusive
1.0
sh:maxInclusive
365.0
|
@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 .