# @camunda/element-templates-json-schema

> JSON Schema for (Camunda) Element Templates

Latest version **0.22.1** (published 2026-08-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install @camunda/element-templates-json-schema
pnpm add @camunda/element-templates-json-schema
yarn add @camunda/element-templates-json-schema
bun add @camunda/element-templates-json-schema
```

## Health

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

Positive: no vulnerabilities; recently updated; high maintenance score.

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

## Facts

| | |
|---|---|
| Version | 0.22.1 |
| Published | 2026-08-20 |
| First published | 2020-11-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 43.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 9 |
| Maintainers | nikku, barmac, maxtru, philippfromme, barinali, jarekdanielak, alekseymanetov |
| Keywords | json-schema, element-templates, camunda |

## Links

- npm: https://www.npmjs.com/package/@camunda/element-templates-json-schema
- Repository: https://github.com/camunda/element-templates-json-schema
- Homepage: https://github.com/camunda/element-templates-json-schema#readme
- Issues: https://github.com/camunda/element-templates-json-schema/issues
- npm.io page: https://npm.io/package/@camunda/element-templates-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.22.1 (latest) — 2026-08-20
- 0.10.0-alpha.1 (next) — 2022-06-09
- 0.22.0 — 2026-06-25
- 0.21.0 — 2026-03-02
- 0.20.0 — 2025-10-24
- 0.19.0 — 2025-05-08
- 0.18.1 — 2024-12-06
- 0.18.0 — 2024-05-29
- 0.17.2 — 2024-03-05
- 0.17.1 — 2024-02-12
- 0.17.0 — 2024-01-25
- 0.16.0 — 2023-11-22
- 0.15.0 — 2023-10-10
- 0.14.0 — 2023-08-25
- 0.13.0 — 2023-08-23
- … 17 more at https://npm.io/package/@camunda/element-templates-json-schema/versions

## README

# @camunda/element-templates-json-schema

[![Build Status](https://img.shields.io/github/actions/workflow/status/camunda/element-templates-json-schema/CI.yml?branch=master)](https://github.com/camunda/element-templates-json-schema/actions?query=workflow%3ACI)



JSON Schema for [(Camunda) Element Templates](https://docs.camunda.org/manual/latest/modeler/element-templates/). The schema is built on top of and validated by [`json-schema@draft-07`](https://json-schema.org/draft-07/json-schema-release-notes.html).


## Usage

Set the `$schema` attribute to reference the [JSON Schema definition](./resources/schema.json).

```js
{
  "$schema": "https://unpkg.com/@camunda/element-templates-json-schema/resources/schema.json",
  "name": "Mail Task",
  "id": "com.camunda.example.MailTask",
  "appliesTo": [ "bpmn:ServiceTask" ],
  "properties": []
}
```

You can also use a specific version.

```js
"$schema": "https://unpkg.com/@camunda/element-templates-json-schema@0.1.0/resources/schema.json"
```

## Build and Run

Prepare the project by installing all dependencies:

```sh
npm install
```

Bundle [the source schema files](./src) together

```sh
npm run build
```

Execute the following command to run the generated schema against the tests

```sh
npm run test
```

## License

MIT

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