https://cacontology.projectvic.org/tactical#PostOperationReportShape
Validation shape for post operation report instances.
@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:PostOperationReportShape a sh:NodeShape ;
rdfs:label "Post Operation Report Shape"@en ;
rdfs:comment "Validation shape for post operation report instances."@en ;
sh:property [ sh:datatype xsd:string ;
sh:in ( "after_action_report" "incident_report" "use_of_force_report" "injury_report" "equipment_report" "lessons_learned" ) ;
sh:maxCount 1 ;
sh:message "Post operation report must specify report type from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-tactical:reportType ],
[ sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
sh:message "Post operation report must specify report date."@en ;
sh:minCount 1 ;
sh:path cacontology-tactical:reportDate ],
[ sh:datatype xsd:boolean ;
sh:maxCount 1 ;
sh:message "Post operation report must specify if objectives were achieved."@en ;
sh:minCount 1 ;
sh:path cacontology-tactical:objectivesAchieved ],
[ sh:datatype xsd:nonNegativeInteger ;
sh:maxCount 1 ;
sh:maxInclusive 50 ;
sh:message "Number of recommendations must be between 0 and 50."@en ;
sh:minCount 0 ;
sh:minInclusive 0 ;
sh:path cacontology-tactical:recommendationsCount ] ;
sh:targetClass cacontology-tactical:PostOperationReport .