{"id":16331020,"url":"https://github.com/justsml/schema-generator","last_synced_at":"2025-03-22T22:31:53.511Z","repository":{"id":39246417,"uuid":"234159085","full_name":"justsml/schema-generator","owner":"justsml","description":"Convert JSON/CSV to Typed Data Interfaces - Automatically ✨🚀","archived":false,"fork":false,"pushed_at":"2023-01-05T05:52:57.000Z","size":3994,"stargazers_count":7,"open_issues_count":21,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-11T23:25:14.692Z","etag":null,"topics":["analyzer","code-generation","csv","detects-fields","generator","hacktoberfest","json","schema","schema-generator"],"latest_commit_sha":null,"homepage":"https://schema-generator.danlevy.net/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/justsml.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-15T19:43:25.000Z","updated_at":"2024-07-03T12:26:49.000Z","dependencies_parsed_at":"2023-02-03T14:30:49.627Z","dependency_job_id":null,"html_url":"https://github.com/justsml/schema-generator","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/justsml%2Fschema-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justsml%2Fschema-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justsml%2Fschema-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justsml%2Fschema-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justsml","download_url":"https://codeload.github.com/justsml/schema-generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221840493,"owners_count":16889804,"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":["analyzer","code-generation","csv","detects-fields","generator","hacktoberfest","json","schema","schema-generator"],"created_at":"2024-10-10T23:25:16.719Z","updated_at":"2024-10-28T14:29:32.445Z","avatar_url":"https://github.com/justsml.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Schema Generator](https://DataStep.io/)\n\n## Generate magical auto-typed code \u0026 database interfaces!\n\n\u003e An Open Source joint by [Dan Levy](https://danlevy.net/) ✨\n\nThis project ([Schema **Generator**](https://github.com/justsml/schema-generator)) is a web app with usage example for it's sister library [Schema **Analyzer**](https://github.com/justsml/schema-analyzer). The _Analyzer_ library provides an automatic data type analysis on any given array of objects.\n\nThe components included here support **JSON/CSV data!**\n\n## Mini Demo\n\n![./demo_80.gif](./demo_80.gif \"using built-in sample analysis\")\n\n### Features\n\n#### The primary goal is to support any input JSON/CSV and infer as much as possible. More data will generally yield better results.\n\n- [x] Support SQL \u0026 noSQL systems!\n- [x] Automatic type detection!\n- [x] Detects String \u0026 Number size constraints (for SQL backends)!\n- [x] Handles error/outliers intelligently\n- [x] Ignores error/outlier records!\n- [x] Smart field name formatting, snake-case vs. camel-case!\n- [x] Detects unique columns!\n- [x] Detects enum Fields!\n- [x] Detects `Not Null` fields!\n- [x] Extensible design, add new output/target with ease!\n- [ ] Nested data structure \u0026 multi-table relational output - **Coming soon**\n\n### Currently Supports...\n\n- [x] Mongoose Schema definition - https://mongoosejs.com/\n- [x] Knex Migration scripts - https://knexjs.org\n- [x] TypeScript Types\n- [ ] SQL DDL script (Data-definition language) - **Coming soon**\n- [ ] Validation Code for Libraries like `Yup` or `Joi`\n- [ ] JSON Schemas (for libraries like `ajv`)\n- [ ] Binary Encoders (protobufs, thrift, avro?)\n- [ ] JPA\n- [ ] Ruby/Rails\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustsml%2Fschema-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustsml%2Fschema-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustsml%2Fschema-generator/lists"}