{"id":15102773,"url":"https://github.com/ns16/tap-plugin-matchjsonschema","last_synced_at":"2026-01-20T01:05:56.445Z","repository":{"id":216345693,"uuid":"740997695","full_name":"ns16/tap-plugin-matchjsonschema","owner":"ns16","description":"TAP plugin for JSON schema","archived":false,"fork":false,"pushed_at":"2024-02-25T10:52:36.000Z","size":82,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T13:10:02.516Z","etag":null,"topics":["assert","assertion","json","json-schema","tap","tap-plugin","tapjs","tapjs-plugin","test","testing"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ns16.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-09T13:47:49.000Z","updated_at":"2024-03-07T09:51:40.000Z","dependencies_parsed_at":"2024-02-09T08:24:24.156Z","dependency_job_id":"1d34433a-5b8e-45e9-bf27-40472dc577ba","html_url":"https://github.com/ns16/tap-plugin-matchjsonschema","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"828c9f68fc50a94c7daf3dd611f9c7af8b235735"},"previous_names":["ns16/tap-plugin-matchjsonschema"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ns16%2Ftap-plugin-matchjsonschema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ns16%2Ftap-plugin-matchjsonschema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ns16%2Ftap-plugin-matchjsonschema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ns16%2Ftap-plugin-matchjsonschema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ns16","download_url":"https://codeload.github.com/ns16/tap-plugin-matchjsonschema/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247332525,"owners_count":20921852,"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":["assert","assertion","json","json-schema","tap","tap-plugin","tapjs","tapjs-plugin","test","testing"],"created_at":"2024-09-25T19:06:21.615Z","updated_at":"2026-01-20T01:05:56.418Z","avatar_url":"https://github.com/ns16.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `tap-plugin-matchjsonschema`\n\nPlugin for the [TAP](https://node-tap.org/) test framework. This plugin verify if the value matches the provided JSON schema.\n\nTo install the plugin, run the following command:\n```\nnpx tap plugin add tap-plugin-matchjsonschema\n```\n\nUsage example:\n```\nimport t from 'tap'\n\nconst schema = {\n  type: 'object',\n  required: ['id', 'name', 'username', 'email', 'createdAt', 'updatedAt'],\n  properties: {\n    id: { type: 'number', minimum: 1 },\n    name: { type: 'string', maxLength: 100 },\n    username: { type: 'string', maxLength: 100 },\n    email: { type: 'string', maxLength: 100, format: 'email' },\n    createdAt: { type: 'string', format: 'date-time' },\n    updatedAt: { type: 'string', format: 'date-time' }\n  },\n  additionalProperties: false\n}\n\nt.test('success', t =\u003e {\n  const data = {\n    id: 1,\n    name: 'Sheldon Bahringer',\n    username: 'Sheldon52',\n    email: 'Sheldon_Bahringer6@yahoo.com',\n    createdAt: '2023-07-01 00:00:00',\n    updatedAt: '2023-07-01 00:00:00'\n  }\n  t.matchJsonSchema(data, schema)\n  t.end()\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fns16%2Ftap-plugin-matchjsonschema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fns16%2Ftap-plugin-matchjsonschema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fns16%2Ftap-plugin-matchjsonschema/lists"}