# Relevant Cardscript iconInput.Address

Cardscript

Lets a user enter an address.

# Example

{
  "type": "AdaptiveCard",
  "body": [
    {
      "type": "AddressBlock",
      "dataPath": "addressBlock"
    }
  ],
  "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
  "version": "1.0"
}

# Required properties

# id

Unique identifier for the value. Used to identify collected input when the Submit action is performed.

  • Type: string

# type

Must be "Input.Address".

  • Type: string
  • Values:
    • Input.Address

# Optional properties

# spacing

Controls the amount of spacing between this element and the preceding element.

  • Type: string
  • Values:
    • none
    • small
    • default
    • medium
    • large
    • extraLarge
    • padding

# separator

When true, draw a separating line at the top of the element.

  • Type: boolean

# JSON Schema

{
  "additionalProperties": true,
  "type": "Input.Address",
  "description": "Lets a user enter an address.",
  "allOf": [
    {
      "$ref": "#/definitions/CardElement"
    }
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the value. Used to identify collected input when the Submit action is performed."
    },
    "type": {
      "type": "string",
      "description": "Must be `\"Input.Address\"`.",
      "enum": [
        "Input.Address"
      ]
    }
  },
  "required": [
    "type",
    "id"
  ],
  "typeSafe": "input-address",
  "example": "FIXME!",
  "propertySummary": [
    {
      "name": "id",
      "type": "string",
      "required": "Required",
      "text": "Unique identifier for the value. Used to identify collected input when the Submit action is performed."
    },
    {
      "name": "type",
      "type": "string",
      "required": "Required",
      "text": "Must be `\"Input.Address\"`."
    }
  ]
}
Last Updated: 9/10/2023, 11:30:14 AM