{"id":18041630,"url":"https://github.com/katyo/jsonschema","last_synced_at":"2025-04-09T19:21:13.383Z","repository":{"id":62441443,"uuid":"298376682","full_name":"katyo/jsonschema","owner":"katyo","description":"JSON Schema hacking toolset","archived":false,"fork":false,"pushed_at":"2024-10-11T09:02:09.000Z","size":97,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T21:11:25.450Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/katyo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-24T19:31:05.000Z","updated_at":"2023-03-09T18:37:55.000Z","dependencies_parsed_at":"2023-02-12T12:10:19.892Z","dependency_job_id":null,"html_url":"https://github.com/katyo/jsonschema","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katyo%2Fjsonschema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katyo%2Fjsonschema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katyo%2Fjsonschema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katyo%2Fjsonschema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/katyo","download_url":"https://codeload.github.com/katyo/jsonschema/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248095157,"owners_count":21046799,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-30T16:11:08.054Z","updated_at":"2025-04-09T19:21:13.351Z","avatar_url":"https://github.com/katyo.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JSON Schema hacking toolset\n\n[![License: Apache-2.0](https://img.shields.io/badge/License-Apache--2.0-brightgreen.svg)](https://opensource.org/licenses/Apache-2.0)\n[![Crates.io Package](https://img.shields.io/crates/v/jsonst.svg?style=popout)](https://crates.io/crates/jsonst)\n[![Docs.rs API Docs](https://docs.rs/jsonst/badge.svg)](https://docs.rs/jsonst)\n[![Rust](https://github.com/katyo/jsonschema/workflows/Rust/badge.svg)](https://github.com/katyo/jsonschema/actions?query=workflow%3ARust)\n\nThis is all-in-one toolset for __JSON Schema__.\n\n## Usecases\n\nThis tools allow you:\n\n- Search schemas by pattern on [schemastore.org](https://schemastore.org/)\n- Retrieve found schema from _schemastore_\n- Infer schema from data-sample to help start hacking it (thanks to [infers-jsonschema](https://github.com/Stranger6667/infers-jsonschema))\n- [TODO] Optimize existing schema (thanks to [jsonschema-equivalent](https://github.com/macisamuele/jsonschema-equivalent))\n- Validate existing data using schema from file or from _schemastore_ using one of supported validator\n\n## Configuration\n\nA rich set of features allows costomize this tool before build.\n\n- Support multiple JSON Schema validators (`feature = \"all-validators\"` enables all)\n  - [valico](https://crates.io/crates/valico) (draft-6 only, `feature = \"valico\"`)\n  - [jsonschema](https://crates.io/crates/jsonschema) (draft-4/6/7, `feature = \"jsonschema\"`)\n  - [jsonschema-valid](https://crates.io/crates/jsonschema-valid) (draft-4/6/7, `feature = \"jsonschema-valid\"`)\n- Support many input data formats (`feature = \"all-parsers\"` enables all)\n  - Text formats (`feature = \"txt-parsers\"` enables all)\n    - json (default)\n    - json5 (`feature = \"json5\"`)\n    - yaml (`feature = \"yaml\"`)\n    - toml (`feature = \"toml\"`)\n    - ron (`feature = \"ron\"`)\n  - Binary formats (`feature = \"bin-parsers\"` enable all)\n    - bson (`feature = \"bson\"`)\n    - cbor (`feature = \"cbor\"`)\n    - pickle (`feature = \"pickle\"`)\n- Integration with [schemastore.org](https://schemastore.org/) (`feature = \"schemastore\"`)\n  - Adds `search` command which allows find schemas by patterns\n  - Adds `retrieve` command which download schema from store\n- An `infer` command which can help infer JSON Schema from data (`feature = \"infers\"`)\n\n## Validators comparison\n\n| Validator        | Pros                     | Cons                  |\n| ---------        | ----                     | ----                  |\n| valico           | Meaningful error reports | Slow validation       |\n| jsonschema       | Fast validation          | Obscure error reports |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatyo%2Fjsonschema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkatyo%2Fjsonschema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatyo%2Fjsonschema/lists"}