Santhosh Tekuri Jsonschema Versions Save

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

v6.0.0-beta1

3 weeks ago

Improvements

  • mixed dialect support
  • custom $vocabulary support
  • sermver format
  • support for localisation for ValidationError
  • command jv
    • support stdin
    • --insecure and --cacert flag
    • --quiet flag

v5.3.1

1 month ago

Features

  • improve performance of uniqueItems for large array

v5.3.0

1 year ago

Features

  • formats can be registered with Compiler
  • mediaTypes can be registered with Compiler

Bug Fixes

  • correct unevaluatedXXX keyword spelling
  • ignore optional vocabularies
  • $dynamicRef without anchor is identical to $ref

cmd/jv/v0.4.0

1 year ago
  • correct version in go.mod

v5.2.0

1 year ago
  • Schema: add Draft field
  • Draft: add URL() and String()

v5.1.1

1 year ago

fix: formats must be validated for draft <2019

v5.1.0

1 year ago
  • implements $vocabulary

v5.0.2

1 year ago

types: add missing golang number variants

v5.0.1

1 year ago
  • support $ref with URN+pointer and URN+fragment
  • keyword expecting int can have decimal

v5.0.0

2 years ago

New Features:

  • license changed from BSD-3 Clause to Apache-2.0
  • implements draft 2020-12 specification
  • implement output formats flag, basic and detailed
  • cmd/jv: add -output flag
  • extract $comment, writeOnly, deprecated metadata annotations

Incompatible Changes:

  • if no $schema specified, default to Draft2020
  • replaced SchemeNotRegisteredError with LoaderNotFoundError
  • ValidateInterface method renamed to Validate
  • ValidationError now captures keywordLocations