From 4c61f2c25e2ff27c94d513c7f06c185c67b8f99d Mon Sep 17 00:00:00 2001 From: Grzegorz Dobrowolski Date: Wed, 3 May 2017 11:15:30 +0100 Subject: [PATCH] PE-2792: Fix schema discrepancies --- public/api/conf/1.0/schemas/userinfo.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/public/api/conf/1.0/schemas/userinfo.json b/public/api/conf/1.0/schemas/userinfo.json index 157455e..3f42e4b 100644 --- a/public/api/conf/1.0/schemas/userinfo.json +++ b/public/api/conf/1.0/schemas/userinfo.json @@ -60,7 +60,12 @@ "identifiers": { "type": "array", "description": "End-user's identifiers associated to this HMRC service.", - "example": "UTR : 123456789013" + "example": [ + { + "key": "UTR", + "value": "174371121" + } + ] }, "state": { "type": "string", @@ -80,7 +85,7 @@ "example": 200 } }, - "required": ["service", "identifiers", "state"] + "required": ["key", "identifiers", "state"] } } }