{"id":15492299,"url":"https://github.com/stranger6667/infers-jsonschema","last_synced_at":"2025-04-22T19:26:25.346Z","repository":{"id":62440872,"uuid":"243628705","full_name":"Stranger6667/infers-jsonschema","owner":"Stranger6667","description":"A crate to detect JSON schema from sample data","archived":false,"fork":false,"pushed_at":"2020-09-01T10:30:40.000Z","size":725,"stargazers_count":8,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-19T10:44:50.482Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Stranger6667.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"Stranger6667"}},"created_at":"2020-02-27T22:21:10.000Z","updated_at":"2023-06-02T06:22:01.000Z","dependencies_parsed_at":"2022-11-01T22:15:55.000Z","dependency_job_id":null,"html_url":"https://github.com/Stranger6667/infers-jsonschema","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stranger6667%2Finfers-jsonschema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stranger6667%2Finfers-jsonschema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stranger6667%2Finfers-jsonschema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stranger6667%2Finfers-jsonschema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Stranger6667","download_url":"https://codeload.github.com/Stranger6667/infers-jsonschema/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250307700,"owners_count":21409120,"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-02T08:00:09.094Z","updated_at":"2025-04-22T19:26:25.324Z","avatar_url":"https://github.com/Stranger6667.png","language":"Rust","funding_links":["https://github.com/sponsors/Stranger6667"],"categories":[],"sub_categories":[],"readme":"# infers-jsonschema\n\nThis crate provides JSON Schema inference from input data.\n\nExample:\n\n```rust\nuse infers_jsonschema::infer;\nuse serde_json::json;\n\nfn main() {\n    let data = json!([\"foo\", \"bar\"]);\n    let schema = infer(\u0026data);\n    assert_eq!(\n        schema,\n        json!({\n            \"type\": \"array\",\n            \"items\": {\"type\": \"string\"},\n            \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n        })\n    )\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstranger6667%2Finfers-jsonschema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstranger6667%2Finfers-jsonschema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstranger6667%2Finfers-jsonschema/lists"}