Skip to content

Commit 3f7a148

Browse files
authored
Fix/enum-keyword (#291)
1 parent 4badb41 commit 3f7a148

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

content/2019-09/validation/enum.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
keyword: "enum"
33
signature: "Array<Any>"
4-
value: This keyword must be set to a *non-empty* array of unique JSON values
4+
value: This keyword must be set to an array of unique JSON values
55
summary: "Validation succeeds if the instance is equal to one of the elements in this keyword's array value."
66
kind: [ "assertion" ]
77
instance: [ "any" ]

content/2020-12/validation/enum.markdown

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
keyword: "enum"
33
signature: "Array<Any>"
4-
value: This keyword must be set to a *non-empty* array of unique JSON values
4+
value: This keyword must be set to an array of unique JSON values
55
summary: "Validation succeeds if the instance is equal to one of the elements in this keyword's array value."
66
kind: [ "assertion" ]
77
instance: [ "any" ]
@@ -11,6 +11,8 @@ tests:
1111
- draft2020-12/enum.json
1212
index: -99998
1313
introduced_in: draft1
14+
changed_in:
15+
- 2019-09
1416
related:
1517
- vocabulary: validation
1618
keyword: const

0 commit comments

Comments
 (0)