UNPKG

@camunda/element-templates-json-schema-shared

Version:

Shared schema definitions used within element-templates-json-schema

76 lines 1.36 kB
{ "appliesTo": { "examples": [ "bpmn:Task", "bpmn:ServiceTask", "bpmn:SequenceFlow", "bpmn:Process", "bpmn:StartEvent", "bpmn:Gateway" ] }, "properties": { "examples": [ [ { "label": "Name", "type": "String", "binding": { "type": "property", "name": "name" } } ] ] }, "groups": { "examples": [ [ { "id": "group-1", "label": "My Group" } ] ] }, "constraints": { "examples": [ { "notEmpty": true } ] }, "elementType": { "examples": [ "bpmn:ServiceTask", "bpmn:UserTask", "bpmn:StartEvent", "bpmn:ExclusiveGateway", "bpmn:ParallelGateway" ] }, "condition": { "examples": [ { "type": "simple", "property": "httpMethod", "equals": "GET" }, { "type": "simple", "property": "httpMethod", "oneOf": [ "POST", "PUT", "DELETE" ] }, { "allMatch": [ { "type": "simple", "property": "authType", "equals": "Basic" }, { "type": "simple", "property": "httpMethod", "oneOf": [ "POST", "PUT", "DELETE" ] } ] } ] } }