Skip to content

Commit 3f783d9

Browse files
committed
fixing draft 6 & 7 non-id tests
1 parent 5768c68 commit 3f783d9

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

tests/draft6/id.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@
77
"id_in_enum": {
88
"enum": [
99
{
10-
"id": "https://localhost:1234/my_identifier.json",
10+
"$id": "https://localhost:1234/my_identifier.json",
1111
"type": "null"
1212
}
1313
]
1414
},
1515
"real_id_in_schema": {
16-
"id": "https://localhost:1234/my_identifier.json",
16+
"$id": "https://localhost:1234/my_identifier.json",
1717
"type": "string"
1818
},
1919
"zzz_id_in_const": {
2020
"const": {
21-
"id": "https://localhost:1234/my_identifier.json",
21+
"$id": "https://localhost:1234/my_identifier.json",
2222
"type": "null"
2323
}
2424
}
@@ -32,7 +32,7 @@
3232
{
3333
"description": "exact match to enum, and type matches",
3434
"data": {
35-
"id": "https://localhost:1234/my_identifier.json",
35+
"$id": "https://localhost:1234/my_identifier.json",
3636
"type": "null"
3737
},
3838
"valid": true

tests/draft7/id.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@
77
"id_in_enum": {
88
"enum": [
99
{
10-
"id": "https://localhost:1234/my_identifier.json",
10+
"$id": "https://localhost:1234/my_identifier.json",
1111
"type": "null"
1212
}
1313
]
1414
},
1515
"real_id_in_schema": {
16-
"id": "https://localhost:1234/my_identifier.json",
16+
"$id": "https://localhost:1234/my_identifier.json",
1717
"type": "string"
1818
},
1919
"zzz_id_in_const": {
2020
"const": {
21-
"id": "https://localhost:1234/my_identifier.json",
21+
"$id": "https://localhost:1234/my_identifier.json",
2222
"type": "null"
2323
}
2424
}
@@ -32,7 +32,7 @@
3232
{
3333
"description": "exact match to enum, and type matches",
3434
"data": {
35-
"id": "https://localhost:1234/my_identifier.json",
35+
"$id": "https://localhost:1234/my_identifier.json",
3636
"type": "null"
3737
},
3838
"valid": true

0 commit comments

Comments
 (0)