Skip to content

Commit cdcba93

Browse files
author
Matt Mason
committed
Add data type and cardinality to function.json schema
1 parent 6b87344 commit cdcba93

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

schemas/json/function.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@
5757
"direction": {
5858
"type": "string",
5959
"enum": [ "in", "out", "inout" ]
60+
},
61+
"dataType": {
62+
"enum": [ "string", "binary", "stream" ],
63+
"description": "The data type hint for the binding parameter (string, binary, or stream)."
6064
}
6165
},
6266
"required": [ "name", "type", "direction" ]
@@ -182,6 +186,10 @@
182186
"consumerGroup": {
183187
"type": "string",
184188
"description": "The event hub consumer group."
189+
},
190+
"cardinality": {
191+
"enum": [ "one", "many" ],
192+
"description": "The cardinality hint for the input binding parameter (single message or array of messages)."
185193
}
186194
}
187195
},

0 commit comments

Comments
 (0)