# Relevant Cardscript iconChip

Cardscript

A chip to display some text.

# Example

{
  "type": "AdaptiveCard",
  "body": [
    {
      "type": "Chip",
      "text": "This is a chip!",
      "spacing": "small"
    }
  ],
  "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
  "version": "1.0"
}

# Required properties

# type

Must be "Chip".

  • Type: string
  • Values:
    • Chip

# text

Text to be displayed in chip.

  • Type: string

# Optional properties

# color

Color of the chip.

  • Type: string

# JSON Schema

{
  "additionalProperties": true,
  "type": "Chip",
  "description": "A chip to display some text.",
  "properties": {
    "type": {
      "type": "string",
      "description": "Must be `\"Chip\"`.",
      "enum": [
        "Chip"
      ]
    },
    "text": {
      "type": "string",
      "description": "Text to be displayed in chip."
    },
    "color": {
      "type": "string",
      "description": "Color of the chip"
    }
  },
  "required": [
    "type",
    "text"
  ],
  "typeSafe": "chip",
  "example": "FIXME!",
  "propertySummary": [
    {
      "name": "type",
      "type": "string",
      "required": "Required",
      "text": "Must be `\"Chip\"`."
    },
    {
      "name": "text",
      "type": "string",
      "required": "Required",
      "text": "Text to be displayed in chip."
    },
    {
      "name": "color",
      "type": "string",
      "required": "Optional",
      "text": "Color of the chip"
    }
  ]
}
Last Updated: 9/10/2023, 11:30:14 AM