{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/chikocorp-com/json-schema/chikocorp-com-case-summary-schema.json",
  "title": "CaseSummary",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/chikocorp-com-tron-usdt-risk-openapi.yml#/components/schemas/CaseSummary",
  "type": "object",
  "required": [
    "id",
    "title",
    "status",
    "priority",
    "subjectAddress",
    "assignedToUserId",
    "createdByUserId",
    "decisionReason",
    "closedAt",
    "createdAt",
    "updatedAt",
    "reportCount",
    "highestRiskScore",
    "highestRiskTier"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "title": {
      "type": "string"
    },
    "subjectAddress": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "open",
        "reviewing",
        "hold",
        "approved",
        "rejected",
        "closed"
      ]
    },
    "priority": {
      "type": "string",
      "enum": [
        "low",
        "normal",
        "high",
        "urgent"
      ]
    },
    "assignedToUserId": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdByUserId": {
      "type": "string"
    },
    "decisionReason": {
      "type": [
        "string",
        "null"
      ]
    },
    "closedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "reportCount": {
      "type": "integer",
      "minimum": 0
    },
    "highestRiskScore": {
      "type": [
        "integer",
        "null"
      ]
    },
    "highestRiskTier": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}