Skip to content

Commit

Permalink
Simplify identity check schema (#225)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
gregtyler authored Jul 3, 2024
1 parent e08e3b3 commit f879db3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/schemas/2024-10/donor-details.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@
"enum": ["en", "cy"]
},
"identityCheck": {
"allOf": [{"$ref": "#/$defs/IdentityCheck"}],
"type": "object"
"$ref": "#/$defs/IdentityCheck"
}
}
},
Expand Down

0 comments on commit f879db3

Please sign in to comment.