Skip to content

[Designer] Designer and schema don’t agree on casing of attribute values #9142

@sabberworm

Description

@sabberworm

Problem Description

Designer creates certain attributes with an upper-cased first letter, which then shows up in code view as not adhering to the JSON schema:

Image

When the casing is corrected to match the schema, designer then no longer recognizes it:

Image

Affected properties that I have seen so far: size, weight, color, horizontalAlignment, spacing. There might be others.

Card JSON

{
    "type": "AdaptiveCard",
    "body": [
        {
            "type": "TextBlock",
            "size": "Medium",
            "weight": "Bolder",
            "text": "${title}",
            "style": "heading",
            "wrap": true
        }
    ],
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.6"
}

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