{"id":23841741,"url":"https://github.com/playerony/validator-js","last_synced_at":"2026-05-20T03:30:16.422Z","repository":{"id":57137210,"uuid":"144453720","full_name":"playerony/validator-js","owner":"playerony","description":null,"archived":false,"fork":false,"pushed_at":"2018-10-21T15:33:06.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-03T06:02:40.075Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/playerony.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-12T09:25:05.000Z","updated_at":"2018-10-21T15:33:07.000Z","dependencies_parsed_at":"2022-09-01T04:01:10.403Z","dependency_job_id":null,"html_url":"https://github.com/playerony/validator-js","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/playerony%2Fvalidator-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playerony%2Fvalidator-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playerony%2Fvalidator-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playerony%2Fvalidator-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/playerony","download_url":"https://codeload.github.com/playerony/validator-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240127088,"owners_count":19751938,"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":"2025-01-02T18:01:38.208Z","updated_at":"2026-05-20T03:30:16.334Z","avatar_url":"https://github.com/playerony.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# validator-js\n\n## Usage\n\nSimple object validation using JSON schemas - another part of my project at University\n\n###\n\n## Example\n\n```javascript\nconst data = {\n  name: \"test@gmail.com\",\n  objects: [\"13.12.1995\", \"13.12.1995\"]\n};\n\nconst schema = {\n  parameters: {\n    name: {\n      type: \"string\",\n      format: \"email\"\n    },\n    objects: {\n      type: \"array\",\n      items: {\n        type: \"string\",\n        format: \"date\"\n      }\n    }\n  },\n  required: [\"name\", \"objects\"]\n};\n\nvalidate(data, schema);\n```\n\n###\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplayerony%2Fvalidator-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplayerony%2Fvalidator-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplayerony%2Fvalidator-js/lists"}