Starter contract

automotive_vehicle

16 rules · plain YAML · starts in observation mode

OpenDQV Cloud starter template (v0.1) — your tenant inherits this baseline. First customer edit creates v1.0 in your audit trail; pin by yaml_hash for replay. Automotive vehicle record validation. Enforces ISO 3779 VIN format (17-character Vehicle Identification Number, excluding ambiguous characters I, O, Q), UK vehicle registration plate format, and domain-specific allowed values for fuel type, transmission, and body type. Prevents sentinel/placeholder VINs and malformed registration numbers from entering vehicle data pipelines.

These are starting points you own. Every rule below ships in the trial, starts in observation mode, and is yours to read, edit, or delete from day one. Rules that reference a lookup list (lookup_file) validate against reference data you control in your tenant.
Rules as at 29 August 2026 — starting points you own, not a maintained regulatory feed. We correct errors in these samples; tracking regulatory change in your active contracts is yours.
RuleFieldSeverityWhat it enforces (the message your team sees)
vin_requiredvinerrorvin is required
vin_formatvinerrorvin must be a valid 17-character VIN (ISO 3779) — characters I, O and Q are not permitted (e.g. WBA3A5C55DF596249)
vin_check_digitvinwarningvin fails the ISO 3779 position-9 check digit — expected for many EU-market VINs; for North-American-market vehicles this indicates a transcription error (valid example: 1M8GDM9AXKP042788)
make_requiredmakeerrormake is required
model_requiredmodelerrormodel is required
year_rangeyearerroryear must be between 1900 and 2100
mileage_km_minmileage_kmerrormileage_km must be >= 0
mileage_km_anomalymileage_kmwarningmileage_km exceeds 500,000 km — verify this is not a data entry error or odometer rollover
fuel_type_requiredfuel_typeerrorfuel_type is required
fuel_type_valuesfuel_typeerrorfuel_type must be one of: petrol, diesel, electric, hybrid_petrol, hybrid_diesel, plug_in_hybrid_petrol, plug_in_hybrid_diesel, hydrogen, lpg, mild_hybrid_petrol, mild_hybrid_diesel
registration_requiredregistrationerrorregistration is required
registration_uk_formatregistrationwarningregistration does not match current UK plate format (AB12 CDE) — verify if this is a legacy prefix/suffix plate or personalised registration
transmission_valuestransmissionwarningtransmission must be one of: manual, automatic, semi_automatic, cvt, single_speed
body_type_valuesbody_typewarningbody_type must be one of: saloon, hatchback, estate, suv, coupe, convertible, mpv, van, pickup, minibus, motorhome
last_service_date_formatlast_service_datewarninglast_service_date must be a valid date (YYYY-MM-DD)
colour_requiredcolourwarningcolour should be provided

Run your own data against this contract in the free trial — drop a CSV in the dashboard, no code, no credit card. Start free trial →