From 1828ee2972a58ec730c9c1886fdccfb36c0a87b2 Mon Sep 17 00:00:00 2001 From: Thomas Crawley Date: Fri, 8 Dec 2023 10:33:13 +0000 Subject: [PATCH] patch(cb2-9746): Convert additional examiner notes to object array (#153) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .../tech-record/get/hgv/complete/index.json | 33 +++++++++++++++++-- .../tech-record/get/hgv/skeleton/index.json | 33 +++++++++++++++++-- .../tech-record/get/hgv/testable/index.json | 33 +++++++++++++++++-- .../tech-record/get/lgv/complete/index.json | 33 +++++++++++++++++-- .../tech-record/get/lgv/skeleton/index.json | 33 +++++++++++++++++-- .../tech-record/get/trl/complete/index.json | 33 +++++++++++++++++-- .../tech-record/get/trl/skeleton/index.json | 33 +++++++++++++++++-- .../tech-record/get/trl/testable/index.json | 33 +++++++++++++++++-- .../tech-record/put/hgv/complete/index.json | 33 +++++++++++++++++-- .../tech-record/put/hgv/skeleton/index.json | 33 +++++++++++++++++-- .../tech-record/put/hgv/testable/index.json | 33 +++++++++++++++++-- .../tech-record/put/lgv/complete/index.json | 33 +++++++++++++++++-- .../tech-record/put/lgv/skeleton/index.json | 33 +++++++++++++++++-- .../tech-record/put/trl/complete/index.json | 33 +++++++++++++++++-- .../tech-record/put/trl/skeleton/index.json | 33 +++++++++++++++++-- .../tech-record/put/trl/testable/index.json | 33 +++++++++++++++++-- .../tech-record/get/hgv/complete/index.json | 33 +++++++++++++++++-- .../tech-record/get/hgv/skeleton/index.json | 33 +++++++++++++++++-- .../tech-record/get/hgv/testable/index.json | 33 +++++++++++++++++-- .../tech-record/get/lgv/complete/index.json | 33 +++++++++++++++++-- .../tech-record/get/lgv/skeleton/index.json | 33 +++++++++++++++++-- .../tech-record/get/trl/complete/index.json | 33 +++++++++++++++++-- .../tech-record/get/trl/skeleton/index.json | 33 +++++++++++++++++-- .../tech-record/get/trl/testable/index.json | 33 +++++++++++++++++-- .../tech-record/put/hgv/complete/index.json | 33 +++++++++++++++++-- .../tech-record/put/hgv/skeleton/index.json | 33 +++++++++++++++++-- .../tech-record/put/hgv/testable/index.json | 33 +++++++++++++++++-- .../tech-record/put/lgv/complete/index.json | 33 +++++++++++++++++-- .../tech-record/put/lgv/skeleton/index.json | 33 +++++++++++++++++-- .../tech-record/put/trl/complete/index.json | 33 +++++++++++++++++-- .../tech-record/put/trl/skeleton/index.json | 33 +++++++++++++++++-- .../tech-record/put/trl/testable/index.json | 33 +++++++++++++++++-- package-lock.json | 4 +-- package.json | 2 +- .../tech-record/get/hgv/complete/index.d.ts | 7 +++- .../tech-record/get/hgv/skeleton/index.d.ts | 7 +++- .../tech-record/get/hgv/testable/index.d.ts | 7 +++- .../tech-record/get/lgv/complete/index.d.ts | 7 +++- .../tech-record/get/lgv/skeleton/index.d.ts | 7 +++- .../tech-record/get/trl/complete/index.d.ts | 7 +++- .../tech-record/get/trl/skeleton/index.d.ts | 7 +++- .../tech-record/get/trl/testable/index.d.ts | 7 +++- .../tech-record/put/hgv/complete/index.d.ts | 7 +++- .../tech-record/put/hgv/skeleton/index.d.ts | 7 +++- .../tech-record/put/hgv/testable/index.d.ts | 7 +++- .../tech-record/put/lgv/complete/index.d.ts | 7 +++- .../tech-record/put/lgv/skeleton/index.d.ts | 7 +++- .../tech-record/put/trl/complete/index.d.ts | 7 +++- .../tech-record/put/trl/skeleton/index.d.ts | 7 +++- .../tech-record/put/trl/testable/index.d.ts | 7 +++- 50 files changed, 1091 insertions(+), 83 deletions(-) diff --git a/json-definitions/v3/tech-record/get/hgv/complete/index.json b/json-definitions/v3/tech-record/get/hgv/complete/index.json index 5229fab1..607e2fc4 100644 --- a/json-definitions/v3/tech-record/get/hgv/complete/index.json +++ b/json-definitions/v3/tech-record/get/hgv/complete/index.json @@ -111,10 +111,39 @@ }, "techRecord_adrDetails_additionalExaminerNotes": { "type": [ - "string", + "array", "null" ], - "maxLength": 1024 + "items": { + "title": "Additional Examiner Notes", + "additionalProperties": false, + "properties": { + "note": { + "type": [ + "string", + "null" + ], + "maxLength": 1024 + }, + "createdAtDate": { + "anyOf": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "null" + } + ] + }, + "lastUpdatedBy": { + "type": [ + "string", + "null" + ] + } + } + } }, "techRecord_adrDetails_applicantDetails_name": { "type": [ diff --git a/json-definitions/v3/tech-record/get/hgv/skeleton/index.json b/json-definitions/v3/tech-record/get/hgv/skeleton/index.json index e008a72a..0e0327ee 100644 --- a/json-definitions/v3/tech-record/get/hgv/skeleton/index.json +++ b/json-definitions/v3/tech-record/get/hgv/skeleton/index.json @@ -81,10 +81,39 @@ }, "techRecord_adrDetails_additionalExaminerNotes": { "type": [ - "string", + "array", "null" ], - "maxLength": 1024 + "items": { + "title": "Additional Examiner Notes", + "additionalProperties": false, + "properties": { + "note": { + "type": [ + "string", + "null" + ], + "maxLength": 1024 + }, + "createdAtDate": { + "anyOf": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "null" + } + ] + }, + "lastUpdatedBy": { + "type": [ + "string", + "null" + ] + } + } + } }, "techRecord_adrDetails_applicantDetails_name": { "type": [ diff --git a/json-definitions/v3/tech-record/get/hgv/testable/index.json b/json-definitions/v3/tech-record/get/hgv/testable/index.json index 51227f18..5834ec67 100644 --- a/json-definitions/v3/tech-record/get/hgv/testable/index.json +++ b/json-definitions/v3/tech-record/get/hgv/testable/index.json @@ -85,10 +85,39 @@ }, "techRecord_adrDetails_additionalExaminerNotes": { "type": [ - "string", + "array", "null" ], - "maxLength": 1024 + "items": { + "title": "Additional Examiner Notes", + "additionalProperties": false, + "properties": { + "note": { + "type": [ + "string", + "null" + ], + "maxLength": 1024 + }, + "createdAtDate": { + "anyOf": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "null" + } + ] + }, + "lastUpdatedBy": { + "type": [ + "string", + "null" + ] + } + } + } }, "techRecord_adrDetails_applicantDetails_name": { "type": [ diff --git a/json-definitions/v3/tech-record/get/lgv/complete/index.json b/json-definitions/v3/tech-record/get/lgv/complete/index.json index 9868d452..2781f6a1 100644 --- a/json-definitions/v3/tech-record/get/lgv/complete/index.json +++ b/json-definitions/v3/tech-record/get/lgv/complete/index.json @@ -116,10 +116,39 @@ }, "techRecord_adrDetails_additionalExaminerNotes": { "type": [ - "string", + "array", "null" ], - "maxLength": 1024 + "items": { + "title": "Additional Examiner Notes", + "additionalProperties": false, + "properties": { + "note": { + "type": [ + "string", + "null" + ], + "maxLength": 1024 + }, + "createdAtDate": { + "anyOf": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "null" + } + ] + }, + "lastUpdatedBy": { + "type": [ + "string", + "null" + ] + } + } + } }, "techRecord_adrDetails_applicantDetails_name": { "type": [ diff --git a/json-definitions/v3/tech-record/get/lgv/skeleton/index.json b/json-definitions/v3/tech-record/get/lgv/skeleton/index.json index 55443386..2316b8bb 100644 --- a/json-definitions/v3/tech-record/get/lgv/skeleton/index.json +++ b/json-definitions/v3/tech-record/get/lgv/skeleton/index.json @@ -113,10 +113,39 @@ }, "techRecord_adrDetails_additionalExaminerNotes": { "type": [ - "string", + "array", "null" ], - "maxLength": 1024 + "items": { + "title": "Additional Examiner Notes", + "additionalProperties": false, + "properties": { + "note": { + "type": [ + "string", + "null" + ], + "maxLength": 1024 + }, + "createdAtDate": { + "anyOf": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "null" + } + ] + }, + "lastUpdatedBy": { + "type": [ + "string", + "null" + ] + } + } + } }, "techRecord_adrDetails_applicantDetails_name": { "type": [ diff --git a/json-definitions/v3/tech-record/get/trl/complete/index.json b/json-definitions/v3/tech-record/get/trl/complete/index.json index f0e7fa79..08799ad1 100644 --- a/json-definitions/v3/tech-record/get/trl/complete/index.json +++ b/json-definitions/v3/tech-record/get/trl/complete/index.json @@ -93,10 +93,39 @@ }, "techRecord_adrDetails_additionalExaminerNotes": { "type": [ - "string", + "array", "null" ], - "maxLength": 1024 + "items": { + "title": "Additional Examiner Notes", + "additionalProperties": false, + "properties": { + "note": { + "type": [ + "string", + "null" + ], + "maxLength": 1024 + }, + "createdAtDate": { + "anyOf": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "null" + } + ] + }, + "lastUpdatedBy": { + "type": [ + "string", + "null" + ] + } + } + } }, "techRecord_adrDetails_applicantDetails_name": { "type": [ diff --git a/json-definitions/v3/tech-record/get/trl/skeleton/index.json b/json-definitions/v3/tech-record/get/trl/skeleton/index.json index 1236ab92..5e0540e7 100644 --- a/json-definitions/v3/tech-record/get/trl/skeleton/index.json +++ b/json-definitions/v3/tech-record/get/trl/skeleton/index.json @@ -73,10 +73,39 @@ }, "techRecord_adrDetails_additionalExaminerNotes": { "type": [ - "string", + "array", "null" ], - "maxLength": 1024 + "items": { + "title": "Additional Examiner Notes", + "additionalProperties": false, + "properties": { + "note": { + "type": [ + "string", + "null" + ], + "maxLength": 1024 + }, + "createdAtDate": { + "anyOf": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "null" + } + ] + }, + "lastUpdatedBy": { + "type": [ + "string", + "null" + ] + } + } + } }, "techRecord_adrDetails_applicantDetails_name": { "type": [ diff --git a/json-definitions/v3/tech-record/get/trl/testable/index.json b/json-definitions/v3/tech-record/get/trl/testable/index.json index d306c199..19aeb8ed 100644 --- a/json-definitions/v3/tech-record/get/trl/testable/index.json +++ b/json-definitions/v3/tech-record/get/trl/testable/index.json @@ -75,10 +75,39 @@ }, "techRecord_adrDetails_additionalExaminerNotes": { "type": [ - "string", + "array", "null" ], - "maxLength": 1024 + "items": { + "title": "Additional Examiner Notes", + "additionalProperties": false, + "properties": { + "note": { + "type": [ + "string", + "null" + ], + "maxLength": 1024 + }, + "createdAtDate": { + "anyOf": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "null" + } + ] + }, + "lastUpdatedBy": { + "type": [ + "string", + "null" + ] + } + } + } }, "techRecord_adrDetails_applicantDetails_name": { "type": [ diff --git a/json-definitions/v3/tech-record/put/hgv/complete/index.json b/json-definitions/v3/tech-record/put/hgv/complete/index.json index 8d853953..ea198e4b 100644 --- a/json-definitions/v3/tech-record/put/hgv/complete/index.json +++ b/json-definitions/v3/tech-record/put/hgv/complete/index.json @@ -99,10 +99,39 @@ }, "techRecord_adrDetails_additionalExaminerNotes": { "type": [ - "string", + "array", "null" ], - "maxLength": 1024 + "items": { + "title": "Additional Examiner Notes", + "additionalProperties": false, + "properties": { + "note": { + "type": [ + "string", + "null" + ], + "maxLength": 1024 + }, + "createdAtDate": { + "anyOf": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "null" + } + ] + }, + "lastUpdatedBy": { + "type": [ + "string", + "null" + ] + } + } + } }, "techRecord_adrDetails_applicantDetails_name": { "type": [ diff --git a/json-definitions/v3/tech-record/put/hgv/skeleton/index.json b/json-definitions/v3/tech-record/put/hgv/skeleton/index.json index 86104b5f..7d1b1eb4 100644 --- a/json-definitions/v3/tech-record/put/hgv/skeleton/index.json +++ b/json-definitions/v3/tech-record/put/hgv/skeleton/index.json @@ -67,10 +67,39 @@ }, "techRecord_adrDetails_additionalExaminerNotes": { "type": [ - "string", + "array", "null" ], - "maxLength": 1024 + "items": { + "title": "Additional Examiner Notes", + "additionalProperties": false, + "properties": { + "note": { + "type": [ + "string", + "null" + ], + "maxLength": 1024 + }, + "createdAtDate": { + "anyOf": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "null" + } + ] + }, + "lastUpdatedBy": { + "type": [ + "string", + "null" + ] + } + } + } }, "techRecord_adrDetails_applicantDetails_name": { "type": [ diff --git a/json-definitions/v3/tech-record/put/hgv/testable/index.json b/json-definitions/v3/tech-record/put/hgv/testable/index.json index 6728ade3..f58b5c21 100644 --- a/json-definitions/v3/tech-record/put/hgv/testable/index.json +++ b/json-definitions/v3/tech-record/put/hgv/testable/index.json @@ -69,10 +69,39 @@ }, "techRecord_adrDetails_additionalExaminerNotes": { "type": [ - "string", + "array", "null" ], - "maxLength": 1024 + "items": { + "title": "Additional Examiner Notes", + "additionalProperties": false, + "properties": { + "note": { + "type": [ + "string", + "null" + ], + "maxLength": 1024 + }, + "createdAtDate": { + "anyOf": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "null" + } + ] + }, + "lastUpdatedBy": { + "type": [ + "string", + "null" + ] + } + } + } }, "techRecord_adrDetails_applicantDetails_name": { "type": [ diff --git a/json-definitions/v3/tech-record/put/lgv/complete/index.json b/json-definitions/v3/tech-record/put/lgv/complete/index.json index 1390f37f..8dd3655b 100644 --- a/json-definitions/v3/tech-record/put/lgv/complete/index.json +++ b/json-definitions/v3/tech-record/put/lgv/complete/index.json @@ -118,10 +118,39 @@ }, "techRecord_adrDetails_additionalExaminerNotes": { "type": [ - "string", + "array", "null" ], - "maxLength": 1024 + "items": { + "title": "Additional Examiner Notes", + "additionalProperties": false, + "properties": { + "note": { + "type": [ + "string", + "null" + ], + "maxLength": 1024 + }, + "createdAtDate": { + "anyOf": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "null" + } + ] + }, + "lastUpdatedBy": { + "type": [ + "string", + "null" + ] + } + } + } }, "techRecord_adrDetails_applicantDetails_name": { "type": [ diff --git a/json-definitions/v3/tech-record/put/lgv/skeleton/index.json b/json-definitions/v3/tech-record/put/lgv/skeleton/index.json index b3e22dae..fc1b6e08 100644 --- a/json-definitions/v3/tech-record/put/lgv/skeleton/index.json +++ b/json-definitions/v3/tech-record/put/lgv/skeleton/index.json @@ -115,10 +115,39 @@ }, "techRecord_adrDetails_additionalExaminerNotes": { "type": [ - "string", + "array", "null" ], - "maxLength": 1024 + "items": { + "title": "Additional Examiner Notes", + "additionalProperties": false, + "properties": { + "note": { + "type": [ + "string", + "null" + ], + "maxLength": 1024 + }, + "createdAtDate": { + "anyOf": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "null" + } + ] + }, + "lastUpdatedBy": { + "type": [ + "string", + "null" + ] + } + } + } }, "techRecord_adrDetails_applicantDetails_name": { "type": [ diff --git a/json-definitions/v3/tech-record/put/trl/complete/index.json b/json-definitions/v3/tech-record/put/trl/complete/index.json index 776faf12..80f26426 100644 --- a/json-definitions/v3/tech-record/put/trl/complete/index.json +++ b/json-definitions/v3/tech-record/put/trl/complete/index.json @@ -82,10 +82,39 @@ }, "techRecord_adrDetails_additionalExaminerNotes": { "type": [ - "string", + "array", "null" ], - "maxLength": 1024 + "items": { + "title": "Additional Examiner Notes", + "additionalProperties": false, + "properties": { + "note": { + "type": [ + "string", + "null" + ], + "maxLength": 1024 + }, + "createdAtDate": { + "anyOf": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "null" + } + ] + }, + "lastUpdatedBy": { + "type": [ + "string", + "null" + ] + } + } + } }, "techRecord_adrDetails_applicantDetails_name": { "type": [ diff --git a/json-definitions/v3/tech-record/put/trl/skeleton/index.json b/json-definitions/v3/tech-record/put/trl/skeleton/index.json index 3f10ca9d..c92cda1f 100644 --- a/json-definitions/v3/tech-record/put/trl/skeleton/index.json +++ b/json-definitions/v3/tech-record/put/trl/skeleton/index.json @@ -97,10 +97,39 @@ }, "techRecord_adrDetails_additionalExaminerNotes": { "type": [ - "string", + "array", "null" ], - "maxLength": 1024 + "items": { + "title": "Additional Examiner Notes", + "additionalProperties": false, + "properties": { + "note": { + "type": [ + "string", + "null" + ], + "maxLength": 1024 + }, + "createdAtDate": { + "anyOf": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "null" + } + ] + }, + "lastUpdatedBy": { + "type": [ + "string", + "null" + ] + } + } + } }, "techRecord_adrDetails_applicantDetails_name": { "type": [ diff --git a/json-definitions/v3/tech-record/put/trl/testable/index.json b/json-definitions/v3/tech-record/put/trl/testable/index.json index 79a45a03..feadae05 100644 --- a/json-definitions/v3/tech-record/put/trl/testable/index.json +++ b/json-definitions/v3/tech-record/put/trl/testable/index.json @@ -99,10 +99,39 @@ }, "techRecord_adrDetails_additionalExaminerNotes": { "type": [ - "string", + "array", "null" ], - "maxLength": 1024 + "items": { + "title": "Additional Examiner Notes", + "additionalProperties": false, + "properties": { + "note": { + "type": [ + "string", + "null" + ], + "maxLength": 1024 + }, + "createdAtDate": { + "anyOf": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "null" + } + ] + }, + "lastUpdatedBy": { + "type": [ + "string", + "null" + ] + } + } + } }, "techRecord_adrDetails_applicantDetails_name": { "type": [ diff --git a/json-schemas/v3/tech-record/get/hgv/complete/index.json b/json-schemas/v3/tech-record/get/hgv/complete/index.json index 83dc7e6b..5e670852 100644 --- a/json-schemas/v3/tech-record/get/hgv/complete/index.json +++ b/json-schemas/v3/tech-record/get/hgv/complete/index.json @@ -120,10 +120,39 @@ }, "techRecord_adrDetails_additionalExaminerNotes": { "type": [ - "string", + "array", "null" ], - "maxLength": 1024 + "items": { + "title": "Additional Examiner Notes", + "additionalProperties": false, + "properties": { + "note": { + "type": [ + "string", + "null" + ], + "maxLength": 1024 + }, + "createdAtDate": { + "anyOf": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "null" + } + ] + }, + "lastUpdatedBy": { + "type": [ + "string", + "null" + ] + } + } + } }, "techRecord_adrDetails_applicantDetails_name": { "type": [ diff --git a/json-schemas/v3/tech-record/get/hgv/skeleton/index.json b/json-schemas/v3/tech-record/get/hgv/skeleton/index.json index cc8ed6e4..03b4408a 100644 --- a/json-schemas/v3/tech-record/get/hgv/skeleton/index.json +++ b/json-schemas/v3/tech-record/get/hgv/skeleton/index.json @@ -90,10 +90,39 @@ }, "techRecord_adrDetails_additionalExaminerNotes": { "type": [ - "string", + "array", "null" ], - "maxLength": 1024 + "items": { + "title": "Additional Examiner Notes", + "additionalProperties": false, + "properties": { + "note": { + "type": [ + "string", + "null" + ], + "maxLength": 1024 + }, + "createdAtDate": { + "anyOf": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "null" + } + ] + }, + "lastUpdatedBy": { + "type": [ + "string", + "null" + ] + } + } + } }, "techRecord_adrDetails_applicantDetails_name": { "type": [ diff --git a/json-schemas/v3/tech-record/get/hgv/testable/index.json b/json-schemas/v3/tech-record/get/hgv/testable/index.json index f3784553..7c26bdd3 100644 --- a/json-schemas/v3/tech-record/get/hgv/testable/index.json +++ b/json-schemas/v3/tech-record/get/hgv/testable/index.json @@ -94,10 +94,39 @@ }, "techRecord_adrDetails_additionalExaminerNotes": { "type": [ - "string", + "array", "null" ], - "maxLength": 1024 + "items": { + "title": "Additional Examiner Notes", + "additionalProperties": false, + "properties": { + "note": { + "type": [ + "string", + "null" + ], + "maxLength": 1024 + }, + "createdAtDate": { + "anyOf": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "null" + } + ] + }, + "lastUpdatedBy": { + "type": [ + "string", + "null" + ] + } + } + } }, "techRecord_adrDetails_applicantDetails_name": { "type": [ diff --git a/json-schemas/v3/tech-record/get/lgv/complete/index.json b/json-schemas/v3/tech-record/get/lgv/complete/index.json index f0c9f963..13291de6 100644 --- a/json-schemas/v3/tech-record/get/lgv/complete/index.json +++ b/json-schemas/v3/tech-record/get/lgv/complete/index.json @@ -125,10 +125,39 @@ }, "techRecord_adrDetails_additionalExaminerNotes": { "type": [ - "string", + "array", "null" ], - "maxLength": 1024 + "items": { + "title": "Additional Examiner Notes", + "additionalProperties": false, + "properties": { + "note": { + "type": [ + "string", + "null" + ], + "maxLength": 1024 + }, + "createdAtDate": { + "anyOf": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "null" + } + ] + }, + "lastUpdatedBy": { + "type": [ + "string", + "null" + ] + } + } + } }, "techRecord_adrDetails_applicantDetails_name": { "type": [ diff --git a/json-schemas/v3/tech-record/get/lgv/skeleton/index.json b/json-schemas/v3/tech-record/get/lgv/skeleton/index.json index b5029be1..36db2de1 100644 --- a/json-schemas/v3/tech-record/get/lgv/skeleton/index.json +++ b/json-schemas/v3/tech-record/get/lgv/skeleton/index.json @@ -122,10 +122,39 @@ }, "techRecord_adrDetails_additionalExaminerNotes": { "type": [ - "string", + "array", "null" ], - "maxLength": 1024 + "items": { + "title": "Additional Examiner Notes", + "additionalProperties": false, + "properties": { + "note": { + "type": [ + "string", + "null" + ], + "maxLength": 1024 + }, + "createdAtDate": { + "anyOf": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "null" + } + ] + }, + "lastUpdatedBy": { + "type": [ + "string", + "null" + ] + } + } + } }, "techRecord_adrDetails_applicantDetails_name": { "type": [ diff --git a/json-schemas/v3/tech-record/get/trl/complete/index.json b/json-schemas/v3/tech-record/get/trl/complete/index.json index cd33dc28..1582ae8a 100644 --- a/json-schemas/v3/tech-record/get/trl/complete/index.json +++ b/json-schemas/v3/tech-record/get/trl/complete/index.json @@ -102,10 +102,39 @@ }, "techRecord_adrDetails_additionalExaminerNotes": { "type": [ - "string", + "array", "null" ], - "maxLength": 1024 + "items": { + "title": "Additional Examiner Notes", + "additionalProperties": false, + "properties": { + "note": { + "type": [ + "string", + "null" + ], + "maxLength": 1024 + }, + "createdAtDate": { + "anyOf": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "null" + } + ] + }, + "lastUpdatedBy": { + "type": [ + "string", + "null" + ] + } + } + } }, "techRecord_adrDetails_applicantDetails_name": { "type": [ diff --git a/json-schemas/v3/tech-record/get/trl/skeleton/index.json b/json-schemas/v3/tech-record/get/trl/skeleton/index.json index 72325769..84ee5f32 100644 --- a/json-schemas/v3/tech-record/get/trl/skeleton/index.json +++ b/json-schemas/v3/tech-record/get/trl/skeleton/index.json @@ -82,10 +82,39 @@ }, "techRecord_adrDetails_additionalExaminerNotes": { "type": [ - "string", + "array", "null" ], - "maxLength": 1024 + "items": { + "title": "Additional Examiner Notes", + "additionalProperties": false, + "properties": { + "note": { + "type": [ + "string", + "null" + ], + "maxLength": 1024 + }, + "createdAtDate": { + "anyOf": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "null" + } + ] + }, + "lastUpdatedBy": { + "type": [ + "string", + "null" + ] + } + } + } }, "techRecord_adrDetails_applicantDetails_name": { "type": [ diff --git a/json-schemas/v3/tech-record/get/trl/testable/index.json b/json-schemas/v3/tech-record/get/trl/testable/index.json index ec8e4dea..60f257d1 100644 --- a/json-schemas/v3/tech-record/get/trl/testable/index.json +++ b/json-schemas/v3/tech-record/get/trl/testable/index.json @@ -84,10 +84,39 @@ }, "techRecord_adrDetails_additionalExaminerNotes": { "type": [ - "string", + "array", "null" ], - "maxLength": 1024 + "items": { + "title": "Additional Examiner Notes", + "additionalProperties": false, + "properties": { + "note": { + "type": [ + "string", + "null" + ], + "maxLength": 1024 + }, + "createdAtDate": { + "anyOf": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "null" + } + ] + }, + "lastUpdatedBy": { + "type": [ + "string", + "null" + ] + } + } + } }, "techRecord_adrDetails_applicantDetails_name": { "type": [ diff --git a/json-schemas/v3/tech-record/put/hgv/complete/index.json b/json-schemas/v3/tech-record/put/hgv/complete/index.json index 0a3955f1..b86b6ac0 100644 --- a/json-schemas/v3/tech-record/put/hgv/complete/index.json +++ b/json-schemas/v3/tech-record/put/hgv/complete/index.json @@ -108,10 +108,39 @@ }, "techRecord_adrDetails_additionalExaminerNotes": { "type": [ - "string", + "array", "null" ], - "maxLength": 1024 + "items": { + "title": "Additional Examiner Notes", + "additionalProperties": false, + "properties": { + "note": { + "type": [ + "string", + "null" + ], + "maxLength": 1024 + }, + "createdAtDate": { + "anyOf": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "null" + } + ] + }, + "lastUpdatedBy": { + "type": [ + "string", + "null" + ] + } + } + } }, "techRecord_adrDetails_applicantDetails_name": { "type": [ diff --git a/json-schemas/v3/tech-record/put/hgv/skeleton/index.json b/json-schemas/v3/tech-record/put/hgv/skeleton/index.json index 71a6e0be..bb8c5403 100644 --- a/json-schemas/v3/tech-record/put/hgv/skeleton/index.json +++ b/json-schemas/v3/tech-record/put/hgv/skeleton/index.json @@ -76,10 +76,39 @@ }, "techRecord_adrDetails_additionalExaminerNotes": { "type": [ - "string", + "array", "null" ], - "maxLength": 1024 + "items": { + "title": "Additional Examiner Notes", + "additionalProperties": false, + "properties": { + "note": { + "type": [ + "string", + "null" + ], + "maxLength": 1024 + }, + "createdAtDate": { + "anyOf": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "null" + } + ] + }, + "lastUpdatedBy": { + "type": [ + "string", + "null" + ] + } + } + } }, "techRecord_adrDetails_applicantDetails_name": { "type": [ diff --git a/json-schemas/v3/tech-record/put/hgv/testable/index.json b/json-schemas/v3/tech-record/put/hgv/testable/index.json index 10b9c6f6..1e6c0938 100644 --- a/json-schemas/v3/tech-record/put/hgv/testable/index.json +++ b/json-schemas/v3/tech-record/put/hgv/testable/index.json @@ -78,10 +78,39 @@ }, "techRecord_adrDetails_additionalExaminerNotes": { "type": [ - "string", + "array", "null" ], - "maxLength": 1024 + "items": { + "title": "Additional Examiner Notes", + "additionalProperties": false, + "properties": { + "note": { + "type": [ + "string", + "null" + ], + "maxLength": 1024 + }, + "createdAtDate": { + "anyOf": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "null" + } + ] + }, + "lastUpdatedBy": { + "type": [ + "string", + "null" + ] + } + } + } }, "techRecord_adrDetails_applicantDetails_name": { "type": [ diff --git a/json-schemas/v3/tech-record/put/lgv/complete/index.json b/json-schemas/v3/tech-record/put/lgv/complete/index.json index 5c100fac..b1d8385a 100644 --- a/json-schemas/v3/tech-record/put/lgv/complete/index.json +++ b/json-schemas/v3/tech-record/put/lgv/complete/index.json @@ -127,10 +127,39 @@ }, "techRecord_adrDetails_additionalExaminerNotes": { "type": [ - "string", + "array", "null" ], - "maxLength": 1024 + "items": { + "title": "Additional Examiner Notes", + "additionalProperties": false, + "properties": { + "note": { + "type": [ + "string", + "null" + ], + "maxLength": 1024 + }, + "createdAtDate": { + "anyOf": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "null" + } + ] + }, + "lastUpdatedBy": { + "type": [ + "string", + "null" + ] + } + } + } }, "techRecord_adrDetails_applicantDetails_name": { "type": [ diff --git a/json-schemas/v3/tech-record/put/lgv/skeleton/index.json b/json-schemas/v3/tech-record/put/lgv/skeleton/index.json index 3ed80607..daf329c5 100644 --- a/json-schemas/v3/tech-record/put/lgv/skeleton/index.json +++ b/json-schemas/v3/tech-record/put/lgv/skeleton/index.json @@ -124,10 +124,39 @@ }, "techRecord_adrDetails_additionalExaminerNotes": { "type": [ - "string", + "array", "null" ], - "maxLength": 1024 + "items": { + "title": "Additional Examiner Notes", + "additionalProperties": false, + "properties": { + "note": { + "type": [ + "string", + "null" + ], + "maxLength": 1024 + }, + "createdAtDate": { + "anyOf": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "null" + } + ] + }, + "lastUpdatedBy": { + "type": [ + "string", + "null" + ] + } + } + } }, "techRecord_adrDetails_applicantDetails_name": { "type": [ diff --git a/json-schemas/v3/tech-record/put/trl/complete/index.json b/json-schemas/v3/tech-record/put/trl/complete/index.json index a277a127..7755e825 100644 --- a/json-schemas/v3/tech-record/put/trl/complete/index.json +++ b/json-schemas/v3/tech-record/put/trl/complete/index.json @@ -91,10 +91,39 @@ }, "techRecord_adrDetails_additionalExaminerNotes": { "type": [ - "string", + "array", "null" ], - "maxLength": 1024 + "items": { + "title": "Additional Examiner Notes", + "additionalProperties": false, + "properties": { + "note": { + "type": [ + "string", + "null" + ], + "maxLength": 1024 + }, + "createdAtDate": { + "anyOf": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "null" + } + ] + }, + "lastUpdatedBy": { + "type": [ + "string", + "null" + ] + } + } + } }, "techRecord_adrDetails_applicantDetails_name": { "type": [ diff --git a/json-schemas/v3/tech-record/put/trl/skeleton/index.json b/json-schemas/v3/tech-record/put/trl/skeleton/index.json index 2c8a89f3..54aa0448 100644 --- a/json-schemas/v3/tech-record/put/trl/skeleton/index.json +++ b/json-schemas/v3/tech-record/put/trl/skeleton/index.json @@ -141,10 +141,39 @@ }, "techRecord_adrDetails_additionalExaminerNotes": { "type": [ - "string", + "array", "null" ], - "maxLength": 1024 + "items": { + "title": "Additional Examiner Notes", + "additionalProperties": false, + "properties": { + "note": { + "type": [ + "string", + "null" + ], + "maxLength": 1024 + }, + "createdAtDate": { + "anyOf": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "null" + } + ] + }, + "lastUpdatedBy": { + "type": [ + "string", + "null" + ] + } + } + } }, "techRecord_adrDetails_applicantDetails_name": { "type": [ diff --git a/json-schemas/v3/tech-record/put/trl/testable/index.json b/json-schemas/v3/tech-record/put/trl/testable/index.json index a4f78508..351d4021 100644 --- a/json-schemas/v3/tech-record/put/trl/testable/index.json +++ b/json-schemas/v3/tech-record/put/trl/testable/index.json @@ -143,10 +143,39 @@ }, "techRecord_adrDetails_additionalExaminerNotes": { "type": [ - "string", + "array", "null" ], - "maxLength": 1024 + "items": { + "title": "Additional Examiner Notes", + "additionalProperties": false, + "properties": { + "note": { + "type": [ + "string", + "null" + ], + "maxLength": 1024 + }, + "createdAtDate": { + "anyOf": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "null" + } + ] + }, + "lastUpdatedBy": { + "type": [ + "string", + "null" + ] + } + } + } }, "techRecord_adrDetails_applicantDetails_name": { "type": [ diff --git a/package-lock.json b/package-lock.json index c781a7ab..13a50e46 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@dvsa/cvs-type-definitions", - "version": "4.1.0", + "version": "4.1.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@dvsa/cvs-type-definitions", - "version": "4.1.0", + "version": "4.1.1", "license": "ISC", "dependencies": { "ajv": "^8.12.0", diff --git a/package.json b/package.json index e1210b85..8b2de591 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dvsa/cvs-type-definitions", - "version": "4.1.0", + "version": "4.1.1", "description": "type definitions for cvs vta and vtm applications", "main": "index.js", "repository": { diff --git a/types/v3/tech-record/get/hgv/complete/index.d.ts b/types/v3/tech-record/get/hgv/complete/index.d.ts index a8f288bd..921bb0c0 100644 --- a/types/v3/tech-record/get/hgv/complete/index.d.ts +++ b/types/v3/tech-record/get/hgv/complete/index.d.ts @@ -92,7 +92,7 @@ export interface TechRecordGETHGVComplete { techRecord_adrDetails_vehicleDetails_approvalDate?: string | null; techRecord_adrDetails_permittedDangerousGoods?: string[] | null; techRecord_adrDetails_compatibilityGroupJ?: null | ADRCompatibilityGroupJ; - techRecord_adrDetails_additionalExaminerNotes?: string | null; + techRecord_adrDetails_additionalExaminerNotes?: AdditionalExaminerNotes[] | null; techRecord_adrDetails_applicantDetails_name?: string | null; techRecord_adrDetails_applicantDetails_street?: string | null; techRecord_adrDetails_applicantDetails_town?: string | null; @@ -209,6 +209,11 @@ export interface TechRecordGETHGVComplete { techRecord_hiddenInVta?: null | boolean; techRecord_updateType?: null | string; } +export interface AdditionalExaminerNotes { + note?: string | null; + createdAtDate?: string | null; + lastUpdatedBy?: string | null; +} export interface TC3Details { tc3Type?: null | TC3Types; tc3PeriodicNumber?: string | null; diff --git a/types/v3/tech-record/get/hgv/skeleton/index.d.ts b/types/v3/tech-record/get/hgv/skeleton/index.d.ts index f3cba3d1..912240f5 100644 --- a/types/v3/tech-record/get/hgv/skeleton/index.d.ts +++ b/types/v3/tech-record/get/hgv/skeleton/index.d.ts @@ -92,7 +92,7 @@ export interface TechRecordGETHGVSkeleton { techRecord_adrDetails_vehicleDetails_approvalDate?: string | null; techRecord_adrDetails_permittedDangerousGoods?: string[] | null; techRecord_adrDetails_compatibilityGroupJ?: null | ADRCompatibilityGroupJ; - techRecord_adrDetails_additionalExaminerNotes?: string | null; + techRecord_adrDetails_additionalExaminerNotes?: AdditionalExaminerNotes[] | null; techRecord_adrDetails_applicantDetails_name?: string | null; techRecord_adrDetails_applicantDetails_street?: string | null; techRecord_adrDetails_applicantDetails_town?: string | null; @@ -206,6 +206,11 @@ export interface TechRecordGETHGVSkeleton { techRecord_hiddenInVta?: null | boolean; techRecord_updateType?: null | string; } +export interface AdditionalExaminerNotes { + note?: string | null; + createdAtDate?: string | null; + lastUpdatedBy?: string | null; +} export interface TC3Details { tc3Type?: null | TC3Types; tc3PeriodicNumber?: string | null; diff --git a/types/v3/tech-record/get/hgv/testable/index.d.ts b/types/v3/tech-record/get/hgv/testable/index.d.ts index 90a6a7d4..6d5353c9 100644 --- a/types/v3/tech-record/get/hgv/testable/index.d.ts +++ b/types/v3/tech-record/get/hgv/testable/index.d.ts @@ -92,7 +92,7 @@ export interface TechRecordGETHGVTestable { techRecord_adrDetails_vehicleDetails_approvalDate?: string | null; techRecord_adrDetails_permittedDangerousGoods?: string[] | null; techRecord_adrDetails_compatibilityGroupJ?: null | ADRCompatibilityGroupJ; - techRecord_adrDetails_additionalExaminerNotes?: string | null; + techRecord_adrDetails_additionalExaminerNotes?: AdditionalExaminerNotes[] | null; techRecord_adrDetails_applicantDetails_name?: string | null; techRecord_adrDetails_applicantDetails_street?: string | null; techRecord_adrDetails_applicantDetails_town?: string | null; @@ -206,6 +206,11 @@ export interface TechRecordGETHGVTestable { techRecord_hiddenInVta?: null | boolean; techRecord_updateType?: null | string; } +export interface AdditionalExaminerNotes { + note?: string | null; + createdAtDate?: string | null; + lastUpdatedBy?: string | null; +} export interface TC3Details { tc3Type?: null | TC3Types; tc3PeriodicNumber?: string | null; diff --git a/types/v3/tech-record/get/lgv/complete/index.d.ts b/types/v3/tech-record/get/lgv/complete/index.d.ts index bd6f5a3e..d0fb479d 100644 --- a/types/v3/tech-record/get/lgv/complete/index.d.ts +++ b/types/v3/tech-record/get/lgv/complete/index.d.ts @@ -23,7 +23,7 @@ export interface TechRecordGETLGVComplete { techRecord_adrDetails_vehicleDetails_approvalDate?: string | null; techRecord_adrDetails_permittedDangerousGoods?: string[] | null; techRecord_adrDetails_compatibilityGroupJ?: null | ADRCompatibilityGroupJ; - techRecord_adrDetails_additionalExaminerNotes?: string | null; + techRecord_adrDetails_additionalExaminerNotes?: AdditionalExaminerNotes[] | null; techRecord_adrDetails_applicantDetails_name?: string | null; techRecord_adrDetails_applicantDetails_street?: string | null; techRecord_adrDetails_applicantDetails_town?: string | null; @@ -83,6 +83,11 @@ export interface TechRecordGETLGVComplete { techRecord_updateType?: null | string; secondaryVrms?: null | string[]; } +export interface AdditionalExaminerNotes { + note?: string | null; + createdAtDate?: string | null; + lastUpdatedBy?: string | null; +} export interface TC3Details { tc3Type?: null | TC3Types; tc3PeriodicNumber?: string | null; diff --git a/types/v3/tech-record/get/lgv/skeleton/index.d.ts b/types/v3/tech-record/get/lgv/skeleton/index.d.ts index 89df54b2..edec1a79 100644 --- a/types/v3/tech-record/get/lgv/skeleton/index.d.ts +++ b/types/v3/tech-record/get/lgv/skeleton/index.d.ts @@ -23,7 +23,7 @@ export interface TechRecordGETLGVSkeleton { techRecord_adrDetails_vehicleDetails_approvalDate?: string | null; techRecord_adrDetails_permittedDangerousGoods?: string[] | null; techRecord_adrDetails_compatibilityGroupJ?: null | ADRCompatibilityGroupJ; - techRecord_adrDetails_additionalExaminerNotes?: string | null; + techRecord_adrDetails_additionalExaminerNotes?: AdditionalExaminerNotes[] | null; techRecord_adrDetails_applicantDetails_name?: string | null; techRecord_adrDetails_applicantDetails_street?: string | null; techRecord_adrDetails_applicantDetails_town?: string | null; @@ -83,6 +83,11 @@ export interface TechRecordGETLGVSkeleton { secondaryVrms?: null | string[]; techRecord_vehicleSubclass?: VehicleSubclass; } +export interface AdditionalExaminerNotes { + note?: string | null; + createdAtDate?: string | null; + lastUpdatedBy?: string | null; +} export interface TC3Details { tc3Type?: null | TC3Types; tc3PeriodicNumber?: string | null; diff --git a/types/v3/tech-record/get/trl/complete/index.d.ts b/types/v3/tech-record/get/trl/complete/index.d.ts index 41297a70..a1bbec1e 100644 --- a/types/v3/tech-record/get/trl/complete/index.d.ts +++ b/types/v3/tech-record/get/trl/complete/index.d.ts @@ -109,7 +109,7 @@ export interface TechRecordGETTRLComplete { techRecord_adrDetails_vehicleDetails_approvalDate?: string | null; techRecord_adrDetails_permittedDangerousGoods?: string[] | null; techRecord_adrDetails_compatibilityGroupJ?: null | ADRCompatibilityGroupJ; - techRecord_adrDetails_additionalExaminerNotes?: string | null; + techRecord_adrDetails_additionalExaminerNotes?: AdditionalExaminerNotes[] | null; techRecord_adrDetails_applicantDetails_name?: string | null; techRecord_adrDetails_applicantDetails_street?: string | null; techRecord_adrDetails_applicantDetails_town?: string | null; @@ -252,6 +252,11 @@ export interface TechRecordGETTRLComplete { techRecord_authIntoService_dateRejected?: string | null; techRecord_dimensions_axleSpacing?: AxleSpacing[]; } +export interface AdditionalExaminerNotes { + note?: string | null; + createdAtDate?: string | null; + lastUpdatedBy?: string | null; +} export interface TC3Details { tc3Type?: null | TC3Types; tc3PeriodicNumber?: string | null; diff --git a/types/v3/tech-record/get/trl/skeleton/index.d.ts b/types/v3/tech-record/get/trl/skeleton/index.d.ts index 4b194c75..f52e29bf 100644 --- a/types/v3/tech-record/get/trl/skeleton/index.d.ts +++ b/types/v3/tech-record/get/trl/skeleton/index.d.ts @@ -109,7 +109,7 @@ export interface TechRecordGETTRLSkeleton { techRecord_adrDetails_vehicleDetails_approvalDate?: string | null; techRecord_adrDetails_permittedDangerousGoods?: string[] | null; techRecord_adrDetails_compatibilityGroupJ?: null | ADRCompatibilityGroupJ; - techRecord_adrDetails_additionalExaminerNotes?: string | null; + techRecord_adrDetails_additionalExaminerNotes?: AdditionalExaminerNotes[] | null; techRecord_adrDetails_applicantDetails_name?: string | null; techRecord_adrDetails_applicantDetails_street?: string | null; techRecord_adrDetails_applicantDetails_town?: string | null; @@ -249,6 +249,11 @@ export interface TechRecordGETTRLSkeleton { techRecord_notes?: string | null; techRecord_dimensions_axleSpacing?: AxleSpacing[]; } +export interface AdditionalExaminerNotes { + note?: string | null; + createdAtDate?: string | null; + lastUpdatedBy?: string | null; +} export interface TC3Details { tc3Type?: null | TC3Types; tc3PeriodicNumber?: string | null; diff --git a/types/v3/tech-record/get/trl/testable/index.d.ts b/types/v3/tech-record/get/trl/testable/index.d.ts index 583c7bfa..405e1b57 100644 --- a/types/v3/tech-record/get/trl/testable/index.d.ts +++ b/types/v3/tech-record/get/trl/testable/index.d.ts @@ -109,7 +109,7 @@ export interface TechRecordGETTRLTestable { techRecord_adrDetails_vehicleDetails_approvalDate?: string | null; techRecord_adrDetails_permittedDangerousGoods?: string[] | null; techRecord_adrDetails_compatibilityGroupJ?: null | ADRCompatibilityGroupJ; - techRecord_adrDetails_additionalExaminerNotes?: string | null; + techRecord_adrDetails_additionalExaminerNotes?: AdditionalExaminerNotes[] | null; techRecord_adrDetails_applicantDetails_name?: string | null; techRecord_adrDetails_applicantDetails_street?: string | null; techRecord_adrDetails_applicantDetails_town?: string | null; @@ -249,6 +249,11 @@ export interface TechRecordGETTRLTestable { techRecord_notes?: string | null; techRecord_dimensions_axleSpacing?: AxleSpacing[]; } +export interface AdditionalExaminerNotes { + note?: string | null; + createdAtDate?: string | null; + lastUpdatedBy?: string | null; +} export interface TC3Details { tc3Type?: null | TC3Types; tc3PeriodicNumber?: string | null; diff --git a/types/v3/tech-record/put/hgv/complete/index.d.ts b/types/v3/tech-record/put/hgv/complete/index.d.ts index c86671b8..98a5bf5d 100644 --- a/types/v3/tech-record/put/hgv/complete/index.d.ts +++ b/types/v3/tech-record/put/hgv/complete/index.d.ts @@ -90,7 +90,7 @@ export interface TechRecordPUTHGVComplete { techRecord_adrDetails_vehicleDetails_approvalDate?: string | null; techRecord_adrDetails_permittedDangerousGoods?: string[] | null; techRecord_adrDetails_compatibilityGroupJ?: null | ADRCompatibilityGroupJ; - techRecord_adrDetails_additionalExaminerNotes?: string | null; + techRecord_adrDetails_additionalExaminerNotes?: AdditionalExaminerNotes[] | null; techRecord_adrDetails_applicantDetails_name?: string | null; techRecord_adrDetails_applicantDetails_street?: string | null; techRecord_adrDetails_applicantDetails_town?: string | null; @@ -197,6 +197,11 @@ export interface TechRecordPUTHGVComplete { techRecord_hiddenInVta?: null | boolean; techRecord_updateType?: null | string; } +export interface AdditionalExaminerNotes { + note?: string | null; + createdAtDate?: string | null; + lastUpdatedBy?: string | null; +} export interface TC3Details { tc3Type?: null | TC3Types; tc3PeriodicNumber?: string | null; diff --git a/types/v3/tech-record/put/hgv/skeleton/index.d.ts b/types/v3/tech-record/put/hgv/skeleton/index.d.ts index 35472f3a..59b896c8 100644 --- a/types/v3/tech-record/put/hgv/skeleton/index.d.ts +++ b/types/v3/tech-record/put/hgv/skeleton/index.d.ts @@ -90,7 +90,7 @@ export interface TechRecordPUTHGVSkeleton { techRecord_adrDetails_vehicleDetails_approvalDate?: string | null; techRecord_adrDetails_permittedDangerousGoods?: string[] | null; techRecord_adrDetails_compatibilityGroupJ?: null | ADRCompatibilityGroupJ; - techRecord_adrDetails_additionalExaminerNotes?: string | null; + techRecord_adrDetails_additionalExaminerNotes?: AdditionalExaminerNotes[] | null; techRecord_adrDetails_applicantDetails_name?: string | null; techRecord_adrDetails_applicantDetails_street?: string | null; techRecord_adrDetails_applicantDetails_town?: string | null; @@ -194,6 +194,11 @@ export interface TechRecordPUTHGVSkeleton { techRecord_hiddenInVta?: null | boolean; techRecord_updateType?: null | string; } +export interface AdditionalExaminerNotes { + note?: string | null; + createdAtDate?: string | null; + lastUpdatedBy?: string | null; +} export interface TC3Details { tc3Type?: null | TC3Types; tc3PeriodicNumber?: string | null; diff --git a/types/v3/tech-record/put/hgv/testable/index.d.ts b/types/v3/tech-record/put/hgv/testable/index.d.ts index c9c8459f..7be0f9f9 100644 --- a/types/v3/tech-record/put/hgv/testable/index.d.ts +++ b/types/v3/tech-record/put/hgv/testable/index.d.ts @@ -90,7 +90,7 @@ export interface TechRecordPUTHGVTestable { techRecord_adrDetails_vehicleDetails_approvalDate?: string | null; techRecord_adrDetails_permittedDangerousGoods?: string[] | null; techRecord_adrDetails_compatibilityGroupJ?: null | ADRCompatibilityGroupJ; - techRecord_adrDetails_additionalExaminerNotes?: string | null; + techRecord_adrDetails_additionalExaminerNotes?: AdditionalExaminerNotes[] | null; techRecord_adrDetails_applicantDetails_name?: string | null; techRecord_adrDetails_applicantDetails_street?: string | null; techRecord_adrDetails_applicantDetails_town?: string | null; @@ -194,6 +194,11 @@ export interface TechRecordPUTHGVTestable { techRecord_hiddenInVta?: null | boolean; techRecord_updateType?: null | string; } +export interface AdditionalExaminerNotes { + note?: string | null; + createdAtDate?: string | null; + lastUpdatedBy?: string | null; +} export interface TC3Details { tc3Type?: null | TC3Types; tc3PeriodicNumber?: string | null; diff --git a/types/v3/tech-record/put/lgv/complete/index.d.ts b/types/v3/tech-record/put/lgv/complete/index.d.ts index 48b5ef43..09eafaa2 100644 --- a/types/v3/tech-record/put/lgv/complete/index.d.ts +++ b/types/v3/tech-record/put/lgv/complete/index.d.ts @@ -25,7 +25,7 @@ export interface TechRecordPUTLGVComplete { techRecord_adrDetails_vehicleDetails_approvalDate?: string | null; techRecord_adrDetails_permittedDangerousGoods?: string[] | null; techRecord_adrDetails_compatibilityGroupJ?: null | ADRCompatibilityGroupJ; - techRecord_adrDetails_additionalExaminerNotes?: string | null; + techRecord_adrDetails_additionalExaminerNotes?: AdditionalExaminerNotes[] | null; techRecord_adrDetails_applicantDetails_name?: string | null; techRecord_adrDetails_applicantDetails_street?: string | null; techRecord_adrDetails_applicantDetails_town?: string | null; @@ -73,6 +73,11 @@ export interface TechRecordPUTLGVComplete { secondaryVrms?: string[]; techRecord_vehicleConfiguration: VehicleConfiguration; } +export interface AdditionalExaminerNotes { + note?: string | null; + createdAtDate?: string | null; + lastUpdatedBy?: string | null; +} export interface TC3Details { tc3Type?: null | TC3Types; tc3PeriodicNumber?: string | null; diff --git a/types/v3/tech-record/put/lgv/skeleton/index.d.ts b/types/v3/tech-record/put/lgv/skeleton/index.d.ts index ecd1dbc6..f30d7bee 100644 --- a/types/v3/tech-record/put/lgv/skeleton/index.d.ts +++ b/types/v3/tech-record/put/lgv/skeleton/index.d.ts @@ -25,7 +25,7 @@ export interface TechRecordPUTLGVSkeleton { techRecord_adrDetails_vehicleDetails_approvalDate?: string | null; techRecord_adrDetails_permittedDangerousGoods?: string[] | null; techRecord_adrDetails_compatibilityGroupJ?: null | ADRCompatibilityGroupJ; - techRecord_adrDetails_additionalExaminerNotes?: string | null; + techRecord_adrDetails_additionalExaminerNotes?: AdditionalExaminerNotes[] | null; techRecord_adrDetails_applicantDetails_name?: string | null; techRecord_adrDetails_applicantDetails_street?: string | null; techRecord_adrDetails_applicantDetails_town?: string | null; @@ -73,6 +73,11 @@ export interface TechRecordPUTLGVSkeleton { techRecord_vehicleSubclass?: VehicleSubclass; techRecord_vehicleConfiguration?: null | VehicleConfiguration; } +export interface AdditionalExaminerNotes { + note?: string | null; + createdAtDate?: string | null; + lastUpdatedBy?: string | null; +} export interface TC3Details { tc3Type?: null | TC3Types; tc3PeriodicNumber?: string | null; diff --git a/types/v3/tech-record/put/trl/complete/index.d.ts b/types/v3/tech-record/put/trl/complete/index.d.ts index 3644668e..dcef1f74 100644 --- a/types/v3/tech-record/put/trl/complete/index.d.ts +++ b/types/v3/tech-record/put/trl/complete/index.d.ts @@ -107,7 +107,7 @@ export interface TechRecordPUTTRLComplete { techRecord_adrDetails_vehicleDetails_approvalDate?: string | null; techRecord_adrDetails_permittedDangerousGoods?: string[] | null; techRecord_adrDetails_compatibilityGroupJ?: null | ADRCompatibilityGroupJ; - techRecord_adrDetails_additionalExaminerNotes?: string | null; + techRecord_adrDetails_additionalExaminerNotes?: AdditionalExaminerNotes[] | null; techRecord_adrDetails_applicantDetails_name?: string | null; techRecord_adrDetails_applicantDetails_street?: string | null; techRecord_adrDetails_applicantDetails_town?: string | null; @@ -241,6 +241,11 @@ export interface TechRecordPUTTRLComplete { techRecord_authIntoService_dateRejected?: string | null; techRecord_dimensions_axleSpacing?: AxleSpacing[]; } +export interface AdditionalExaminerNotes { + note?: string | null; + createdAtDate?: string | null; + lastUpdatedBy?: string | null; +} export interface TC3Details { tc3Type?: null | TC3Types; tc3PeriodicNumber?: string | null; diff --git a/types/v3/tech-record/put/trl/skeleton/index.d.ts b/types/v3/tech-record/put/trl/skeleton/index.d.ts index 256276f0..7c2b37b2 100644 --- a/types/v3/tech-record/put/trl/skeleton/index.d.ts +++ b/types/v3/tech-record/put/trl/skeleton/index.d.ts @@ -112,7 +112,7 @@ export interface TechRecordPUTTRLSkeleton { techRecord_adrDetails_vehicleDetails_approvalDate?: string | null; techRecord_adrDetails_permittedDangerousGoods?: string[] | null; techRecord_adrDetails_compatibilityGroupJ?: null | ADRCompatibilityGroupJ; - techRecord_adrDetails_additionalExaminerNotes?: string | null; + techRecord_adrDetails_additionalExaminerNotes?: AdditionalExaminerNotes[] | null; techRecord_adrDetails_applicantDetails_name?: string | null; techRecord_adrDetails_applicantDetails_street?: string | null; techRecord_adrDetails_applicantDetails_town?: string | null; @@ -238,6 +238,11 @@ export interface TechRecordPUTTRLSkeleton { techRecord_authIntoService_dateRejected?: string | null; techRecord_axles?: null | TRLAxles[]; } +export interface AdditionalExaminerNotes { + note?: string | null; + createdAtDate?: string | null; + lastUpdatedBy?: string | null; +} export interface TC3Details { tc3Type?: null | TC3Types; tc3PeriodicNumber?: string | null; diff --git a/types/v3/tech-record/put/trl/testable/index.d.ts b/types/v3/tech-record/put/trl/testable/index.d.ts index d6a019cc..27ac2cf6 100644 --- a/types/v3/tech-record/put/trl/testable/index.d.ts +++ b/types/v3/tech-record/put/trl/testable/index.d.ts @@ -112,7 +112,7 @@ export interface TechRecordPUTTRLTestable { techRecord_adrDetails_vehicleDetails_approvalDate?: string | null; techRecord_adrDetails_permittedDangerousGoods?: string[] | null; techRecord_adrDetails_compatibilityGroupJ?: null | ADRCompatibilityGroupJ; - techRecord_adrDetails_additionalExaminerNotes?: string | null; + techRecord_adrDetails_additionalExaminerNotes?: AdditionalExaminerNotes[] | null; techRecord_adrDetails_applicantDetails_name?: string | null; techRecord_adrDetails_applicantDetails_street?: string | null; techRecord_adrDetails_applicantDetails_town?: string | null; @@ -238,6 +238,11 @@ export interface TechRecordPUTTRLTestable { techRecord_authIntoService_dateAuthorised?: string | null; techRecord_authIntoService_dateRejected?: string | null; } +export interface AdditionalExaminerNotes { + note?: string | null; + createdAtDate?: string | null; + lastUpdatedBy?: string | null; +} export interface TC3Details { tc3Type?: null | TC3Types; tc3PeriodicNumber?: string | null;