Skip to content

Commit

Permalink
[Schema] Introduce inlineAction
Browse files Browse the repository at this point in the history
Original spec #147
  • Loading branch information
paulcam206 committed May 23, 2019
1 parent 13d4e0c commit e41bb8a
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion schemas/adaptive-card.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"type": "string",
"description": "Schema version that this card requires. If a client is **lower** than this version, the `fallbackText` will be rendered. NOTE: Version is not required for cards within an `Action.ShowCard`",
"examples": [
"1.0", "1.1"
"1.0", "1.1", "1.2"
]
},
"fallbackText": {
Expand Down Expand Up @@ -849,6 +849,9 @@
"style": {
"$ref": "#/definitions/TextInputStyle"
},
"inlineAction": {
"$ref": "#/definitions/InlineAction"
},
"type": {
"type": "string",
"description": "Must be `\"Input.Text\"`.",
Expand All @@ -866,6 +869,23 @@
"id"
]
},
"InlineAction": {
"additionalProperties": true,
"type": "object",
"version": "1.2",
"description": "The inline action for the input. Typically displayed to the right of the input. It is strongly recommended that an icon on the action (which will be displayed instead of the title of the action).",
"oneOf": [
{
"$ref": "#/definitions/Action.Submit"
},
{
"$ref": "#/definitions/Action.ShowCard"
},
{
"$ref": "#/definitions/Action.OpenUrl"
}
]
},
"Input.Time": {
"additionalProperties": true,
"type": "object",
Expand Down

0 comments on commit e41bb8a

Please sign in to comment.