Skip to content

A wrong check if root is $ref #13

@weerp

Description

@weerp

If schema file is as bellow
{
"$schema": "http://json-schema.org/draft-04/schema",
"definitions": {
"positiveInteger": {
"type": "integer",
"minimum": 0
}
},
"$ref": "#definitions/positiveInteger"
}
and data is -100
the check should return false.

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