https://cacontology.projectvic.org/street#VictimReportingShape
Validation shape for victim reporting instances.
Instances of cacontology-street:VictimReporting can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-street:VictimReporting | ||||
| cacontology-street:reportingDelay | 0 | 1 |
xsd:decimal
|
|
| cacontology-street:reportingMethod | 0 | 1 |
xsd:string
|
|
| cacontology-street:VictimStreetResponse | ||||
| cacontology-street:responseType | 0 | 1 |
xsd:string
|
|
@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 .