@camunda/element-templates-json-schema

0.17.2 • Public • Published

@camunda/element-templates-json-schema

Build Status

JSON Schema for (Camunda) Element Templates. The schema is built on top of and validated by json-schema@draft-07.

Usage

Set the $schema attribute to reference the JSON Schema definition.

{
  "$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.

"$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:

npm install

Bundle the source schema files together

npm run build

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

npm run test

License

MIT

Dependents (1)

Package Sidebar

Install

npm i @camunda/element-templates-json-schema

Weekly Downloads

10,665

Version

0.17.2

License

MIT

Unpacked Size

49.1 kB

Total Files

5

Last publish

Collaborators

  • beatrizmendes
  • marstamm
  • philippfromme
  • nikku
  • barmac
  • maxtru