https://cacontology.projectvic.org/undercover#OperationTerminationShape
Validation shape for operation termination instances.
@prefix cacontology-undercover: <https://cacontology.projectvic.org/undercover#> .
@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-undercover:OperationTerminationShape a sh:NodeShape ;
rdfs:label "Operation Termination Shape"@en ;
rdfs:comment "Validation shape for operation termination instances."@en ;
sh:property [ sh:datatype xsd:string ;
sh:in ( "objective_achieved" "evidence_sufficient" "operation_compromised" "safety_concern" "legal_issue" "resource_constraint" "time_limit" ) ;
sh:maxCount 1 ;
sh:message "Operation termination must specify termination reason from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-undercover:terminationReason ],
[ sh:datatype xsd:string ;
sh:in ( "planned" "emergency" "gradual" "immediate" "phased" "suspended" ) ;
sh:maxCount 1 ;
sh:message "Operation termination must specify termination type from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-undercover:terminationType ],
[ sh:datatype xsd:boolean ;
sh:maxCount 1 ;
sh:message "Operation termination must specify if evidence is secured."@en ;
sh:minCount 1 ;
sh:path cacontology-undercover:evidenceSecured ],
[ sh:datatype xsd:boolean ;
sh:maxCount 1 ;
sh:message "Operation termination must specify if identity is retired."@en ;
sh:minCount 1 ;
sh:path cacontology-undercover:identityRetirement ],
[ sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
sh:message "Operation termination must specify termination date."@en ;
sh:minCount 1 ;
sh:path cacontology-undercover:terminationDate ] ;
sh:targetClass cacontology-undercover:OperationTermination .