Skip to content

Commit

Permalink
Fix enum definition according to spec.
Browse files Browse the repository at this point in the history
Issue: json-schema-org#717

enum no longer requires minimum number of items or unique items, in accordance with the spec.
  • Loading branch information
Relequestual committed May 21, 2019
1 parent 9b834f2 commit 003d885
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions meta/validation.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@
"const": true,
"enum": {
"type": "array",
"items": true,
"minItems": 1,
"uniqueItems": true
"items": true
},
"type": {
"anyOf": [
Expand Down

0 comments on commit 003d885

Please sign in to comment.