Skip to content

Commit

Permalink
Add policies to v1 component schema (#6210)
Browse files Browse the repository at this point in the history
  • Loading branch information
EricDahlvang committed Feb 19, 2021
1 parent dcf54a7 commit 00783ab
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion schemas/component/v1.0/component.schema
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,38 @@
},
{
"properties": {
"$policies": {
"type": "object",
"properties": {
"interactive": {
"title": "Interactive",
"description": "Dialog will wait for input.",
"type": "boolean",
"default": false
},
"nonInteractive": {
"title": "Non-interactive",
"description": "No child dialogs can wait for input.",
"type": "boolean",
"default": false
},
"lastAction": {
"title": "Last Action",
"description": "Dialog must be the last action in a list of actions.",
"type": "boolean",
"default": false
},
"requiresKind": {
"title": "Requires Kind",
"description": "There must be a child dialog of one of the included kinds or an extension of those kinds.",
"type": "array",
"items": {
"type": "string"
},
"default": []
}
}
},
"$role": {
"title": "$role",
"description": "Defines the roles played in the dialog schema one of [expression|interface|implements($kind)|extends($kind)].",
Expand Down Expand Up @@ -271,4 +303,4 @@
]
}
}
}
}

0 comments on commit 00783ab

Please sign in to comment.