Apache Airflow · Schema

DatasetEvent

A dataset event. *New in version 2.4.0*

ApacheDAGData PipelineETLOpen SourceOrchestrationPythonSchedulingWorkflow

Properties

Name Type Description
created_dagruns array
dataset_id integer The dataset id
dataset_uri string The URI of the dataset
extra object The dataset event extra
source_dag_id string The DAG ID that updated the dataset.
source_map_index integer The task map index that updated the dataset.
source_run_id string The DAG run ID that updated the dataset.
source_task_id string The task ID that updated the dataset.
timestamp string The dataset event creation time
View JSON Schema on GitHub

JSON Schema

openapi.yaml-dataset-event-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-airflow/refs/heads/main/json-schema/openapi.yaml-dataset-event-schema.json",
  "title": "DatasetEvent",
  "description": "A dataset event.\n\n*New in version 2.4.0*\n",
  "type": "object",
  "properties": {
    "created_dagruns": {
      "items": {
        "$ref": "#/components/schemas/BasicDAGRun"
      },
      "type": "array"
    },
    "dataset_id": {
      "description": "The dataset id",
      "type": "integer"
    },
    "dataset_uri": {
      "description": "The URI of the dataset",
      "nullable": false,
      "type": "string"
    },
    "extra": {
      "description": "The dataset event extra",
      "nullable": true,
      "type": "object"
    },
    "source_dag_id": {
      "description": "The DAG ID that updated the dataset.",
      "nullable": true,
      "type": "string"
    },
    "source_map_index": {
      "description": "The task map index that updated the dataset.",
      "nullable": true,
      "type": "integer"
    },
    "source_run_id": {
      "description": "The DAG run ID that updated the dataset.",
      "nullable": true,
      "type": "string"
    },
    "source_task_id": {
      "description": "The task ID that updated the dataset.",
      "nullable": true,
      "type": "string"
    },
    "timestamp": {
      "description": "The dataset event creation time",
      "nullable": false,
      "type": "string"
    }
  }
}