{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SubmitCardAction",
  "title": "SubmitCardAction",
  "type": "object",
  "required": [
    "type",
    "messageId",
    "inputs"
  ],
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "submit"
      ],
      "description": "The type of action to perform."
    },
    "messageId": {
      "type": "string",
      "example": "GFyazovL3VzL1BFT1BMRS80MDNlZmUwNy02Yzc3LTQyY2UtOWI4NC",
      "description": "The ID of the message which contains the attachment."
    },
    "inputs": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "example": "John Andersen"
        },
        "Url": {
          "type": "string",
          "example": "https://example.com"
        },
        "Email": {
          "type": "string",
          "example": "john.andersen@example.com"
        },
        "Tel": {
          "type": "string",
          "example": "+1 408 555 7209"
        }
      },
      "description": "The attachment action's inputs."
    }
  }
}