Skip to content
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

Invalid properties not flagged error #12

Open
SrikrishnanS opened this issue Jun 7, 2021 · 0 comments
Open

Invalid properties not flagged error #12

SrikrishnanS opened this issue Jun 7, 2021 · 0 comments

Comments

@SrikrishnanS
Copy link

SrikrishnanS commented Jun 7, 2021

I used the following schema document, Values for 'a' and 'b' are not valid schemas.

{
"properties": {
"a":1,
"b":2
}
}

But validator wouldn't flag an error. Isn't this a bug?

com.qindesign.json.schema.Main: Mon Jun 07 12:43:52 PDT 2021 [INFO] Actual spec=null
com.qindesign.json.schema.Main: Mon Jun 07 12:43:52 PDT 2021 [INFO] Guessed spec=DRAFT_2019_09
com.qindesign.json.schema.Main: Mon Jun 07 12:43:52 PDT 2021 [INFO] Validation result: true (0.201s)
Basic output:
{
"valid": true,
"errors": []
}

Annotations:
{
"annotations": []
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant