changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": true,
+ "properties": {
+ "data": {
+ "anyOf": [
+ {
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "action": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "pattern": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "additionalProperties": true,
+ "properties": {
+ "action": {
+ "type": "string"
+ },
+ "added": {
+ "type": "boolean"
+ },
+ "message": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "pattern": {
+ "type": "string"
+ },
+ "rule_name": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "additionalProperties": true,
+ "properties": {
+ "action": {
+ "type": "string"
+ },
+ "allowed": {
+ "type": "boolean"
+ },
+ "matched": {
+ "type": "boolean"
+ },
+ "matched_rule": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "rule": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ {
+ "additionalProperties": true,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "details": {
+ "additionalProperties": {},
+ "type": "object"
+ },
+ "error": {
+ "type": "string"
+ },
+ "internal_code": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "retry_after_s": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+ }
+ ]
+ },
+ "display": {
+ "additionalProperties": true,
+ "properties": {
+ "chart": {
+ "additionalProperties": true,
+ "properties": {
+ "chartType": {
+ "type": "string"
+ },
+ "color": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "x": {
+ "type": "string"
+ },
+ "xLabel": {
+ "type": "string"
+ },
+ "y": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ ]
+ },
+ "yLabel": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "code": {
+ "additionalProperties": true,
+ "properties": {
+ "executable": {
+ "type": "boolean"
+ },
+ "language": {
+ "anyOf": [
+ {
+ "enum": [
+ "sql",
+ "json",
+ "bash",
+ "typescript"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "metric": {
+ "additionalProperties": true,
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "status": {
+ "anyOf": [
+ {
+ "enum": [
+ "good",
+ "warning",
+ "critical"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "trend": {
+ "anyOf": [
+ {
+ "enum": [
+ "up",
+ "down",
+ "neutral"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "trendValue": {
+ "type": "string"
+ },
+ "unit": {
+ "type": "string"
+ },
+ "value": {
+ "type": [
+ "string",
+ "number"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": {
+ "anyOf": [
+ {
+ "enum": [
+ "table",
+ "chart",
+ "metric",
+ "code",
+ "text",
+ "list"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "insights": {
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "column": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "severity": {
+ "anyOf": [
+ {
+ "enum": [
+ "info",
+ "warning",
+ "critical"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "value": {}
+ },
+ "required": [
+ "severity",
+ "message"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "meta": {
+ "additionalProperties": true,
+ "properties": {
+ "cacheHit": {
+ "type": "boolean"
+ },
+ "connection": {
+ "type": "string"
+ },
+ "dialect": {
+ "anyOf": [
+ {
+ "enum": [
+ "postgres",
+ "mysql",
+ "mssql"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "executionTimeMs": {
+ "type": [
+ "number",
+ "string"
+ ]
+ },
+ "plan": {},
+ "rowCount": {
+ "$ref": "#/properties/meta/properties/executionTimeMs"
+ },
+ "tool": {
+ "type": "string"
+ },
+ "truncated": {
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "summary": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+}