# @tsed/schema

> JsonSchema module for Ts.ED Framework

Latest version **8.43.3** (published 2026-10-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install @tsed/schema
pnpm add @tsed/schema
yarn add @tsed/schema
bun add @tsed/schema
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 8.43.3 |
| Published | 2026-10-09 |
| First published | 2020-07-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 6 |
| Unpacked size | 702.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 3088 |
| Author | Romain Lenzotti |
| Maintainers | romakita |
| Keywords | JsonSchema, TypeScript, class, classes, decorators, json schema, models, tsed |

## Links

- npm: https://www.npmjs.com/package/@tsed/schema
- Repository: https://github.com/tsedio/tsed
- Homepage: https://github.com/tsedio/tsed/tree/production/packages/specs/schema
- Issues: https://github.com/tsedio/tsed/issues
- npm.io page: https://npm.io/package/@tsed/schema

## Dependencies (6)

- [tslib](https://npm.io/package/tslib.md) >=2.7.0
- [statuses](https://npm.io/package/statuses.md) ^2.0.1
- [picomatch](https://npm.io/package/picomatch.md) 4.0.4
- [change-case](https://npm.io/package/change-case.md) ^5.4.4
- [json-schema](https://npm.io/package/json-schema.md) 0.4.0
- [@tsed/openspec](https://npm.io/package/@tsed/openspec.md) 8.43.3

## 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

- 8.43.3 (latest) — 2026-10-09
- 8.38.0-beta.6 (beta) — 2026-08-17
- 8.37.0-rc.1 (rc) — 2026-07-21
- 7.87.9 (v7-latest) — 2025-12-02
- 8.0.0-alpha.12 (alpha) — 2024-10-06
- 5.67.2 (maintenance) — 2022-09-27
- 8.43.2 — 2026-10-08
- 8.43.1 — 2026-10-07
- 8.43.0 — 2026-10-05
- 8.42.0 — 2026-10-04
- 8.41.3 — 2026-10-04
- 8.41.2 — 2026-10-03
- 8.41.1 — 2026-10-03
- 8.41.0 — 2026-10-03
- 8.40.2 — 2026-10-01
- … 1005 more at https://npm.io/package/@tsed/schema/versions

## README

<p style="text-align: center" align="center">
 <a href="https://tsed.dev" target="_blank"><img src="https://tsed.dev/tsed-og.png" width="200" alt="Ts.ED logo"/></a>
</p>

<div align="center">
   <h1>@tsed/schema</h1>

[![Build & Release](https://github.com/tsedio/tsed/workflows/Build%20&%20Release/badge.svg)](https://github.com/tsedio/tsed/actions?query=workflow%3A%22Build+%26+Release%22)
[![PR Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/tsedio/tsed/blob/master/CONTRIBUTING.md)
[![npm version](https://badge.fury.io/js/%40tsed%2Fcommon.svg)](https://badge.fury.io/js/%40tsed%2Fcommon)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![github](https://img.shields.io/static/v1?label=Github%20sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86)](https://github.com/sponsors/romakita)
[![opencollective](https://img.shields.io/static/v1?label=OpenCollective%20sponsor&message=%E2%9D%A4&logo=OpenCollective&color=%23fe8e86)](https://opencollective.com/tsed)

</div>

<div align="center">
  <a href="https://tsed.dev/">Website</a>
  <span>&nbsp;&nbsp;•&nbsp;&nbsp;</span>
  <a href="https://tsed.dev/getting-started/">Getting started</a>
  <span>&nbsp;&nbsp;•&nbsp;&nbsp;</span>
  <a href="https://slack.tsed.dev">Slack</a>
  <span>&nbsp;&nbsp;•&nbsp;&nbsp;</span>
  <a href="https://twitter.com/TsED_io">Twitter</a>
</div>

<hr />

A package of Ts.ED framework. See website: https://tsed.dev/

Package to declare JsonSchema and OpenAPI.

## Documentation

Documentation is available on [https://tsed.dev](https://tsed.dev/docs/model.html)

## Installation

You can get the latest release and the type definitions using npm:

```bash
npm install --save @tsed/schema
```

## Contributors

<a href="https://github.com/tsedio/tsed/graphs/contributors"><img src="https://opencollective.com/tsed/contributors.svg?width=890" /></a>

## Backers

Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/tsed#backer)]

<a href="https://opencollective.com/tsed#backers" target="_blank"><img src="https://opencollective.com/tsed/tiers/backer.svg?width=890"></a>

## Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/tsed#sponsor)]

## License

The MIT License (MIT)

Copyright (c) 2016 - 2022 Romain Lenzotti

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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