54 lines
1.5 KiB
JSON
54 lines
1.5 KiB
JSON
{
|
|
"$id": "0pt.lineage_event.schema.v1",
|
|
"type": "object",
|
|
"required": [
|
|
"lineage_event_id",
|
|
"tenant_id",
|
|
"project_id",
|
|
"producer",
|
|
"input_assets",
|
|
"output_assets",
|
|
"created_at"
|
|
],
|
|
"properties": {
|
|
"lineage_event_id": { "type": "string" },
|
|
"tenant_id": { "type": "string" },
|
|
"project_id": { "type": "string" },
|
|
"producer": {
|
|
"type": "object",
|
|
"description": "The capability/app that produced this lineage edge.",
|
|
"required": ["app_id", "capability_id"],
|
|
"properties": {
|
|
"app_id": { "type": "string" },
|
|
"capability_id": { "type": "string" }
|
|
}
|
|
},
|
|
"input_assets": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"required": ["asset_type", "asset_id"],
|
|
"properties": {
|
|
"asset_type": { "type": "string", "enum": ["dataset", "iceberg_table", "artifact", "source", "document", "signal"] },
|
|
"asset_id": { "type": "string" }
|
|
}
|
|
}
|
|
},
|
|
"output_assets": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"required": ["asset_type", "asset_id"],
|
|
"properties": {
|
|
"asset_type": { "type": "string", "enum": ["dataset", "iceberg_table", "artifact", "source", "document", "signal"] },
|
|
"asset_id": { "type": "string" }
|
|
}
|
|
}
|
|
},
|
|
"st0re_artifacts": { "type": "array", "items": { "type": "string" } },
|
|
"quality_report_id": { "type": "string" },
|
|
"correlation_id": { "type": "string" },
|
|
"created_at": { "type": "string" }
|
|
}
|
|
}
|