Skip to content

Commit 197cb33

Browse files
committed
fixed propertyDependencies $schema & $id; removed invalid test cases
1 parent a390e32 commit 197cb33

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

tests/draft-next/dynamicRef.json

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -488,8 +488,8 @@
488488
{
489489
"description": "$dynamicAnchor inside propertyDependencies",
490490
"schema": {
491-
"$schema": "https://json-schema.org/draft/2020-12/schema",
492-
"$id": "http://localhost:1234/draft2020-12/dynamicanchor-in-propertydependencies.json",
491+
"$schema": "https://json-schema.org/draft/next/schema",
492+
"$id": "http://localhost:1234/draft-next/dynamicanchor-in-propertydependencies.json",
493493
"$defs": {
494494
"inner": {
495495
"$id": "inner",
@@ -557,20 +557,6 @@
557557
"anotherProperty": "a string"
558558
},
559559
"valid": false
560-
},
561-
{
562-
"description": "expected missing - additional property as an object is valid",
563-
"data": {
564-
"anotherProperty": {}
565-
},
566-
"valid": true
567-
},
568-
{
569-
"description": "expected missing - additional property as not object is invalid",
570-
"data": {
571-
"anotherProperty": 42
572-
},
573-
"valid": false
574560
}
575561
]
576562
}

0 commit comments

Comments
 (0)