Skip to content

[Authoring] Missing Icon Card element from JSONSchema #9060

@babs

Description

@babs

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions