Apache Airflow · JSON Structure

Airflow X Com Create Body Structure

Payload serializer for creating an XCom entry.

Type: object Properties: 3 Required: 2
Workflow OrchestrationData PipelineOpen SourceApacheDAGSchedulingETLData Engineering

XComCreateBody is a JSON Structure definition published by Apache Airflow, describing 3 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

key value map_index

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/airflow/refs/heads/main/json-structure/airflow-x-com-create-body-structure.json",
  "name": "XComCreateBody",
  "description": "Payload serializer for creating an XCom entry.",
  "type": "object",
  "properties": {
    "key": {
      "type": "string",
      "title": "Key"
    },
    "value": {
      "title": "Value"
    },
    "map_index": {
      "type": "int32",
      "title": "Map Index",
      "default": -1
    }
  },
  "required": [
    "key",
    "value"
  ],
  "additionalProperties": false
}