Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 1.2% on proxy.golang.org
Top 0.2% dependent packages on proxy.golang.org
Top 0.2% dependent repos on proxy.golang.org
Top 3.1% forks on proxy.golang.org
Top 0.1% docker downloads on proxy.golang.org

proxy.golang.org : github.com/santhosh-tekuri/jsonschema/v5

Package jsonschema provides json-schema compilation and validation. Features: The schema is compiled against the version specified in "$schema" property. If "$schema" property is missing, it uses latest draft which currently implemented by this library. You can force to use specific draft, when "$schema" is missing, as follows: This package supports loading json-schema from filePath and fileURL. To load json-schema from HTTPURL, add following import: you can validate yaml documents. see https://play.golang.org/p/sJy1qY7dXgA Example_fromString shows how to load schema from string. Example_fromStrings shows how to load schema from more than one string. Example_userDefinedContent shows how to define "hex" contentEncoding and "application/xml" contentMediaType Example_userDefinedFormat shows how to define 'odd-number' format. Example_userDefinedLoader shows how to define custom schema loader. we are implementing a "map" protocol which servers schemas from go map variable.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/santhosh-tekuri/jsonschema/v5
Keywords: draft2019-09, draft2020-12, draft4, draft6, draft7, go, golang, golang-library, json, json-schema, jsonschema, validation, validator
License: Apache-2.0
Latest release: 10 months ago
First release: over 2 years ago
Namespace: github.com/santhosh-tekuri/jsonschema
Dependent packages: 815
Dependent repositories: 1,013
Stars: 571 on GitHub
Forks: 63 on GitHub
Docker dependents: 280
Docker downloads: 2,655,083,512
See more repository details: repos.ecosyste.ms
Last synced: 8 days ago

    Loading...
    Readme
    Loading...