Skip to content

Commit

Permalink
Update allowed workflows in tenant-config-schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Avishka-Shamendra committed Nov 8, 2023
1 parent 5d96920 commit 0617ddf
Showing 1 changed file with 22 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1344,36 +1344,34 @@
"Workflows": {
"type": "object",
"default": {},
"title": "Configure different workflows using this configuration.",
"additionalProperties": {
"$ref": "#/definitions/workflow"
}
"title": "Configure different workflows using this configuration",
"patternProperties": {
"^(ApplicationCreation|ApplicationDeletion|ProductionApplicationRegistration|SandboxApplicationRegistration|SubscriptionCreation|SubscriptionUpdate|SubscriptionDeletion|UserSignUp|APIStateChange|APIProductStateChange)$": {
"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": false
},
"LinterCustomRules": {
"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
}

0 comments on commit 0617ddf

Please sign in to comment.