https://cacontology.projectvic.org/street#VictimReportingShape
Validation shape for victim reporting instances.
Focus nodes of this shape (cacontology-street:VictimReporting) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-street:reportingDelay | Time delay between incident and reporting in hours. sh:message Reporting delay must be a non-negative decimal value in hours. |
0 | 1 | xsd:decimal |
sh:minInclusive
0.0
|
| cacontology-street:reportingMethod | Method used for reporting (police_call, in_person, third_party). sh:message Reporting method must be police_call, in_person, or third_party. |
0 | 1 | xsd:string |
sh:in
police_call, in_person, third_party
|
@prefix cacontology-street: <https://cacontology.projectvic.org/street#> .
@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-street:VictimReportingShape a sh:NodeShape ;
rdfs:label "Victim Reporting Shape"@en ;
rdfs:comment "Validation shape for victim reporting instances."@en ;
sh:property [ sh:datatype xsd:decimal ;
sh:maxCount 1 ;
sh:message "Reporting delay must be a non-negative decimal value in hours."@en ;
sh:minCount 0 ;
sh:minInclusive 0.0 ;
sh:path cacontology-street:reportingDelay ],
[ sh:datatype xsd:string ;
sh:in ( "police_call" "in_person" "third_party" ) ;
sh:maxCount 1 ;
sh:message "Reporting method must be police_call, in_person, or third_party."@en ;
sh:minCount 0 ;
sh:path cacontology-street:reportingMethod ] ;
sh:targetClass cacontology-street:VictimReporting .