@aylx/element-templates-json-schema
v1.0.1
Published
JSON Schema for (Zeebe) Element Templates
Maintainers
Readme
@camunda/zeebe-element-templates-json-schema
JSON Schema for (Zeebe) 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/zeebe-element-templates-json-schema/resources/schema.json",
"name": "My Service Worker",
"id": "com.example.ServiceWorker",
"appliesTo": [ "bpmn:ServiceTask" ],
"properties": []
}You can also use a specific version.
"$schema": "https://unpkg.com/@camunda/[email protected]/resources/schema.json"Build and Run
Prepare the project by installing all dependencies:
npm installBundle the source schema files together
npm run buildExecute the following command to run the generated schema against the tests
npm run testLicense
MIT
