jsonschema icon indicating copy to clipboard operation
jsonschema copied to clipboard

JSONSchema (draft 2020-12, draft 2019-09, draft-7, draft-6, draft-4) Validation using Go

Results 41 jsonschema issues
Sort by recently updated
recently updated
newest added
trafficstars

for large file validation will cause mess error and output will be huge: 1. support tuncated output should first level validation error 2. validationError GoString concat using byte Buffer for...

Make the `id` field from schema doc visible to user. This PD adds the `Id` field to `schema` struct and populates it using `draft.getID` method. Otherwise, the contents of the...

enhancement

Please provide compiled binaries with the releases.

Hi, I'm trying to validate a input using a json schema (draft 2022-12), but can't get any useful info for my users. I only get "a type is a string...

Hi, Is there any plan to provide internationalization support? Especially externalizing all the error messages so we can localize them. Thanks,

Hi, Are you open to provide a `.pre-commit-hooks.yaml` to use the `jv` CLI inside `pre-commit` ? Thanks !

enhancement
help wanted

Hey! Noticed something while building while using extensions. It seems that `Compile` short circuits validation when errors occur in a document. I imagined that it would validate all schemas even...

Supersedes https://github.com/santhosh-tekuri/jsonschema/pull/127

When given a bad JSON file the location of the error is not specified in the error. ```sh $ go run github.com/santhosh-tekuri/jsonschema/cmd/jv@latest --output detailed comment.schema bad.json instance bad.json: failed {...

Hello. First off, I appreciate your library and the jv command! I use it for some contract testing in a few projects, to ensure compliance with JSON schemas. It works...