Apache Airflow · Schema

DagRunAssetReference

DagRun serializer for asset responses.

Workflow OrchestrationData PipelineOpen SourceApacheDAGSchedulingETLData Engineering

Properties

Name Type Description
run_id string
dag_id string
logical_date object
start_date string
end_date object
state string
data_interval_start object
data_interval_end object
partition_key object
View JSON Schema on GitHub

JSON Schema

airflow-dag-run-asset-reference-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-dag-run-asset-reference-schema.json",
  "title": "DagRunAssetReference",
  "description": "DagRun serializer for asset responses.",
  "type": "object",
  "properties": {
    "run_id": {
      "type": "string",
      "title": "Run Id"
    },
    "dag_id": {
      "type": "string",
      "title": "Dag Id"
    },
    "logical_date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Logical Date"
    },
    "start_date": {
      "type": "string",
      "format": "date-time",
      "title": "Start Date"
    },
    "end_date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "End Date"
    },
    "state": {
      "type": "string",
      "title": "State"
    },
    "data_interval_start": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Data Interval Start"
    },
    "data_interval_end": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Data Interval End"
    },
    "partition_key": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Partition Key"
    }
  },
  "required": [
    "run_id",
    "dag_id",
    "logical_date",
    "start_date",
    "end_date",
    "state",
    "data_interval_start",
    "data_interval_end",
    "partition_key"
  ],
  "additionalProperties": false
}