全部搜尋項
trixie  ] [  sid  ]
[ 原始碼: golang-github-invopop-jsonschema  ]

套件:golang-github-invopop-jsonschema-dev(0.13.0-2)

golang-github-invopop-jsonschema-dev 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 golang-github-invopop-jsonschema

維護小組:

外部的資源:

相似套件:

Generate JSON Schemas from Go types (library)

This package can be used to generate JSON Schemas () from Go types through reflection: http://json-schema.org/latest/json-schema-validation.html

 * 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). There have been a few significant changes that probably mean this version is a not compatible 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 package contains the Go development library.

其他與 golang-github-invopop-jsonschema-dev 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 golang-github-invopop-jsonschema-dev

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 26。7 kB194。0 kB [檔案列表]