From fdb1a7da7cb8ae4291672321252dc0c9c23ee0e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dafydd=20Ll=C5=B7r=20Pearson?= Date: Wed, 7 Feb 2024 17:04:29 +0000 Subject: [PATCH] chore: Add @next schema for diff --- schema/schema.json | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/schema/schema.json b/schema/schema.json index 407c50c8..d16e5965 100644 --- a/schema/schema.json +++ b/schema/schema.json @@ -4381,6 +4381,9 @@ "service": { "additionalProperties": false, "properties": { + "files": { + "$ref": "#/definitions/RequestedFiles" + }, "flowId": { "$ref": "#/definitions/UUID" }, @@ -4390,7 +4393,8 @@ }, "required": [ "flowId", - "url" + "url", + "files" ], "type": "object" }, @@ -20504,6 +20508,37 @@ }, "type": "object" }, + "RequestedFiles": { + "$id": "#RequestedFiles", + "additionalProperties": false, + "description": "File types requested by this service. Schema[\"files\"] will be a subset of this list based on the user's journey through the service.", + "properties": { + "optional": { + "items": { + "$ref": "#/definitions/FileType" + }, + "type": "array" + }, + "recommended": { + "items": { + "$ref": "#/definitions/FileType" + }, + "type": "array" + }, + "required": { + "items": { + "$ref": "#/definitions/FileType" + }, + "type": "array" + } + }, + "required": [ + "required", + "recommended", + "optional" + ], + "type": "object" + }, "Response": { "additionalProperties": false, "properties": {