{"id":20461035,"url":"https://github.com/ericgj/json-schema-model","last_synced_at":"2025-03-05T11:27:32.644Z","repository":{"id":11371204,"uuid":"13808115","full_name":"ericgj/json-schema-model","owner":"ericgj","description":"Builds models from JSON Schema correlations","archived":false,"fork":false,"pushed_at":"2014-01-27T04:49:17.000Z","size":280,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-16T00:35:46.496Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ericgj.png","metadata":{"files":{"readme":"Readme.md","changelog":"History.md","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":"2013-10-23T16:24:33.000Z","updated_at":"2014-07-01T02:06:30.000Z","dependencies_parsed_at":"2022-08-28T02:01:13.555Z","dependency_job_id":null,"html_url":"https://github.com/ericgj/json-schema-model","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericgj%2Fjson-schema-model","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericgj%2Fjson-schema-model/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericgj%2Fjson-schema-model/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericgj%2Fjson-schema-model/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ericgj","download_url":"https://codeload.github.com/ericgj/json-schema-model/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242017438,"owners_count":20058430,"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-11-15T12:22:56.626Z","updated_at":"2025-03-05T11:27:32.612Z","avatar_url":"https://github.com/ericgj.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# json-schema-model\n\n  **Please note this library is not ready for production use.**\n\n  Build view models (and collections) from [JSON Schema][json-schema]\n  correlations.\n\n  Models emit `change` and other 'lifecycle' events, suitable for integration\n  with reactive data-binding libraries (e.g., [component-reactive][reactive]\n  or [rivets][rivets].)\n\n  (For an example use in form validation, see\n  [test/integration.html][example].)\n\n  A draft REST interface using JSON Schema hypermedia specification is \n  optionally available for fetching/refreshing/creating/updating/deleting \n  models, see [sync.js][sync].\n\n## Features\n\n  - object- and property- level validation for models\n  - object- and items- level validation for collections\n  - input coercion (data type + defaults)\n  - REST interface using JSON Schema hypermedia\n  - extendable with custom model classes\n  - full support for any JSON Schema including combination conditions (anyOf, allOf, oneOf)\n  - access to descriptive schema data (description, name, links, etc) (planned)\n\n\n## Installation\n\n    $ component install ericgj/json-schema-model\n\n## API\n\nComing soon, for now check [test/integration.html][example] and [test/tests.js][tests].\n   \n\n## License\n\n  MIT\n\n\n[json-schema]: http://json-schema.org\n[reactive]: https://github.com/component/reactive\n[rivets]: https://github.com/mikeric/rivets\n[example]: test/integration.html\n[tests]: test/tests.js\n[sync]: sync.js\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericgj%2Fjson-schema-model","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericgj%2Fjson-schema-model","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericgj%2Fjson-schema-model/lists"}