Skip to content

Commit

Permalink
Merge pull request #178 from bettyblocks/feat/add-any-off-key-to-outp…
Browse files Browse the repository at this point in the history
…ut-option-DT-3395

Feat/add any off key to output option dt 3395
  • Loading branch information
emielwit authored Jan 15, 2024
2 parents 78694f9 + d16edc4 commit a0be4bd
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion schemas/actions/function/option/types/output.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"additionalProperties": false,
"definitions": {
"base": {
"additionalProperties": false,
"type": "object",
"properties": {
"type": {
Expand Down Expand Up @@ -113,6 +114,27 @@
],
"additionalProperties": false,
"required": ["dataType"]
},
"anyOfType": {
"type": "object",
"additionalProperties": false,
"properties": {
"scoped": {
"type": "boolean"
},
"anyOf": {
"type": "array",
"items": {
"anyOf": [
{ "$ref": "#/definitions/base" },
{ "$ref": "#/definitions/collection" },
{ "$ref": "#/definitions/record" },
{ "$ref": "#/definitions/object" },
{ "$ref": "#/definitions/array" }
]
}
}
}
}
},
"properties": {
Expand All @@ -129,7 +151,8 @@
{ "$ref": "#/definitions/inherit" },
{ "$ref": "#/definitions/record" },
{ "$ref": "#/definitions/object" },
{ "$ref": "#/definitions/array" }
{ "$ref": "#/definitions/array" },
{ "$ref": "#/definitions/anyOfType" }
]
},
"validations": {
Expand Down

0 comments on commit a0be4bd

Please sign in to comment.