# @types/jest-json-schema

> TypeScript definitions for jest-json-schema

Latest version **6.1.5** (published 2025-10-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/jest-json-schema
pnpm add @types/jest-json-schema
yarn add @types/jest-json-schema
bun add @types/jest-json-schema
```

## Health

**Score 65/100 (B)** — status: stable.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 6.1.5 |
| Published | 2025-10-24 |
| First published | 2017-10-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 3.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51439 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/jest-json-schema
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest-json-schema
- npm.io page: https://npm.io/package/@types/jest-json-schema

## Dependencies (2)

- [ajv](https://npm.io/package/ajv.md) ^6.10.2
- [@types/jest](https://npm.io/package/@types/jest.md) *

## Recent versions

- 6.1.5 (latest) — 2025-10-24
- 6.1.4 (ts5.1) — 2023-11-07
- 6.1.1 (ts4.4) — 2022-06-17
- 6.1.0 (ts4.2) — 2022-01-25
- 2.1.2 (ts3.7) — 2020-04-03
- 2.1.1 (ts3.0) — 2019-10-25
- 1.2.0 (ts2.4) — 2017-10-26
- 6.1.3 — 2023-10-18
- 6.1.2 — 2023-09-15
- 2.1.4 — 2021-12-24
- 2.1.3 — 2020-10-20
- 2.1.0 — 2019-09-25
- 1.2.1 — 2019-02-05

## README

# Installation
> `npm install --save @types/jest-json-schema`

# Summary
This package contains type definitions for jest-json-schema (https://github.com/americanexpress/jest-json-schema#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest-json-schema.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest-json-schema/index.d.ts)
````ts
/// <reference types="jest" />
import ajv = require("ajv");

declare global {
    namespace jest {
        interface Matchers<R, T> {
            toBeValidSchema(): R;
            toMatchSchema(schema: object): R;
        }
    }
}

export const matchers: jest.ExpectExtendMap;
export type Options = ajv.Options & { AjvClass?: any };
export function matchersWithOptions(options: Options, extendAjv?: (ajv: ajv.Ajv) => void): jest.ExpectExtendMap;

````

### Additional Details
 * Last updated: Fri, 24 Oct 2025 04:02:41 GMT
 * Dependencies: [@types/jest](https://npmjs.com/package/@types/jest), [ajv](https://npmjs.com/package/ajv)

# Credits
These definitions were written by [Matt Scheurich](https://github.com/lvl99).

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