From f879db3c4d0f8b2734681ca83d7daa68bf865e21 Mon Sep 17 00:00:00 2001 From: Greg Tyler Date: Wed, 3 Jul 2024 13:14:03 +0100 Subject: [PATCH] Simplify identity check schema (#225) Rather than saying it must be `#/$defs/IdentityCheck` and an object, just require it to be `#/$defs/IdentityCheck`. This also fixes the fixtures editor JS. #patch --- docs/schemas/2024-10/donor-details.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/schemas/2024-10/donor-details.json b/docs/schemas/2024-10/donor-details.json index f81e566e..41ff5edf 100644 --- a/docs/schemas/2024-10/donor-details.json +++ b/docs/schemas/2024-10/donor-details.json @@ -46,8 +46,7 @@ "enum": ["en", "cy"] }, "identityCheck": { - "allOf": [{"$ref": "#/$defs/IdentityCheck"}], - "type": "object" + "$ref": "#/$defs/IdentityCheck" } } },