Ontology Version: 3.1.0

cacontology-stranger:RescueOperationShape leaf node


URI

https://cacontology.projectvic.org/abduction#RescueOperationShape

Label

Rescue Operation Shape

Description

Validation shape for rescue operation instances.

Targets (1)

  • cacontology-stranger:RescueOperation sh:targetClass

Property Constraints (3)

Focus nodes of this shape (cacontology-stranger:RescueOperation) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-stranger:operationType
sh:message Rescue operation must specify operation type from the allowed list.
1 1 xsd:string
sh:in tactical_rescue, negotiated_release, stealth_operation, coordinated_assault, emergency_response, planned_operation
cacontology-stranger:riskAssessment
sh:message Rescue operation must specify risk assessment from the allowed list.
1 1 xsd:string
sh:in low_risk, moderate_risk, high_risk, extreme_risk, unknown_risk
cacontology-stranger:specializedUnits
sh:message Number of specialized units must be between 0 and 20.
0 1 xsd:nonNegativeInteger
sh:minInclusive 0
sh:maxInclusive 20

Implementation

@prefix cacontology-stranger: <https://cacontology.projectvic.org/abduction#> .
@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-stranger:RescueOperationShape a sh:NodeShape ;
    rdfs:label "Rescue Operation Shape"@en ;
    rdfs:comment "Validation shape for rescue operation instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "tactical_rescue" "negotiated_release" "stealth_operation" "coordinated_assault" "emergency_response" "planned_operation" ) ;
            sh:maxCount 1 ;
            sh:message "Rescue operation must specify operation type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-stranger:operationType ],
        [ sh:datatype xsd:string ;
            sh:in ( "low_risk" "moderate_risk" "high_risk" "extreme_risk" "unknown_risk" ) ;
            sh:maxCount 1 ;
            sh:message "Rescue operation must specify risk assessment from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-stranger:riskAssessment ],
        [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 20 ;
            sh:message "Number of specialized units must be between 0 and 20."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0 ;
            sh:path cacontology-stranger:specializedUnits ] ;
    sh:targetClass cacontology-stranger:RescueOperation .