validate-templates-cli
v0.4.0
Published
Command Line Tool to validate Camunda Element Templates
Downloads
3
Maintainers
Readme
validate-templates-cli
Command Line Tool to validate Camunda Element Templates, based on
@bpmn-io/element-templates-validator
- Validate element templates based on JSON Schema@camunda/element-templates-json-schema
- JSON Schema for (Camunda) Element Templates
Usage
Install the command line tool via npm
:
npm install -g validate-templates-cli
or use it directly via npx
:
> npx validate-templates ./resources/errors.json
Validating 1 templates...
Invalid Template (name: <Mail Task>, id: <com.camunda.example.MailTask>) found.
* invalid property type "Foo" for binding type "property"; must be any of { String, Text, Hidden, Dropdown, Boolean }
* must provide choices=[] with "Dropdown" type
* property.binding "camunda:outputParameter" requires source
* property.binding "property" requires name
License
MIT