yajsv icon indicating copy to clipboard operation
yajsv copied to clipboard

Yet Another JSON Schema Validator [CLI]

Results 10 yajsv issues
Sort by recently updated
recently updated
newest added

We're validating embedded content in various YAML files, basically we have to grab what's inside a doc, and send the output to the validator's way. The most trivial way is...

As a reference, the schema can be hosted on a remote/centralized source. It would be nice if yajsv can download the schema from a HTTPS URL.

Currently yajsv allows duplicate keys in a map, which is disallowed by the YAML spec. `ghodss/yaml` provides `YAMLToJSONStrict` to return an error in this case, would it make sense for...

Update installation instructions to specify the latest version. Otherwise newer versions of `go` complain: ```console $ go install github.com/neilpa/yajsv go: 'go install' requires a version when current directory is not...

Thank you for building for Apple M1. Please also build for Linux `arm64`.

The [xeipuuv/gojsonschema](https://github.com/xeipuuv/gojsonschema) repo is claimed to be [unmaintained](https://github.com/xeipuuv/gojsonschema/pull/352#issuecomment-1292603536) and there seems to be many unanswered issues and PRs.

Hey @neilpa, thanks for building `yasjv`! We are planning to use it in production and wanted to help on the maintenance side. I added `golangci-lint` to CI and bumped the...

Per my reading of the anchors spec the below should pass validation, and [https://www.jsonschemavalidator.net/s/tOTgHWLN](other validators seem to agree). The intent is "the value of a property should be (something), or...

Allowing the json to be comming in from stdin would allow piped operations like consuming a kafka topic and validating all messages. When no json file is specified, the program...

Would you be interested in a PR that adds an `-e` flag that means "print nothing to standard out"? My use case is using `yajsv` in a CI pipeline. In...