From bcfb2f51eaceaaa993c14bfeb06c282c14b09319 Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Tue, 12 Mar 2024 12:09:33 +0000 Subject: [PATCH] chore: update `FileTypes` enum (#133) --- schema/schema.json | 18 ++++++++++++++++++ types/enums/FileTypes.ts | 2 ++ 2 files changed, 20 insertions(+) diff --git a/schema/schema.json b/schema/schema.json index 473bfd45..2484f3ef 100644 --- a/schema/schema.json +++ b/schema/schema.json @@ -1797,6 +1797,24 @@ "FileType": { "$id": "#FileType", "anyOf": [ + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Details of impact on access, roads, and rights of way", + "type": "string" + }, + "value": { + "const": "accessRoadsRightsOfWayDetails", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, { "additionalProperties": false, "properties": { diff --git a/types/enums/FileTypes.ts b/types/enums/FileTypes.ts index d99864e3..e8799764 100644 --- a/types/enums/FileTypes.ts +++ b/types/enums/FileTypes.ts @@ -2,6 +2,8 @@ * Values of `file.type` */ export const FileTypes = { + accessRoadsRightsOfWayDetails: + 'Details of impact on access, roads, and rights of way', affordableHousingStatement: 'Affordable housing statement', arboriculturistReport: 'Arboriculturist report', bankStatement: 'Bank statement',