https://cacontology.projectvic.org/case-management#CaseDocumentationShape
Enhanced validation shape for case documentation with gUFO Object validation.
Instances of cacontology-case:CaseDocumentation can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-case:CaseDocumentation | ||||
| cacontology-case:documentStatus | 1 | 1 |
xsd:string
|
|
| cacontology-case:documentType | 1 | 1 |
xsd:string
|
|
@prefix cacontology-case: <https://cacontology.projectvic.org/case-management#> .
@prefix gufo: <http://purl.org/nemo/gufo#> .
@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-case:CaseDocumentationShape a sh:NodeShape ;
rdfs:label "Case Documentation Shape"@en ;
rdfs:comment "Enhanced validation shape for case documentation with gUFO Object validation."@en ;
sh:property [ sh:hasValue gufo:Object ;
sh:message "Case documentation must be instances of gUFO Object"@en ;
sh:path rdf:type ],
[ sh:datatype xsd:string ;
sh:in ( "case_report" "evidence_log" "interview_notes" "search_warrant" "arrest_warrant" "court_filing" "expert_report" ) ;
sh:maxCount 1 ;
sh:message "Case documentation must specify document type from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-case:documentType ],
[ sh:datatype xsd:string ;
sh:in ( "draft" "review" "approved" "filed" "sealed" "archived" "destroyed" ) ;
sh:maxCount 1 ;
sh:message "Case documentation must specify document status from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-case:documentStatus ] ;
sh:targetClass cacontology-case:CaseDocumentation .