Skip to content

Commit

Permalink
PE-2792: Fix schema discrepancies
Browse files Browse the repository at this point in the history
  • Loading branch information
Grzegorz Dobrowolski committed May 3, 2017
1 parent 1ee2fdb commit 4c61f2c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions public/api/conf/1.0/schemas/userinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -80,7 +85,7 @@
"example": 200
}
},
"required": ["service", "identifiers", "state"]
"required": ["key", "identifiers", "state"]
}
}
}

0 comments on commit 4c61f2c

Please sign in to comment.