Skip to content

Commit f5245fa

Browse files
committed
chore: comments
1 parent c54fb95 commit f5245fa

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packages/zeebe-element-templates-json-schema/src/defs/properties/adHoc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"allOf": [
33
{
4-
"$comment": "For zeebe:adHoc property bindings: outputCollection and outputElement are optional; if one is present both must be present; they only make sense when a non-empty taskDefinition (type or retries) is configured. Cross-property + taskDefinition presence cannot be enforced at single-property schema level.",
4+
"$comment": "AdHoc output properties require string-based types (Hidden, String, Text, or Dropdown)",
55
"if": {
66
"properties": {
77
"binding": {
@@ -43,6 +43,7 @@
4343
}
4444
},
4545
{
46+
"$comment": "outputCollection properties must not be FEEL expressions",
4647
"if": {
4748
"properties": {
4849
"binding": {

packages/zeebe-element-templates-json-schema/src/defs/template/adHoc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
}
6363
},
6464
{
65+
"$comment": "When zeebe:adHoc output properties are used, all three required bindings must be present together",
6566
"if": {
6667
"properties": {
6768
"properties": {

0 commit comments

Comments
 (0)