microsoft / microsoft/AdaptiveCards
[Authoring] Missing Icon Card element from JSONSchema
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 2k
- Forks
- 595
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 1
Description
Target Application
Teams
Application Operating System
Other
Schema Version
1.5
Problem Description
Adaptive cards editor in Teams dev portal propose Icon element but is nowhere to be found in jsonschema.
Therefore I can't use schema validation for cards using Icon element
Expected Outcome
Being able to validate cards with Icon element against adaptive card schema 1.5
Actual Outcome
Validation fails with https://adaptivecards.io/schemas/1.5.0/adaptive-card.json but renders perfectly on teams
Card JSON
{
"type": "AdaptiveCard",
"$schema": "https://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.5",
"body": [
{
"type": "Icon",
"name": "AddCircle"
}
]
}
Repro Steps
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the Adaptive Cards 1.5 schema at the linked URL with the Icon element shown in the issue's card JSON. Confirm how the schema currently rejects that element; done means the same card validates successfully against the 1.5 schema.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- json
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100