Skip to content

Commit

Permalink
[Schema] Add ActionSet
Browse files Browse the repository at this point in the history
Spec #877
  • Loading branch information
paulcam206 committed May 23, 2019
1 parent e41bb8a commit 9d47f2b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
24 changes: 24 additions & 0 deletions schemas/adaptive-card.json
Original file line number Diff line number Diff line change
Expand Up @@ -251,11 +251,35 @@
},
{
"$ref": "#/definitions/Input.ChoiceSet"
},
{
"$ref": "#/definitions/ActionSet"
}
]
}
]
},
"ActionSet": {
"additionalProperties": true,
"type": "object",
"description": "Allow authors to place one or more 'action bars' anywhere within the card body",
"version": "1.2",
"allOf": [
{
"$ref": "#/definitions/CardElement"
}
],
"properties": {
"items": {
"description": "The actions to include in the `ActionSet`",
"$ref": "#/definitions/Actions"
}
},
"required": [
"type",
"items"
]
},
"Input.Choice": {
"type": "object",
"description": "Describes a choice for use in a ChoiceSet.",
Expand Down
1 change: 1 addition & 0 deletions source/nodejs/adaptivecards-site/schema-explorer-toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- Media
- MediaSource
- Containers:
- ActionSet
- Container
- ColumnSet
- Column
Expand Down

0 comments on commit 9d47f2b

Please sign in to comment.