{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "RedactStats",
"description": "Statistics from redaction operation",
"type": "object",
"properties": {
"columns_redacted": {
"description": "Number of columns redacted",
"type": "integer",
"minimum": 0
},
"rows_redacted": {
"description": "Number of rows redacted",
"type": "integer",
"minimum": 0
},
"table_stats": {
"description": "Per-table statistics",
"type": "array",
"items": {
"$ref": "#/$defs/TableRedactStats"
}
},
"tables_processed": {
"description": "Number of tables processed",
"type": "integer",
"minimum": 0
},
"warnings": {
"description": "Warning messages",
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"tables_processed",
"rows_redacted",
"columns_redacted",
"table_stats",
"warnings"
],
"$defs": {
"TableRedactStats": {
"description": "Per-table redaction statistics",
"type": "object",
"properties": {
"columns_redacted": {
"type": "integer",
"minimum": 0
},
"name": {
"type": "string"
},
"rows_processed": {
"type": "integer",
"minimum": 0
}
},
"required": ["name", "rows_processed", "columns_redacted"]
}
}
}