{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/swisswhaleintelligence-com/json-schema/swisswhaleintelligence-com-entity-profile-schema.json",
  "title": "EntityProfile",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/swisswhaleintelligence-com-openapi.json#/components/schemas/EntityProfile",
  "properties": {
    "activity": {
      "properties": {
        "classification": {
          "enum": [
            "dormant_wakeup",
            "elevated",
            "routine",
            "quiet"
          ],
          "type": "string"
        },
        "last_move_at": {
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "moves_window": {
          "type": "integer"
        },
        "phrase": {
          "type": "string"
        },
        "weekly_baseline": {
          "type": "number"
        },
        "window_volume_usd": {
          "type": "number"
        }
      },
      "type": [
        "object",
        "null"
      ]
    },
    "address": {
      "type": "string"
    },
    "chain": {
      "type": "string"
    },
    "entity": {
      "properties": {
        "address_count": {
          "type": "integer"
        },
        "canonical_name": {
          "type": "string"
        },
        "chain_count": {
          "type": "integer"
        },
        "chains": {
          "type": "string"
        },
        "link_confidence": {
          "maximum": 1,
          "minimum": 0,
          "type": [
            "number",
            "null"
          ]
        },
        "link_method": {
          "description": "label_match = confirmed; cluster = inferred via common-input co-spend (heuristic).",
          "enum": [
            "label_match",
            "cluster",
            "manual",
            "bridge_heuristic",
            "deposit_reuse",
            "timing"
          ],
          "type": "string"
        },
        "primary_type": {
          "type": "string"
        },
        "slug": {
          "type": "string"
        }
      },
      "type": [
        "object",
        "null"
      ]
    },
    "label": {
      "description": "Plain per-address label when not linked to a canonical entity.",
      "type": [
        "object",
        "null"
      ]
    },
    "resolved": {
      "type": "boolean"
    }
  },
  "type": "object"
}