{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "reference-teams-type-workflow-payload-attachments",
  "title": "Teams Workflow Card Payload attachments",
  "section": "Library asset reference",
  "description": "Teams Workflow Card Payload attachments Named reusable provider block. Required fields must be present; optional fields remain absent. Null is accepted only where explicitly declared. Additional provider fields are accepted only by schemas ",
  "kind": "type",
  "url": "/wiki/reference-teams-type-workflow-payload-attachments/",
  "markdown": "/wiki/reference-teams-type-workflow-payload-attachments/index.md",
  "json": "/wiki/reference-teams-type-workflow-payload-attachments/index.json",
  "headings": [
    {
      "id": "audited-socket-contract-21-october-2026",
      "title": "Audited socket contract (21 October 2026)",
      "depth": 2
    },
    {
      "id": "catalog-identity",
      "title": "Catalog identity",
      "depth": 2
    },
    {
      "id": "configuration-schema",
      "title": "Configuration schema",
      "depth": 2
    },
    {
      "id": "source-and-installed-versions",
      "title": "Source and installed versions",
      "depth": 2
    }
  ],
  "sources": [
    "../OpenNodeFlow-Library/work/catalog-all.mjs",
    "../OpenNodeFlow-Library/work/azure-pack-consolidation-20261022/catalog-policy.mjs",
    "../OpenNodeFlow-Library/work/developer-packs-20261022/catalog.mjs",
    "shared/seed.ts",
    "shared/storage-library.ts",
    "shared/variable-library.ts",
    "shared/control-flow.ts",
    "shared/remote-routes.ts",
    "server/runtime-library.ts",
    "shared/error-library.ts",
    "shared/storage-model.ts",
    "shared/builtin-documentation.ts"
  ],
  "family": "teams",
  "contract": {
    "key": "teams.type.workflow.payload.attachments",
    "slug": "teams-type-workflow-payload-attachments",
    "name": "Teams Workflow Card Payload attachments",
    "kind": "type",
    "family": "teams",
    "packId": null,
    "category": "Microsoft Teams",
    "description": "",
    "inputs": [],
    "outputs": [],
    "configSchema": {},
    "documentation": "Teams Workflow Card Payload attachments\n\nNamed reusable provider block.\n\n Required fields must be present; optional fields remain absent. Null is accepted only where explicitly declared. Additional provider fields are accepted only by schemas that permit them. Use the matching Encode/Decode assets.\n\nAuthored 2026-10-20. Provider reference: [official documentation](https://learn.microsoft.com/en-us/graph/api/resources/chatmessage?view=graph-rest-1.0). New assets are v1; callers must preserve exact dependency pins. Mock tests establish request/codec behavior only; live tenant access is unverified.\n\n## Audited socket contract (21 October 2026)\n\nInputs:\nNo data sockets.\n\nOutputs:\nNo data sockets.\n\nConfiguration:\nNo asset-specific configuration.\n\nKnown provider records and list elements have structural schemas. Explicit dynamic payloads, selected query results and provider extensions retain the recursive JSON Value vocabulary; they do not imply a known provider entity. Null is distinct from omission. Runtime validates the exact selected immutable type version; reading newer documentation never repins existing graphs. This audit used synthetic fixtures/local mocks and does not establish live provider authorization or delivery.\n\nAuthoritative JSON Schema:\n\n```json\n{\n  \"type\": \"array\",\n  \"items\": {\n    \"type\": \"object\",\n    \"properties\": {\n      \"contentType\": {\n        \"const\": \"application/vnd.microsoft.card.adaptive\"\n      },\n      \"contentUrl\": {\n        \"type\": \"null\"\n      },\n      \"content\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"type\": {\n            \"const\": \"AdaptiveCard\"\n          },\n          \"version\": {\n            \"type\": \"string\",\n            \"enum\": [\n              \"1.2\",\n              \"1.3\",\n              \"1.4\",\n              \"1.5\"\n            ]\n          },\n          \"body\": {\n            \"type\": \"array\",\n            \"items\": {\n              \"type\": \"object\",\n              \"properties\": {\n                \"type\": {\n                  \"type\": \"string\",\n                  \"minLength\": 1\n                },\n                \"id\": {\n                  \"type\": \"string\"\n                },\n                \"text\": {\n                  \"type\": \"string\"\n                },\n                \"title\": {\n                  \"type\": \"string\"\n                },\n                \"url\": {\n                  \"type\": \"string\"\n                },\n                \"altText\": {\n                  \"type\": \"string\"\n                },\n                \"size\": {\n                  \"type\": \"string\"\n                },\n                \"weight\": {\n                  \"type\": \"string\"\n                },\n                \"color\": {\n                  \"type\": \"string\"\n                },\n                \"wrap\": {\n                  \"type\": \"boolean\"\n                },\n                \"isVisible\": {\n                  \"type\": \"boolean\"\n                },\n                \"spacing\": {\n                  \"type\": \"string\"\n                },\n                \"separator\": {\n                  \"type\": \"boolean\"\n                },\n                \"facts\": {\n                  \"type\": \"array\",\n                  \"items\": {\n                    \"type\": \"object\",\n                    \"properties\": {\n                      \"title\": {\n                        \"type\": \"string\"\n                      },\n                      \"value\": {\n                        \"type\": \"string\"\n                      }\n                    },\n                    \"required\": [\n                      \"title\",\n                      \"value\"\n                    ],\n                    \"additionalProperties\": false\n                  }\n                },\n                \"style\": {\n                  \"type\": \"string\"\n                }\n              },\n              \"required\": [\n                \"type\"\n              ],\n              \"additionalProperties\": {\n                \"$ref\": \"#/definitions/ONFJsonValue\"\n              }\n            },\n            \"maxItems\": 100\n          },\n          \"actions\": {\n            \"type\": \"array\",\n            \"items\": {\n              \"type\": \"object\",\n              \"properties\": {\n                \"type\": {\n                  \"type\": \"string\",\n                  \"minLength\": 1\n                },\n                \"id\": {\n                  \"type\": \"string\"\n                },\n                \"title\": {\n                  \"type\": \"string\"\n                },\n                \"url\": {\n                  \"type\": \"string\"\n                },\n                \"verb\": {\n                  \"type\": \"string\"\n                },\n                \"tooltip\": {\n                  \"type\": \"string\"\n                },\n                \"isEnabled\": {\n                  \"type\": \"boolean\"\n                },\n                \"associatedInputs\": {\n                  \"enum\": [\n                    \"auto\",\n                    \"none\"\n                  ]\n                },\n                \"data\": {\n                  \"$ref\": \"#/definitions/ONFJsonValue\"\n                }\n              },\n              \"required\": [\n                \"type\"\n              ],\n              \"additionalProperties\": {\n                \"$ref\": \"#/definitions/ONFJsonValue\"\n              }\n            },\n            \"maxItems\": 20\n          },\n          \"$schema\": {\n            \"type\": \"string\"\n          },\n          \"fallbackText\": {\n            \"type\": \"string\"\n          }\n        },\n        \"required\": [\n          \"type\",\n          \"version\",\n          \"body\"\n        ],\n        \"additionalProperties\": {\n          \"$ref\": \"#/definitions/ONFJsonValue\"\n        }\n      }\n    },\n    \"required\": [\n      \"contentType\",\n      \"contentUrl\",\n      \"content\"\n    ],\n    \"additionalProperties\": false\n  },\n  \"maxItems\": 20,\n  \"definitions\": {\n    \"ONFJsonValue\": {\n      \"description\": \"Opaque JSON Value: null, text, finite JSON number, boolean, recursively typed list or dictionary. Only used for explicitly dynamic payloads and extension fields.\",\n      \"anyOf\": [\n        {\n          \"type\": \"null\"\n        },\n        {\n          \"type\": \"string\"\n        },\n        {\n          \"type\": \"number\"\n        },\n        {\n          \"type\": \"boolean\"\n        },\n        {\n          \"type\": \"array\",\n          \"items\": {\n            \"$ref\": \"#/definitions/ONFJsonValue\"\n          }\n        },\n        {\n          \"type\": \"object\",\n          \"additionalProperties\": {\n            \"$ref\": \"#/definitions/ONFJsonValue\"\n          }\n        }\n      ]\n    }\n  }\n}\n```",
    "schema": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "contentType": {
            "const": "application/vnd.microsoft.card.adaptive"
          },
          "contentUrl": {
            "type": "null"
          },
          "content": {
            "type": "object",
            "properties": {
              "type": {
                "const": "AdaptiveCard"
              },
              "version": {
                "type": "string",
                "enum": [
                  "1.2",
                  "1.3",
                  "1.4",
                  "1.5"
                ]
              },
              "body": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "minLength": 1
                    },
                    "id": {
                      "type": "string"
                    },
                    "text": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    },
                    "altText": {
                      "type": "string"
                    },
                    "size": {
                      "type": "string"
                    },
                    "weight": {
                      "type": "string"
                    },
                    "color": {
                      "type": "string"
                    },
                    "wrap": {
                      "type": "boolean"
                    },
                    "isVisible": {
                      "type": "boolean"
                    },
                    "spacing": {
                      "type": "string"
                    },
                    "separator": {
                      "type": "boolean"
                    },
                    "facts": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "title": {
                            "type": "string"
                          },
                          "value": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "title",
                          "value"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "style": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "type"
                  ],
                  "additionalProperties": {
                    "$ref": "#/definitions/ONFJsonValue"
                  }
                },
                "maxItems": 100
              },
              "actions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "minLength": 1
                    },
                    "id": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    },
                    "verb": {
                      "type": "string"
                    },
                    "tooltip": {
                      "type": "string"
                    },
                    "isEnabled": {
                      "type": "boolean"
                    },
                    "associatedInputs": {
                      "enum": [
                        "auto",
                        "none"
                      ]
                    },
                    "data": {
                      "$ref": "#/definitions/ONFJsonValue"
                    }
                  },
                  "required": [
                    "type"
                  ],
                  "additionalProperties": {
                    "$ref": "#/definitions/ONFJsonValue"
                  }
                },
                "maxItems": 20
              },
              "$schema": {
                "type": "string"
              },
              "fallbackText": {
                "type": "string"
              }
            },
            "required": [
              "type",
              "version",
              "body"
            ],
            "additionalProperties": {
              "$ref": "#/definitions/ONFJsonValue"
            }
          }
        },
        "required": [
          "contentType",
          "contentUrl",
          "content"
        ],
        "additionalProperties": false
      },
      "maxItems": 20,
      "definitions": {
        "ONFJsonValue": {
          "description": "Opaque JSON Value: null, text, finite JSON number, boolean, recursively typed list or dictionary. Only used for explicitly dynamic payloads and extension fields.",
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "string"
            },
            {
              "type": "number"
            },
            {
              "type": "boolean"
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ONFJsonValue"
              }
            },
            {
              "type": "object",
              "additionalProperties": {
                "$ref": "#/definitions/ONFJsonValue"
              }
            }
          ]
        }
      }
    },
    "runtime": "javascript",
    "tags": [
      "library-expansion",
      "teams",
      "type",
      "typed-data"
    ],
    "source": "baseline-catalog"
  }
}
