Apache Airflow · Schema

XComResponseString

XCom response serializer with string return type.

Workflow OrchestrationData PipelineOpen SourceApacheDAGSchedulingETLData Engineering

Properties

Name Type Description
key string
timestamp string
logical_date object
map_index integer
task_id string
dag_id string
run_id string
dag_display_name string
task_display_name string
run_after string
value object
View JSON Schema on GitHub

JSON Schema

airflow-x-com-response-string-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/airflow/refs/heads/main/json-schema/airflow-x-com-response-string-schema.json",
  "title": "XComResponseString",
  "description": "XCom response serializer with string return type.",
  "type": "object",
  "properties": {
    "key": {
      "type": "string",
      "title": "Key"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "title": "Timestamp"
    },
    "logical_date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Logical Date"
    },
    "map_index": {
      "type": "integer",
      "title": "Map Index"
    },
    "task_id": {
      "type": "string",
      "title": "Task Id"
    },
    "dag_id": {
      "type": "string",
      "title": "Dag Id"
    },
    "run_id": {
      "type": "string",
      "title": "Run Id"
    },
    "dag_display_name": {
      "type": "string",
      "title": "Dag Display Name"
    },
    "task_display_name": {
      "type": "string",
      "title": "Task Display Name"
    },
    "run_after": {
      "type": "string",
      "format": "date-time",
      "title": "Run After"
    },
    "value": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Value"
    }
  },
  "required": [
    "key",
    "timestamp",
    "logical_date",
    "map_index",
    "task_id",
    "dag_id",
    "run_id",
    "dag_display_name",
    "task_display_name",
    "run_after",
    "value"
  ]
}