# @cucumber/json-schema

> JSON schema for the (legacy) Cucumber JSON format, along with implementation-specific variants from cucumber-jvm etc.

Latest version **0.2.5** (published 2026-07-27) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 55/100 (C)** — status: active.

Positive: no vulnerabilities; has provenance; recently updated.

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

## Facts

| | |
|---|---|
| Version | 0.2.5 |
| Published | 2026-07-27 |
| First published | 2024-04-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 32.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 5 |
| Maintainers | cukebot |

## Links

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

## Recent versions

- 0.2.5 (latest) — 2026-07-27
- 0.2.3 — 2025-09-09
- 0.2.2 — 2025-09-03
- 0.2.1 — 2025-07-22
- 0.2.0 — 2025-07-21
- 0.1.1 — 2024-04-21
- 0.1.0 — 2024-04-18

## README

# @cucumber/json-schema

JSON schema for the (legacy) Cucumber JSON format, along with implementation-specific variants from cucumber-jvm etc.

* For the new unified message format, see [Cucumber Messages](https://github.com/cucumber/messages).
* For a tool to convert messages to the legacy json format
  see [Cucumber JSON Formatter](https://github.com/cucumber/cucumber-json-formatter).

## Implementation Status

These schemas should be considered a best effort work in progress.

These schema was initially implemented and tested as part of
the [Cucumber JSON Converter](https://github.com/cucumber/cucumber-json-converter). This project does not seem to have
been used in earnest as the accuracy of the schema leaves much to de desired. The schema is also regression tested in
the [Cucumber JSON Formatter](https://github.com/cucumber/cucumber-json-formatter) project. This testing is more
extensive.

| Schema               | Cucumber JSON Converter | Cucumber JSON Formatter |
|----------------------|-------------------------|-------------------------| 
| `cucumber-js.json`   | Verified                | Unverified              | 
| `cucumber-jvm.json`  | Verified                | Verified                |
| `cucumber-ruby.json` | Verified                | Unverified              |
| `behave.json`        | Unverified              | Unverified              |
| `canonical.json`     | Unverified              | Unverified              |

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