Ontology Version: 2.2.0

cacontology-registry:VehicleInformationShape leaf node


URI

https://cacontology.projectvic.org/sex-offender-registry#VehicleInformationShape

Label

Vehicle Information Shape

Description

Validation shape for vehicle information instances.

Shape Properties

Instances of cacontology-registry:VehicleInformation can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

Implementation

@prefix cacontology-registry: <https://cacontology.projectvic.org/sex-offender-registry#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix uco-observable: <https://ontology.unifiedcyberontology.org/uco/observable/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-registry:VehicleInformationShape a sh:NodeShape ;
    rdfs:label "Vehicle Information Shape"@en ;
    rdfs:comment "Validation shape for vehicle information instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 50 ;
            sh:message "Vehicle must specify make (2-50 characters)."@en ;
            sh:minCount 1 ;
            sh:minLength 2 ;
            sh:path uco-observable:make ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 50 ;
            sh:message "Vehicle must specify model (1-50 characters)."@en ;
            sh:minCount 1 ;
            sh:minLength 1 ;
            sh:path uco-observable:model ],
        [ sh:datatype xsd:integer ;
            sh:maxCount 1 ;
            sh:maxInclusive 2030 ;
            sh:message "Vehicle year must be between 1900 and 2030 when specified."@en ;
            sh:minCount 0 ;
            sh:minInclusive 1900 ;
            sh:path uco-observable:year ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 15 ;
            sh:message "License plate should be 2-15 characters when specified."@en ;
            sh:minCount 0 ;
            sh:minLength 2 ;
            sh:path uco-observable:licensePlate ] ;
    sh:targetClass cacontology-registry:VehicleInformation .