Package: wnpp Severity: wishlist Owner: Simon Josefsson <si...@josefsson.org>
* Package name : golang-github-invopop-jsonschema Version : 0.13.0-1 Upstream Author : Invopop * URL : https://github.com/invopop/jsonschema * License : Expat Programming Lang: Go Description : Generate JSON Schemas from Go types This package can be used to generate JSON Schemas (http://json- schema.org/latest/json-schema-validation.html) from Go types through reflection. . * Supports arbitrarily complex types, including interface{}, maps, slices, etc. * Supports json-schema features such as minLength, maxLength, pattern, format, etc. * Supports simple string and numeric enums. * Supports custom property fields via the jsonschema_extras struct tag. . This repository is a fork of the original jsonschema (https://github.com/alecthomas/jsonschema) by @alecthomas (https://github.com/alecthomas). At Invopop (https://invopop.com) we use jsonschema as a cornerstone in our GOBL library (https://github.com/invopop/gobl), and wanted to be able to continue building and adding features without taking up Alec's time. There have been a few significant changes that probably mean this version is a not compatible with with Alec's: . * The original was stuck on the draft-04 version of JSON Schema, we've now moved to the latest JSON Schema Draft 2020-12. * Schema IDs are added automatically from the current Go package's URL in order to be unique, and can be disabled with the Anonymous option. * Support for the FullyQualifyTypeName option has been removed. If you have conflicts, you should use multiple schema files with different IDs, set the DoNotReference option to true to hide definitions completely, or add your own naming strategy using the Namer property. * Support for yaml tags and related options has been dropped for the sake of simplification. There were a few inconsistencies (https://github.com/invopop/jsonschema/pull/21) around this that have now been fixed. This packages is a build dependency of github.com/in-toto/witness that I'm packaging. https://salsa.debian.org/go-team/packages/golang-github-invopop-jsonschema https://salsa.debian.org/jas/golang-github-invopop-jsonschema/-/pipelines /Simon
signature.asc
Description: PGP signature