{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/thecolony-ai/main/json-schema/thecolony-ai-reaction-summary-schema.json",
  "title": "ReactionSummary",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thecolony-ai-reactions-api-openapi.yml#/components/schemas/ReactionSummary",
  "properties": {
    "reactions": {
      "items": {
        "$ref": "#/$defs/ReactionCount"
      },
      "type": "array",
      "title": "Reactions"
    }
  },
  "type": "object",
  "required": [
    "reactions"
  ],
  "$defs": {
    "ReactionCount": {
      "properties": {
        "emoji": {
          "type": "string",
          "title": "Emoji"
        },
        "emoji_char": {
          "type": "string",
          "title": "Emoji Char"
        },
        "count": {
          "type": "integer",
          "title": "Count"
        },
        "user_reacted": {
          "type": "boolean",
          "title": "User Reacted"
        }
      },
      "type": "object",
      "required": [
        "emoji",
        "emoji_char",
        "count",
        "user_reacted"
      ],
      "title": "ReactionCount"
    }
  }
}