37 lines
1.5 KiB
JSON
37 lines
1.5 KiB
JSON
{
|
|
"$id": "0pt.iceberg_table.schema.v1",
|
|
"type": "object",
|
|
"required": [
|
|
"table_id",
|
|
"tenant_id",
|
|
"project_id",
|
|
"table_name",
|
|
"namespace",
|
|
"storage_uri",
|
|
"table_format",
|
|
"status",
|
|
"created_at"
|
|
],
|
|
"properties": {
|
|
"table_id": { "type": "string", "description": "Reference into ST0RE's table registry (IcebergTable.tableId, st0re_iceberg_tables)." },
|
|
"tenant_id": { "type": "string" },
|
|
"project_id": { "type": "string" },
|
|
"table_name": { "type": "string" },
|
|
"namespace": { "type": "string", "description": "ST0RE lakehouse namespace name." },
|
|
"storage_uri": { "type": "string", "description": "Object-store URI for the table's data/metadata, e.g. s3://siax-tenants/.../table." },
|
|
"catalog_ref": { "type": "string", "description": "Opaque reference into the external Iceberg catalog — ST0RE does not resolve it." },
|
|
"table_format": { "type": "string", "enum": ["iceberg", "delta", "hudi"] },
|
|
"current_snapshot_id": { "type": "string" },
|
|
"schema_version": { "type": "string" },
|
|
"partition_spec": { "type": "array", "items": { "type": "string" } },
|
|
"retention_policy": { "type": "string" },
|
|
"data_residency": { "type": "string" },
|
|
"pii_level": { "type": "string", "enum": ["none", "low", "medium", "high"] },
|
|
"owner_product": { "type": "string" },
|
|
"status": { "type": "string", "enum": ["active", "deprecated", "archived"] },
|
|
"correlation_id": { "type": "string" },
|
|
"created_at": { "type": "string" },
|
|
"created_by": { "type": "string" }
|
|
}
|
|
}
|