Ontology Version: 3.0.0

cacontology-physical-shapes:SuspectVehicleShape leaf node


URI

https://cacontology.projectvic.org/physical/shapes#SuspectVehicleShape

Label

Suspect Vehicle Shape

Description

Validation shape for suspect vehicles used in CAC offenses.

Shape Properties

Instances of cacontology-physical:SuspectVehicle can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-physical:SuspectVehicle
cacontology-physical:registeredToSuspect 0 1 xsd:boolean
cacontology-physical:usedInOffense 0 1 xsd:boolean
cacontology-physical:vehicleColor 0 1 xsd:string
cacontology-physical:vehicleLicensePlate 0 1 xsd:string
cacontology-physical:vehicleMake 0 1 xsd:string
cacontology-physical:vehicleModel 0 1 xsd:string
cacontology-physical:vehicleVIN 0 1 xsd:string
cacontology-physical:vehicleYear 0 1 xsd:nonNegativeInteger
0 1 rdf:langString
cacontology-physical:PhysicalEvidence
1 1 xsd:dateTime
1 1 xsd:string
1 1 xsd:string
1 1 xsd:string
1 1 xsd:string
1 1 xsd:string
cacontology-physical:evidenceType 1 1 xsd:string
cacontology-physical:hasContaminationLevel 1 xsd:double
cacontology-physical:hasEvidenceBeginPoint 1 xsd:dateTimeStamp
cacontology-physical:hasEvidenceEndPoint 1 xsd:dateTimeStamp
cacontology-physical:hasEvidenceIntegrity 1 xsd:string
cacontology-physical:hasEvidenceReliability 1 xsd:double
cacontology-physical:hasForensicValue 1 xsd:string
cacontology-physical:hasPreservationQuality 1 xsd:string

Implementation

@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 .