# json-schema

> JSON Schema validation and specifications

Latest version **0.4.0** (published 2021-11-09) · (AFL-2.1 OR BSD-3-Clause) license · 0 weekly downloads

## Install

```sh
npm install json-schema
pnpm add json-schema
yarn add json-schema
bun add json-schema
```

## Health

**Score 23/100 (F)** — status: abandoned.

Positive: has types package; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.4.0 |
| Published | 2021-11-09 |
| First published | 2012-07-06 |
| Weekly downloads | 0 |
| License | (AFL-2.1 OR BSD-3-Clause) |
| TypeScript types | separate (@types/json-schema) |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 25.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 529 |
| Author | Kris Zyp |
| Maintainers | kriszyp |
| Keywords | json, schema |

## Links

- npm: https://www.npmjs.com/package/json-schema
- Repository: https://github.com/kriszyp/json-schema
- Homepage: https://github.com/kriszyp/json-schema#readme
- Issues: https://github.com/kriszyp/json-schema/issues
- npm.io page: https://npm.io/package/json-schema

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.4.0 (latest) — 2021-11-09
- 0.3.0 — 2021-01-02
- 0.2.5 — 2019-09-06
- 0.2.4 — 2019-09-06
- 0.2.3 — 2016-09-12
- 0.2.2 — 2012-08-23
- 0.2.0 — 2012-07-06

## README

This is a historical repository for the early development of the JSON Schema specification and implementation. This package is considered "finished": it holds the earlier draft specification and a simple, efficient, lightweight implementation of the original core elements of JSON Schema. This repository does not house the latest specifications nor does it implement the latest versions of JSON Schema. This package seeks to maintain the stability (in behavior and size) of this original implementation for the sake of the numerous packages that rely on it. For the latest JSON Schema specifications and implementations, please visit the [JSON Schema site](https://json-schema.org/) (or the [respository](https://github.com/json-schema-org/json-schema-spec)).

Code is licensed under the AFL or BSD 3-Clause license.

---
_Source: https://npm.io/package/json-schema · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
