Skip to content

fixed propertyDependencies $schema & $id; removed invalid test cases #624

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 14, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 2 additions & 16 deletions tests/draft-next/dynamicRef.json
Original file line number Diff line number Diff line change
Expand Up @@ -488,8 +488,8 @@
{
"description": "$dynamicAnchor inside propertyDependencies",
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "http://localhost:1234/draft2020-12/dynamicanchor-in-propertydependencies.json",
"$schema": "https://json-schema.org/draft/next/schema",
"$id": "http://localhost:1234/draft-next/dynamicanchor-in-propertydependencies.json",
"$defs": {
"inner": {
"$id": "inner",
Expand Down Expand Up @@ -557,20 +557,6 @@
"anotherProperty": "a string"
},
"valid": false
},
{
"description": "expected missing - additional property as an object is valid",
"data": {
"anotherProperty": {}
},
"valid": true
},
{
"description": "expected missing - additional property as not object is invalid",
"data": {
"anotherProperty": 42
},
"valid": false
}
]
}
Expand Down