{"id":22893941,"url":"https://github.com/agonbina/store-validate","last_synced_at":"2025-03-31T22:37:27.792Z","repository":{"id":20221068,"uuid":"23492786","full_name":"agonbina/store-validate","owner":"agonbina","description":"[Deprecated] A plugin to be used with @bredele/datastore to validate your models using a JSON Schema","archived":false,"fork":false,"pushed_at":"2014-11-21T02:56:42.000Z","size":216,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-07T01:27:17.512Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/agonbina.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-30T14:01:01.000Z","updated_at":"2023-03-08T05:13:09.000Z","dependencies_parsed_at":"2022-08-30T20:11:15.342Z","dependency_job_id":null,"html_url":"https://github.com/agonbina/store-validate","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/agonbina%2Fstore-validate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agonbina%2Fstore-validate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agonbina%2Fstore-validate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agonbina%2Fstore-validate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agonbina","download_url":"https://codeload.github.com/agonbina/store-validate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246552975,"owners_count":20795835,"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-12-13T23:16:19.469Z","updated_at":"2025-03-31T22:37:27.764Z","avatar_url":"https://github.com/agonbina.png","language":"JavaScript","readme":"You should not use this as its no longer supported\n===\n\n[ ![Codeship Status for agonbina/store-validate](https://www.codeship.io/projects/088558b0-14db-0132-8085-3ea9ac9fe796/status)](https://www.codeship.io/projects/33539)\n\nstore-validate\n====\nA [datastore](https://github.com/bredele/datastore/) plugin to validate your data using a JSON Schema.\nAlso works with [sleek](https://github.com/bredele/sleek/)\n\nInternally it uses [swagger-validate](https://github.com/signalfuse/swagger-validate) which works in the browser and nodeland\n\nExample:\n====\n```\nvar Store = require('datastore');\nvar validate = require('..');\n\nvar user = new Store({\n    username: 'agonbina',\n    age: 25\n});\nvar userSchema = {\n    properties: {\n        username: { type: 'string' },\n        age: { type: 'number' }\n    },\n    required: [ 'username', 'age' ]\n};\n\nuser.use(validate, userSchema);\n\nvar result = user.validate(); // No errors, 'result' is undefined\n\n```\n\nRun tests with **npm test**\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagonbina%2Fstore-validate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagonbina%2Fstore-validate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagonbina%2Fstore-validate/lists"}