# Relevant Cardscript iconJumbotron

Cardscript

An element typically placed at the top of a card to describe its purpose.

# Example

{
  "type": "AdaptiveCard",
  "body": [
    {
      "type": "Jumbotron",
      "backgroundImage": "wmfs/pizza.jpg",
      "title": "Title",
      "subtitle": "Subtitle",
      "wash": "black"
    }
  ],
  "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
  "version": "1.0"
}

# Required properties

# type

Must be "Jumbotron".

  • Type: string
  • Values:
    • Jumbotron

# title

Text to be displayed as heading.

  • Type: string

# Optional properties

# subtitle

Text to be displayed as subheading.

  • Type: string

# wash

Type of wash to have over the background.

  • Type: string
  • Values:
    • white
    • black

# backgroundImage

Relative URL to image to be displayed as background.

  • Type: string

# JSON Schema

{
  "additionalProperties": true,
  "type": "Jumbotron",
  "description": "An element typically placed at the top of a card to describe its purpose.",
  "properties": {
    "type": {
      "type": "string",
      "description": "Must be `\"Jumbotron\"`.",
      "enum": [
        "Jumbotron"
      ]
    },
    "title": {
      "type": "string",
      "description": "Text to be displayed as heading."
    },
    "subtitle": {
      "type": "string",
      "description": "Text to be displayed as subheading."
    },
    "wash": {
      "type": "string",
      "enum": [
        "white",
        "black"
      ],
      "description": "Type of wash to have over the background."
    },
    "backgroundImage": {
      "type": "string",
      "description": "Relative URL to image to be displayed as background."
    }
  },
  "required": [
    "type",
    "title"
  ],
  "typeSafe": "jumbotron",
  "example": "FIXME!",
  "propertySummary": [
    {
      "name": "type",
      "type": "string",
      "required": "Required",
      "text": "Must be `\"Jumbotron\"`."
    },
    {
      "name": "title",
      "type": "string",
      "required": "Required",
      "text": "Text to be displayed as heading."
    },
    {
      "name": "subtitle",
      "type": "string",
      "required": "Optional",
      "text": "Text to be displayed as subheading."
    },
    {
      "name": "wash",
      "type": "string",
      "required": "Optional",
      "text": "Type of wash to have over the background."
    },
    {
      "name": "backgroundImage",
      "type": "string",
      "required": "Optional",
      "text": "Relative URL to image to be displayed as background."
    }
  ]
}
Last Updated: 9/10/2023, 11:30:14 AM