Apache Airflow · JSON Structure

Airflow Variable Body Structure

Variable serializer for bodies.

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

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

Properties

key value description team_name

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-variable-body-structure.json",
  "name": "VariableBody",
  "description": "Variable serializer for bodies.",
  "type": "object",
  "properties": {
    "key": {
      "type": "string",
      "maxLength": 250,
      "title": "Key"
    },
    "value": {
      "$ref": "#/components/schemas/JsonValue"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Description"
    },
    "team_name": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 50
        },
        {
          "type": "null"
        }
      ],
      "title": "Team Name"
    }
  },
  "required": [
    "key",
    "value"
  ],
  "additionalProperties": false
}