https://cacontology.projectvic.org/physical/shapes#SuspectVehicleShape
Validation shape for suspect vehicles used in CAC offenses.
Focus nodes of this shape (cacontology-physical:SuspectVehicle) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-physical:registeredToSuspect | Whether the vehicle is registered to the suspect. sh:message May specify if vehicle is registered to suspect. |
0 | 1 | xsd:boolean | |
| cacontology-physical:usedInOffense | Whether the vehicle was used in the commission of the offense. sh:message May specify if vehicle was used in offense. |
0 | 1 | xsd:boolean | |
| cacontology-physical:vehicleColor | Exterior color of the vehicle (e.g., 'white'). sh:message May specify the vehicle color. |
0 | 1 | xsd:string | |
| cacontology-physical:vehicleLicensePlate | License plate number of the vehicle. sh:message License plate should be between 1 and 20 characters. |
0 | 1 | xsd:string |
sh:minLength
1
sh:maxLength
20
|
| cacontology-physical:vehicleMake | Manufacturer of the vehicle (e.g., 'Toyota'). sh:message Vehicle make should be between 1 and 50 characters. |
0 | 1 | xsd:string |
sh:minLength
1
sh:maxLength
50
|
| cacontology-physical:vehicleModel | Model of the vehicle (e.g., 'Corolla'). sh:message Vehicle model should be between 1 and 50 characters. |
0 | 1 | xsd:string |
sh:minLength
1
sh:maxLength
50
|
| cacontology-physical:vehicleVIN | Vehicle Identification Number. sh:message VIN must be exactly 17 alphanumeric characters (no I, O, Q). |
0 | 1 | xsd:string |
sh:pattern
^[A-HJ-NPR-Z0-9]{17}$
|
| cacontology-physical:vehicleYear | Model year of the vehicle (e.g., 2015). sh:message Vehicle year must be between 1900 and 2030. |
0 | 1 | xsd:nonNegativeInteger |
sh:minInclusive
1900
sh:maxInclusive
2030
|
rdfs:label |
sh:message Suspect vehicle should have a label. |
0 | 1 | rdf:langString |
@prefix cacontology-physical: <https://cacontology.projectvic.org/physical#> .
@prefix cacontology-physical-shapes: <https://cacontology.projectvic.org/physical/shapes#> .
@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-physical-shapes:SuspectVehicleShape a sh:NodeShape ;
rdfs:label "Suspect Vehicle Shape"@en ;
rdfs:comment "Validation shape for suspect vehicles used in CAC offenses."@en ;
sh:property [ sh:datatype rdf:langString ;
sh:maxCount 1 ;
sh:message "Suspect vehicle should have a label."@en ;
sh:minCount 0 ;
sh:path rdfs:label ],
[ sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:maxLength 50 ;
sh:message "Vehicle make should be between 1 and 50 characters."@en ;
sh:minCount 0 ;
sh:minLength 1 ;
sh:path cacontology-physical:vehicleMake ],
[ sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:maxLength 50 ;
sh:message "Vehicle model should be between 1 and 50 characters."@en ;
sh:minCount 0 ;
sh:minLength 1 ;
sh:path cacontology-physical:vehicleModel ],
[ sh:datatype xsd:nonNegativeInteger ;
sh:maxCount 1 ;
sh:maxInclusive 2030 ;
sh:message "Vehicle year must be between 1900 and 2030."@en ;
sh:minCount 0 ;
sh:minInclusive 1900 ;
sh:path cacontology-physical:vehicleYear ],
[ sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:message "May specify the vehicle color."@en ;
sh:minCount 0 ;
sh:path cacontology-physical:vehicleColor ],
[ sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:maxLength 20 ;
sh:message "License plate should be between 1 and 20 characters."@en ;
sh:minCount 0 ;
sh:minLength 1 ;
sh:path cacontology-physical:vehicleLicensePlate ],
[ sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:message "VIN must be exactly 17 alphanumeric characters (no I, O, Q)."@en ;
sh:minCount 0 ;
sh:path cacontology-physical:vehicleVIN ;
sh:pattern "^[A-HJ-NPR-Z0-9]{17}$" ],
[ sh:datatype xsd:boolean ;
sh:maxCount 1 ;
sh:message "May specify if vehicle is registered to suspect."@en ;
sh:minCount 0 ;
sh:path cacontology-physical:registeredToSuspect ],
[ sh:datatype xsd:boolean ;
sh:maxCount 1 ;
sh:message "May specify if vehicle was used in offense."@en ;
sh:minCount 0 ;
sh:path cacontology-physical:usedInOffense ] ;
sh:targetClass cacontology-physical:SuspectVehicle .