| 1 | Source: golang-github-invopop-jsonschema |
| 2 | Section: golang |
| 3 | Priority: optional |
| 4 | Maintainer: Debian Go Packaging Team <[email protected]> |
| 5 | Uploaders: |
| 6 | Simon Josefsson <[email protected]>, |
| 7 | Rules-Requires-Root: no |
| 8 | Build-Depends: |
| 9 | debhelper-compat (= 13), |
| 10 | dh-sequence-golang, |
| 11 | golang-any, |
| 12 | golang-github-stretchr-testify-dev, |
| 13 | golang-github-wk8-go-ordered-map-dev, |
| 14 | Testsuite: autopkgtest-pkg-go |
| 15 | Standards-Version: 4.7.1 |
| 16 | Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-invopop-jsonschema |
| 17 | Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-invopop-jsonschema.git |
| 18 | Homepage: https://github.com/invopop/jsonschema |
| 19 | XS-Go-Import-Path: github.com/invopop/jsonschema |
| 20 | |
| 21 | Package: golang-github-invopop-jsonschema-dev |
| 22 | Architecture: all |
| 23 | Multi-Arch: foreign |
| 24 | Depends: |
| 25 | golang-github-stretchr-testify-dev, |
| 26 | golang-github-wk8-go-ordered-map-dev, |
| 27 | ${misc:Depends}, |
| 28 | Description: Generate JSON Schemas from Go types (library) |
| 29 | This package can be used to generate JSON Schemas () from Go types through |
| 30 | reflection: http://json-schema.org/latest/json-schema-validation.html |
| 31 | . |
| 32 | * Supports arbitrarily complex types, including interface{}, maps, |
| 33 | slices, etc. |
| 34 | * Supports json-schema features such as minLength, maxLength, pattern, |
| 35 | format, etc. |
| 36 | * Supports simple string and numeric enums. |
| 37 | * Supports custom property fields via the jsonschema_extras struct tag. |
| 38 | . |
| 39 | This repository is a fork of the original jsonschema |
| 40 | (https://github.com/alecthomas/jsonschema) by @alecthomas |
| 41 | (https://github.com/alecthomas). There have |
| 42 | been a few significant changes that probably mean this version is a not |
| 43 | compatible with Alec's: |
| 44 | . |
| 45 | * The original was stuck on the draft-04 version of JSON Schema, we've |
| 46 | now moved to the latest JSON Schema Draft 2020-12. |
| 47 | * Schema IDs are added automatically from the current Go package's URL |
| 48 | in order to be unique, and can be disabled with the Anonymous option. |
| 49 | * Support for the FullyQualifyTypeName option has been removed. If you |
| 50 | have conflicts, you should use multiple schema files with different |
| 51 | IDs, set the DoNotReference option to true to hide definitions |
| 52 | completely, or add your own naming strategy using the Namer property. |
| 53 | * Support for yaml tags and related options has been dropped for the |
| 54 | sake of simplification. There were a few inconsistencies |
| 55 | (https://github.com/invopop/jsonschema/pull/21) around this that have |
| 56 | now been fixed. |
| 57 | . |
| 58 | This package contains the Go development library. |