Skip to content

Commit

Permalink
Update tenant-config-schema with workflows config
Browse files Browse the repository at this point in the history
  • Loading branch information
Avishka-Shamendra committed Nov 2, 2023
1 parent 59aaeea commit bf6f0ba
Showing 1 changed file with 34 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1337,10 +1337,42 @@
}
}
},
"required": ["States"]
"required": [
"States"
]
},
"Workflows": {
"type": "object",
"default": {},
"title": "Configure different workflows using this configuration.",
"additionalProperties": {
"$ref": "#/definitions/workflow"
}
},
"LinterCustomRules": {
"required": ["rules"]
"required": [
"rules"
]
}
},
"definitions": {
"workflow": {
"type": "object",
"title": "Define the corresponding workflow configuration",
"properties": {
"Enabled": {
"type": "boolean",
"title": "Set this as true to enable the approval/custom workflow"
},
"Class": {
"type": "string",
"title": "For a custom flow, define the full class path here"
},
"Properties": {
"type": "object",
"title": "Define any class-specific properties here"
}
}
}
},
"additionalProperties": true
Expand Down

0 comments on commit bf6f0ba

Please sign in to comment.