Skip to content

Invalid properties not flagged error #12

@SrikrishnanS

Description

@SrikrishnanS

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": []
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions