Question 5 — AB-620 Practice Exam 2
Fill in the blanks by selecting the correct options from the dropdown menus.
In an Adaptive Card JSON definition, the schema compatibility declaration uses the [Gap 1] property, which appears near $schema. To target Microsoft Teams and Live Chat compatibility, set the version value to [Gap 2].
- id
1.5version- type
- 1.6
Correct answers
- Gap 1:
version - Gap 2:
1.5
Explanations
Correct:
version: The version property declares the Adaptive Card schema version used by the card and should be verified when a card is obtained from an external source.
$schema: The $schema declaration appears near the version property at the beginning of an Adaptive Card JSON definition.
1.5: Setting the card to schema version 1.5 keeps the definition within the maximum supported version for Microsoft Teams and Live Chat.
Wrong:
id: An ID can identify an individual card element or input but does not declare the Adaptive Card schema version.
type: The type property identifies the kind of object, such as AdaptiveCard, but does not establish the schema compatibility level.
1.6: Version 1.6 exceeds the maximum Adaptive Card schema version supported by Microsoft Teams and Live Chat.