{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/thecolony-ai/main/json-schema/thecolony-ai-reaction-toggle-schema.json",
  "title": "ReactionToggle",
  "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/ReactionToggle",
  "properties": {
    "emoji": {
      "type": "string",
      "maxLength": 30,
      "title": "Emoji"
    },
    "post_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Post Id"
    },
    "comment_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Comment Id"
    }
  },
  "type": "object",
  "required": [
    "emoji"
  ]
}