{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-data-catalog/json-schema/google-cloud-data-catalog-google-cloud-datacatalog-lineage-v1-lineage-event-schema.json",
  "title": "GoogleCloudDatacatalogLineageV1LineageEvent",
  "description": "A lineage event represents an operation on assets. Within the operation, the data flows from the source to the target defined in the links field.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-data-catalog-datalineage-projects-api-openapi.yml#/components/schemas/GoogleCloudDatacatalogLineageV1LineageEvent",
  "type": "object",
  "properties": {
    "startTime": {
      "format": "google-datetime",
      "description": "Required. The beginning of the transformation which resulted in this lineage event. For streaming scenarios, it should be the beginning of the period from which the lineage is being reported.",
      "type": "string"
    },
    "links": {
      "description": "Optional. List of source-target pairs. Can't contain more than 100 tuples.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/GoogleCloudDatacatalogLineageV1EventLink"
      }
    },
    "name": {
      "description": "Immutable. The resource name of the lineage event. Format: `projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}`. Can be specified or auto-assigned. {lineage_event} must be not longer than 200 characters and only contain characters in a set: `a-zA-Z0-9_-:.`",
      "type": "string"
    },
    "endTime": {
      "type": "string",
      "format": "google-datetime",
      "description": "Optional. The end of the transformation which resulted in this lineage event. For streaming scenarios, it should be the end of the period from which the lineage is being reported."
    }
  },
  "$defs": {
    "GoogleCloudDatacatalogLineageV1DependencyInfo": {
      "type": "object",
      "description": "Dependency info describes how one entity depends on another.",
      "properties": {
        "dependencyType": {
          "type": "string",
          "enum": [
            "DEPENDENCY_TYPE_UNSPECIFIED",
            "EXACT_COPY",
            "OTHER"
          ],
          "description": "Required. Type of dependency."
        }
      }
    },
    "GoogleCloudDatacatalogLineageV1EntityReference": {
      "type": "object",
      "description": "The soft reference to everything you can attach a lineage event to.",
      "properties": {
        "field": {
          "description": "Optional. Field path within the entity. Each nesting level should be a separate value in the repeated field. The order matters. Must be empty for asset level lineage For example to address \"salary.net\" subfield where \"salary\" is a column and \"net\" is a proto field two values in the `field` should be reported, the first is \"salary\" and the second is \"net\". Each field length is limited to 500 characters. Maximum supported nesting level is 20.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "fullyQualifiedName": {
          "description": "Required. [Fully Qualified Name (FQN)](https://cloud.google.com/dataplex/docs/fully-qualified-names) of the entity.",
          "type": "string"
        }
      }
    },
    "GoogleCloudDatacatalogLineageV1EventLink": {
      "properties": {
        "source": {
          "$ref": "#/$defs/GoogleCloudDatacatalogLineageV1EntityReference",
          "description": "Required. Reference to the source entity"
        },
        "target": {
          "$ref": "#/$defs/GoogleCloudDatacatalogLineageV1EntityReference",
          "description": "Required. Reference to the target entity"
        },
        "dependencyInfo": {
          "$ref": "#/$defs/GoogleCloudDatacatalogLineageV1DependencyInfo",
          "description": "Optional. Describes how the target depends on the source."
        }
      },
      "type": "object",
      "description": "A lineage between source and target entities."
    }
  }
}