{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amigo/main/json-schema/amigo-compliance-dashboard-response-schema.json",
  "title": "ComplianceDashboardResponse",
  "description": "Composite compliance health overview.",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amigo-compliance-api-openapi.yml#/components/schemas/ComplianceDashboardResponse",
  "properties": {
    "hipaa_status": {
      "type": "string",
      "title": "Hipaa Status"
    },
    "retention_days": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Retention Days"
    },
    "legal_hold": {
      "type": "boolean",
      "title": "Legal Hold"
    },
    "total_credentials": {
      "type": "integer",
      "title": "Total Credentials"
    },
    "active_credentials": {
      "type": "integer",
      "title": "Active Credentials"
    },
    "last_audit_export": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Audit Export"
    },
    "generated_at": {
      "type": "string",
      "title": "Generated At"
    }
  },
  "type": "object",
  "required": [
    "hipaa_status",
    "retention_days",
    "legal_hold",
    "total_credentials",
    "active_credentials",
    "last_audit_export",
    "generated_at"
  ]
}