{"id":20547206,"url":"https://github.com/fosfad/json-schema-typescript-definitions","last_synced_at":"2026-02-08T07:08:20.272Z","repository":{"id":39432460,"uuid":"379988921","full_name":"fosfad/json-schema-typescript-definitions","owner":"fosfad","description":"Types and interfaces for writing valid JSON schema in TypeScript.","archived":false,"fork":false,"pushed_at":"2024-09-01T03:28:09.000Z","size":591,"stargazers_count":1,"open_issues_count":9,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-30T11:50:40.558Z","etag":null,"topics":["json-schema","typescript-types"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@fosfad/json-schema-typescript-definitions","language":"TypeScript","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/fosfad.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-06-24T16:32:42.000Z","updated_at":"2024-06-20T19:56:44.000Z","dependencies_parsed_at":"2024-05-16T18:33:00.858Z","dependency_job_id":"2bca3799-03ac-44d1-8462-4caec8352032","html_url":"https://github.com/fosfad/json-schema-typescript-definitions","commit_stats":{"total_commits":42,"total_committers":2,"mean_commits":21.0,"dds":"0.023809523809523836","last_synced_commit":"09a97a1e8610855c25289dedf874e5a40a23b920"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/fosfad/json-schema-typescript-definitions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fosfad%2Fjson-schema-typescript-definitions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fosfad%2Fjson-schema-typescript-definitions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fosfad%2Fjson-schema-typescript-definitions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fosfad%2Fjson-schema-typescript-definitions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fosfad","download_url":"https://codeload.github.com/fosfad/json-schema-typescript-definitions/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fosfad%2Fjson-schema-typescript-definitions/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269319341,"owners_count":24397256,"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","status":"online","status_checked_at":"2025-08-07T02:00:09.698Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["json-schema","typescript-types"],"created_at":"2024-11-16T02:06:47.513Z","updated_at":"2026-02-08T07:08:20.242Z","avatar_url":"https://github.com/fosfad.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JSON Schema TypeScript definitions\n\nThis package contains TypeScript definitions for JSON Schema. It may be useful in all kind of TypeScript projects that work with JSON Schema directly.\n\nSupported JSON Schema drafts:\n\n- [2020-12](https://json-schema.org/draft/2020-12/json-schema-core.html)\n\n## Getting started\n\nInstall the definitions:\n\n```bash\nnpm install @fosfad/json-schema-typescript-definitions\n```\n\nImport `JsonSchema` type definition:\n\n```typescript\nimport { JsonSchema } from '@fosfad/json-schema-typescript-definitions/2020-12';\n```\n\n## Documentation\n\n### Exported types\n\nThe package exports 3 types: `JsonSchemaBoolean`, `JsonSchemaObject` and `JsonSchema`:\n\n- `JsonSchemaBoolean` stands for [Boolean JSON Schema](https://json-schema.org/draft/2020-12/json-schema-core.html#rfc.section.4.3.2);\n- `JsonSchemaObject` is an object with all possible JSON Schema keywords within;\n- `JsonSchema` is a union type between `JsonSchemaBoolean` and `JsonSchemaObject`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffosfad%2Fjson-schema-typescript-definitions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffosfad%2Fjson-schema-typescript-definitions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffosfad%2Fjson-schema-typescript-definitions/lists"}