JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 15371
  • Score
    100M100P100Q156633F
  • License MIT

JSON Schema for (Camunda) Element Templates

Package Exports

  • @camunda/element-templates-json-schema/package.json
  • @camunda/element-templates-json-schema/resources/schema.json

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@camunda/element-templates-json-schema) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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

There exist different ways to consume the JSON Schema definition. Many tools, like IDEs, support schema validation out of the box. To activate those, simply specify the $schema attribute to an element template.

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

Additionally, it's possible to use the schema on top of existing validation libraries and tools. Follow the example for further instructions.

License

MIT