diff --git a/packages/zeebe-element-templates-json-schema/src/defs/properties.json b/packages/zeebe-element-templates-json-schema/src/defs/properties.json index 3ff5ee2..1c2b46c 100644 --- a/packages/zeebe-element-templates-json-schema/src/defs/properties.json +++ b/packages/zeebe-element-templates-json-schema/src/defs/properties.json @@ -254,31 +254,6 @@ } } } - }, - { - "if": { - "properties": { - "type": { - "enum": [ - "Boolean", - "Number" - ] - } - }, - "required": [ - "feel" - ] - }, - "then": { - "properties": { - "feel": { - "enum": [ - "optional", - "staticValue" - ] - } - } - } } ], "properties": { diff --git a/packages/zeebe-element-templates-json-schema/test/fixtures/feel-type-mismatch.js b/packages/zeebe-element-templates-json-schema/test/fixtures/feel-type-mismatch.js index d84ff0a..0052d73 100644 --- a/packages/zeebe-element-templates-json-schema/test/fixtures/feel-type-mismatch.js +++ b/packages/zeebe-element-templates-json-schema/test/fixtures/feel-type-mismatch.js @@ -13,15 +13,6 @@ export const template = { name: 'prop' }, feel: 'staticValue' - }, - { - label: 'Number (required)', - type: 'Number', - binding: { - type: 'property', - name: 'prop' - }, - feel: 'required' } ] }; @@ -49,27 +40,6 @@ export const errors = }, schemaPath: '#/allOf/1/items/allOf/8/if' }, - { - dataPath: '/properties/1/feel', - keyword: 'enum', - message: 'should be equal to one of the allowed values', - params: { - allowedValues: [ - 'optional', - 'staticValue' - ] - }, - schemaPath: '#/allOf/1/items/allOf/9/then/properties/feel/enum' - }, - { - dataPath: '/properties/1', - keyword: 'if', - message: 'should match "then" schema', - params: { - failingKeyword: 'then' - }, - schemaPath: '#/allOf/1/items/allOf/9/if' - }, { dataPath: '', keyword: 'type',