Apache Airflow · Schema

AssetEventResponse

Asset event serializer for responses.

Workflow OrchestrationData PipelineOpen SourceApacheDAGSchedulingETLData Engineering

Properties

Name Type Description
id integer
asset_id integer
uri object
name object
group object
extra object
source_task_id object
source_dag_id object
source_run_id object
source_map_index integer
created_dagruns array
timestamp string
partition_key object
View JSON Schema on GitHub

JSON Schema

airflow-asset-event-response-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-asset-event-response-schema.json",
  "title": "AssetEventResponse",
  "description": "Asset event serializer for responses.",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "title": "Id"
    },
    "asset_id": {
      "type": "integer",
      "title": "Asset Id"
    },
    "uri": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Uri"
    },
    "name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Name"
    },
    "group": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Group"
    },
    "extra": {
      "anyOf": [
        {
          "additionalProperties": {
            "$ref": "#/components/schemas/JsonValue"
          },
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Extra"
    },
    "source_task_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Source Task Id"
    },
    "source_dag_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Source Dag Id"
    },
    "source_run_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Source Run Id"
    },
    "source_map_index": {
      "type": "integer",
      "title": "Source Map Index"
    },
    "created_dagruns": {
      "items": {
        "$ref": "#/components/schemas/DagRunAssetReference"
      },
      "type": "array",
      "title": "Created Dagruns"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "title": "Timestamp"
    },
    "partition_key": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Partition Key"
    }
  },
  "required": [
    "id",
    "asset_id",
    "source_map_index",
    "created_dagruns",
    "timestamp"
  ]
}