{"id":13713898,"url":"https://github.com/santhosh-tekuri/jsonschema","last_synced_at":"2026-10-06T01:37:28.209Z","repository":{"id":40990936,"uuid":"90798191","full_name":"santhosh-tekuri/jsonschema","owner":"santhosh-tekuri","description":"JSONSchema (draft 2020-12, draft 2019-09, draft-7, draft-6, draft-4) Validation using Go","archived":false,"fork":false,"pushed_at":"2026-09-21T14:33:11.000Z","size":790,"stargazers_count":1278,"open_issues_count":43,"forks_count":139,"subscribers_count":8,"default_branch":"boon","last_synced_at":"2026-10-01T15:47:51.719Z","etag":null,"topics":["draft2019-09","draft2020-12","draft4","draft6","draft7","go","golang","golang-library","json","json-schema","jsonschema","validation","validator"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/santhosh-tekuri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"claude":null,"gemini":null,"cursor":null,"copilot":null,"dco":null,"cla":null,"disclosure":null}},"created_at":"2017-05-09T22:41:26.000Z","updated_at":"2026-09-30T06:25:09.000Z","dependencies_parsed_at":"2026-08-06T11:19:59.428Z","dependency_job_id":null,"html_url":"https://github.com/santhosh-tekuri/jsonschema","commit_stats":{"total_commits":81,"total_committers":2,"mean_commits":40.5,"dds":"0.012345679012345734","last_synced_commit":"86cca28795c9e34c43371b70608d243667bee2a9"},"previous_names":[],"tags_count":44,"template":false,"template_full_name":null,"purl":"pkg:github/santhosh-tekuri/jsonschema","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santhosh-tekuri%2Fjsonschema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santhosh-tekuri%2Fjsonschema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santhosh-tekuri%2Fjsonschema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santhosh-tekuri%2Fjsonschema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/santhosh-tekuri","download_url":"https://codeload.github.com/santhosh-tekuri/jsonschema/tar.gz/refs/heads/boon","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santhosh-tekuri%2Fjsonschema/sbom","scorecard":{"id":799934,"data":{"date":"2025-08-11","repo":{"name":"github.com/santhosh-tekuri/jsonschema","commit":"32784e992ee32ae73891b165b1319dd0bca87437"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.9,"checks":[{"name":"Maintained","score":9,"reason":"6 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 9","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 2/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/go.yaml:1","Warn: topLevel 'contents' permission set to 'write': .github/workflows/release.yaml:7","Warn: topLevel 'packages' permission set to 'write': .github/workflows/release.yaml:8","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yaml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/santhosh-tekuri/jsonschema/go.yaml/boon?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yaml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/santhosh-tekuri/jsonschema/go.yaml/boon?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go.yaml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/santhosh-tekuri/jsonschema/go.yaml/boon?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go.yaml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/santhosh-tekuri/jsonschema/go.yaml/boon?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/santhosh-tekuri/jsonschema/release.yaml/boon?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yaml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/santhosh-tekuri/jsonschema/release.yaml/boon?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v6.0.2 not signed: https://api.github.com/repos/santhosh-tekuri/jsonschema/releases/220670096","Warn: release artifact v6.0.1 not signed: https://api.github.com/repos/santhosh-tekuri/jsonschema/releases/159245306","Warn: release artifact v6.0.0 not signed: https://api.github.com/repos/santhosh-tekuri/jsonschema/releases/158845798","Warn: release artifact v6.0.0-beta1 not signed: https://api.github.com/repos/santhosh-tekuri/jsonschema/releases/154752390","Warn: release artifact v6.0.2 does not have provenance: https://api.github.com/repos/santhosh-tekuri/jsonschema/releases/220670096","Warn: release artifact v6.0.1 does not have provenance: https://api.github.com/repos/santhosh-tekuri/jsonschema/releases/159245306","Warn: release artifact v6.0.0 does not have provenance: https://api.github.com/repos/santhosh-tekuri/jsonschema/releases/158845798","Warn: release artifact v6.0.0-beta1 does not have provenance: https://api.github.com/repos/santhosh-tekuri/jsonschema/releases/154752390"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'boon'","Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T10:09:45.340Z","repository_id":40990936,"created_at":"2025-08-23T10:09:45.341Z","updated_at":"2025-08-23T10:09:45.341Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":342085742,"owners_count":37914448,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-10-01T02:00:06.691Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["draft2019-09","draft2020-12","draft4","draft6","draft7","go","golang","golang-library","json","json-schema","jsonschema","validation","validator"],"created_at":"2024-08-02T23:01:47.201Z","updated_at":"2026-10-06T01:37:28.202Z","avatar_url":"https://github.com/santhosh-tekuri.png","language":"Go","funding_links":[],"categories":["Repositories","Go"],"sub_categories":[],"readme":"# jsonschema v6.0.3\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![GoDoc](https://godoc.org/github.com/santhosh-tekuri/jsonschema?status.svg)](https://pkg.go.dev/github.com/santhosh-tekuri/jsonschema/v6)\n[![Go Report Card](https://goreportcard.com/badge/github.com/santhosh-tekuri/jsonschema/v6)](https://goreportcard.com/report/github.com/santhosh-tekuri/jsonschema/v6)\n[![Build Status](https://github.com/santhosh-tekuri/jsonschema/actions/workflows/go.yaml/badge.svg?branch=boon)](https://github.com/santhosh-tekuri/jsonschema/actions/workflows/go.yaml)\n[![codecov](https://codecov.io/gh/santhosh-tekuri/jsonschema/branch/boon/graph/badge.svg?token=JMVj1pFT2l)](https://codecov.io/gh/santhosh-tekuri/jsonschema/tree/boon)\n\nsee [godoc](https://pkg.go.dev/github.com/santhosh-tekuri/jsonschema/v6) for examples\n\n## Library Features\n\n- [x] pass [JSON-Schema-Test-Suite](https://github.com/json-schema-org/JSON-Schema-Test-Suite) excluding optional(compare with other impls at [bowtie](https://bowtie-json-schema.github.io/bowtie/#))\n  - [x] [![draft-04](https://img.shields.io/endpoint?url=https://bowtie.report/badges/go-jsonschema/compliance/draft4.json)](https://bowtie.report/#/dialects/draft4)\n  - [x] [![draft-06](https://img.shields.io/endpoint?url=https://bowtie.report/badges/go-jsonschema/compliance/draft6.json)](https://bowtie.report/#/dialects/draft6)\n  - [x] [![draft-07](https://img.shields.io/endpoint?url=https://bowtie.report/badges/go-jsonschema/compliance/draft7.json)](https://bowtie.report/#/dialects/draft7)\n  - [x] [![draft/2019-09](https://img.shields.io/endpoint?url=https://bowtie.report/badges/go-jsonschema/compliance/draft2019-09.json)](https://bowtie.report/#/dialects/draft2019-09)\n  - [x] [![draft/2020-12](https://img.shields.io/endpoint?url=https://bowtie.report/badges/go-jsonschema/compliance/draft2020-12.json)](https://bowtie.report/#/dialects/draft2020-12)\n- [x] detect infinite loop traps\n  - [x] `$schema` cycle\n  - [x] validation cycle\n- [x] custom `$schema` url\n- [x] vocabulary based validation\n- [x] custom regex engine\n- [x] format assertions\n  - [x] flag to enable in draft \u003e= 2019-09\n  - [x] custom format registration\n  - [x] built-in formats\n    - [x] regex, uuid\n    - [x] ipv4, ipv6\n    - [x] hostname, email\n    - [x] date, time, date-time, duration\n    - [x] json-pointer, relative-json-pointer\n    - [x] uri, uri-reference, uri-template\n    - [x] iri, iri-reference\n    - [x] period, semver\n- [x] content assertions\n  - [x] flag to enable in draft \u003e= 7\n  - [x] contentEncoding\n    - [x] base64\n    - [x] custom\n  - [x] contentMediaType\n    - [x] application/json\n    - [x] custom\n  - [x] contentSchema\n- [x] errors\n  - [x] introspectable\n  - [x] hierarchy\n    - [x] alternative display with `#`\n  - [x] output\n    - [x] flag\n    - [x] basic\n    - [x] detailed\n- [x] custom vocabulary\n    - enable via `$vocabulary` for draft \u003e=2019-19\n    - enable via flag for draft \u003c= 7\n- [x] mixed dialect support\n\n## CLI v0.7.0\n\nto install: `go install github.com/santhosh-tekuri/jsonschema/cmd/jv@latest`\n\nNote that the cli is versioned independently. you can see it in git tags `cmd/jv/v0.7.0`\n\n```\nUsage: jv [OPTIONS] SCHEMA [INSTANCE...]\n\nOptions:\n  -c, --assert-content    Enable content assertions with draft \u003e= 7\n  -f, --assert-format     Enable format assertions with draft \u003e= 2019\n      --cacert pem-file   Use the specified pem-file to verify the peer. The file may contain multiple CA certificates\n  -d, --draft version     Draft version used when '$schema' is missing. Valid values 4, 6, 7, 2019, 2020 (default 2020)\n  -h, --help              Print help information\n  -k, --insecure          Use insecure TLS connection\n  -o, --output format     Output format. Valid values simple, alt, flag, basic, detailed (default \"simple\")\n  -q, --quiet             Do not print errors\n  -v, --version           Print build information\n```\n\n- [x] exit code `1` for validation errors, `2` for usage errors\n- [x] validate both schema and multiple instances\n- [x] support both json and yaml files\n- [x] support standard input, use `-`\n- [x] quite mode with parsable output\n- [x] http(s) url support\n  - [x] custom certs for validation, use `--cacert`\n  - [x] flag to skip certificate verification, use `--insecure`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanthosh-tekuri%2Fjsonschema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanthosh-tekuri%2Fjsonschema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanthosh-tekuri%2Fjsonschema/lists"}