Skip to content

Perhaps add test for "type": [] #673

Closed
@aha79

Description

@aha79

In types.json there are many tests, but none for "type" being an empty array. According to the spec this seems allowed

if the value of "type" is an array, then an instance validates successfully if its type matches any of the types indicated by the strings in the array

So "type": [] should be the same as the false schema.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions