Schema Explorer
NEW
Are you building Copilot, Teams or Outlook scenarios powered by Adaptive Cards?
The Adaptive Card Documentation Hub is the new one-stop-shop for all your Adaptive Card needs! It has all the resources you're looking for, including complete documentation for many new features, such as Responsive layout, Icon, Badge, Carousel, Charts, and much more!
Important note about accessibility: In version 1.3 of the schema we introduced a label property on Inputs to improve accessibility. If the Host app you are targeting supports v1.3 you should use label instead of a TextBlock as seen in some samples below. Once most Host apps have updated to the latest version we will update the samples accordingly.
CaptionSource
Defines a source for captions
Introduced in version 1.6
Property | Type | Required | Description | Version |
---|---|---|---|---|
mimeType | string |
Yes | Mime type of associated caption file (e.g. "vtt" ). For rendering in JavaScript, only "vtt" is supported, for rendering in UWP, "vtt" and "srt" are supported. |
1.6 |
url | uri |
Yes | URL to captions. | 1.6 |
label | string |
Yes | Label of this caption to show to the user. | 1.6 |
Properties
mimeType
Mime type of associated caption file (e.g. "vtt"
). For rendering in JavaScript, only "vtt"
is supported, for rendering in UWP, "vtt"
and "srt"
are supported.
- Type:
string
- Required: Yes
url
URL to captions.
- Type:
uri
- Required: Yes
label
Label of this caption to show to the user.
- Type:
string
- Required: Yes