Skip to content

Commit 9cc6333

Browse files
committed
Merge branch 'main' of github.com:sourcemeta/learnjsonschema.com
2 parents 450ff4f + dfb9a43 commit 9cc6333

File tree

3 files changed

+22
-2
lines changed

3 files changed

+22
-2
lines changed

.devcontainer/devcontainer.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "hugo extended install for learnjsonschema.com",
3+
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
4+
"features": {
5+
"ghcr.io/devcontainers/features/hugo:1": {
6+
"version": "latest",
7+
"extended": true
8+
},
9+
"ghcr.io/devcontainers/features/node": {
10+
"version": "lts",
11+
"installNpm": true
12+
}
13+
},
14+
"forwardPorts": [
15+
1313
16+
],
17+
"postCreateCommand": "npm i"
18+
}

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)