Skip to content

Consider replacing JSON Schema validation library #20

@ianshade

Description

@ianshade

In certain scenarios the validator from the jsonschema package doesn't work in the browser out of the box, without additionally installing a polyfill (tdegrunt/jsonschema#367), because it only supports Node.js (tdegrunt/jsonschema#383 (comment)). This is an issue that I encountered in a project using Vite.
It also appears this library is the slowest one available - see https://github.com/ebdrup/json-schema-benchmark.
Without doing much research, my initial recommendation would be to switch to https://github.com/ajv-validator/ajv.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions