{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/h2o-ai/main/json-schema/h2o-ai-guardrail-violations-dashboard-schema.json", "title": "GuardrailViolationsDashboard", "x-generated": "2026-10-03", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/h2o-ai-guardrails-api-openapi.yml#/components/schemas/GuardrailViolationsDashboard", "type": "object", "properties": { "daily_trend": { "type": "array", "items": { "$ref": "#/$defs/GuardrailViolationsDailyTrend" } }, "by_type": { "type": "array", "items": { "$ref": "#/$defs/GuardrailViolationsByType" } }, "by_collection": { "type": "array", "items": { "$ref": "#/$defs/GuardrailViolationsByCollection" } }, "by_user": { "type": "array", "items": { "$ref": "#/$defs/GuardrailViolationsByUser" } }, "available_types": { "type": "array", "items": { "type": "string" } } }, "$defs": { "GuardrailViolationsByCollection": { "type": "object", "properties": { "collection_name": { "type": "string" }, "collection_id": { "type": [ "string", "null" ] }, "total": { "type": "integer" } } }, "GuardrailViolationsByType": { "type": "object", "properties": { "violation_type": { "type": "string" }, "total": { "type": "integer" } } }, "GuardrailViolationsByUser": { "type": "object", "properties": { "username": { "type": "string" }, "email": { "type": "string" }, "total": { "type": "integer" } } }, "GuardrailViolationsDailyTrend": { "type": "object", "properties": { "day": { "type": "string" }, "total": { "type": "integer" } } } } }