From 875bad7470845c8e0f1a28dacabf3905d34d49b3 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 24 Nov 2023 16:37:11 +0000 Subject: [PATCH] implements additionalInformation to schema --- json-definitions/iva/defects/get/index.json | 9 +++++++++ json-schemas/iva/defects/get/index.json | 11 +++++++++++ types/iva/defects/get/index.d.ts | 3 +++ 3 files changed, 23 insertions(+) diff --git a/json-definitions/iva/defects/get/index.json b/json-definitions/iva/defects/get/index.json index ebbc4f9c..384d7d03 100644 --- a/json-definitions/iva/defects/get/index.json +++ b/json-definitions/iva/defects/get/index.json @@ -73,6 +73,15 @@ } } } + }, + "additionalInformation": { + "type": "object", + "additionalProperties" : false, + "properties": { + "notes" : { + "type" : ["string"] + } + } } } } diff --git a/json-schemas/iva/defects/get/index.json b/json-schemas/iva/defects/get/index.json index 6636f02a..f86a0d7c 100644 --- a/json-schemas/iva/defects/get/index.json +++ b/json-schemas/iva/defects/get/index.json @@ -140,6 +140,17 @@ } } } + }, + "additionalInformation": { + "type": "object", + "additionalProperties": false, + "properties": { + "notes": { + "type": [ + "string" + ] + } + } } } } \ No newline at end of file diff --git a/types/iva/defects/get/index.d.ts b/types/iva/defects/get/index.d.ts index 14790efd..02b09576 100644 --- a/types/iva/defects/get/index.d.ts +++ b/types/iva/defects/get/index.d.ts @@ -20,6 +20,9 @@ export interface DefectGETIVA { additionalInfo: boolean; inspectionTypes: InspectionType[]; }[]; + additionalInformation?: { + notes?: string; + }; } export enum EUVehicleCategory {