Skip to content

Use jsonschema.Validator.validate for JSON validation #338

Description

@alyssadai

When multiple items in a JSON fail schema validation, jsonschema.validate picks and only returns one using some heuristic.

If we care about returning ALL invalid items in a ValidationError, we may want to use something like a Draft7Validator instance instead.

Originally posted by @surchs in #337 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    _flag:stale[BOT ONLY] Flag issue that hasn't been updated in a while and needs to be triaged againgood first issueGood issue for a new contributor.refactorSimplifying or restructuring existing code or documentation.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions