Skip to content

Commit c82804f

Browse files
committed
Updated incorrect draft references
1 parent 953cb56 commit c82804f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tests/draft-next/optional/refOfUnknownKeyword.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
"description": "reference of a root arbitrary keyword ",
44
"schema": {
5-
"$schema": "https://json-schema.org/draft/2020-12/schema",
5+
"$schema": "https://json-schema.org/draft/next/schema",
66
"unknown-keyword": {"type": "integer"},
77
"properties": {
88
"bar": {"$ref": "#/unknown-keyword"}
@@ -24,7 +24,7 @@
2424
{
2525
"description": "reference of a root arbitrary keyword with encoded ref",
2626
"schema": {
27-
"$schema": "https://json-schema.org/draft/2020-12/schema",
27+
"$schema": "https://json-schema.org/draft/next/schema",
2828
"unknown/keyword": {"type": "integer"},
2929
"properties": {
3030
"bar": {"$ref": "#/unknown~1keyword"}
@@ -46,7 +46,7 @@
4646
{
4747
"description": "reference of an arbitrary keyword of a sub-schema",
4848
"schema": {
49-
"$schema": "https://json-schema.org/draft/2020-12/schema",
49+
"$schema": "https://json-schema.org/draft/next/schema",
5050
"properties": {
5151
"foo": {"unknown-keyword": {"type": "integer"}},
5252
"bar": {"$ref": "#/properties/foo/unknown-keyword"}

tests/draft2019-09/optional/refOfUnknownKeyword.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
"description": "reference of a root arbitrary keyword ",
44
"schema": {
5-
"$schema": "https://json-schema.org/draft/2020-12/schema",
5+
"$schema": "https://json-schema.org/draft/2019-09/schema",
66
"unknown-keyword": {"type": "integer"},
77
"properties": {
88
"bar": {"$ref": "#/unknown-keyword"}
@@ -24,7 +24,7 @@
2424
{
2525
"description": "reference of a root arbitrary keyword with encoded ref",
2626
"schema": {
27-
"$schema": "https://json-schema.org/draft/2020-12/schema",
27+
"$schema": "https://json-schema.org/draft/2019-09/schema",
2828
"unknown/keyword": {"type": "integer"},
2929
"properties": {
3030
"bar": {"$ref": "#/unknown~1keyword"}
@@ -46,7 +46,7 @@
4646
{
4747
"description": "reference of an arbitrary keyword of a sub-schema",
4848
"schema": {
49-
"$schema": "https://json-schema.org/draft/2020-12/schema",
49+
"$schema": "https://json-schema.org/draft/2019-09/schema",
5050
"properties": {
5151
"foo": {"unknown-keyword": {"type": "integer"}},
5252
"bar": {"$ref": "#/properties/foo/unknown-keyword"}

0 commit comments

Comments
 (0)