From deb14f3db6c79946ffd57d0543da7b5a549aef0c Mon Sep 17 00:00:00 2001 From: "Kostadin Ivanov (BD/TBC-BG)" Date: Mon, 28 Oct 2024 18:30:34 +0200 Subject: [PATCH] Add RegExp pattern for VehicleIdentification.VIN property. Signed-off-by: Kostadin Ivanov (BD/TBC-BG) --- spec/Vehicle/Vehicle.vspec | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/Vehicle/Vehicle.vspec b/spec/Vehicle/Vehicle.vspec index 85de298b..37aa5af3 100644 --- a/spec/Vehicle/Vehicle.vspec +++ b/spec/Vehicle/Vehicle.vspec @@ -55,6 +55,7 @@ VehicleIdentification.VIN: datatype: string type: attribute description: 17-character Vehicle Identification Number (VIN) as defined by ISO 3779. + pattern: ^([0-9A-HJ-NPR-Z]{3})([0-9A-HJ-NPR-Z]{6})([0-9A-HJ-NPR-Z]{4}[0-9]{4})$ VehicleIdentification.WMI: datatype: string