{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/alphabazaar-ai/json-schema/alphabazaar-ai-signal-comment-response-schema.json",
  "title": "SignalCommentResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/alphabazaar-ai-comments-api-openapi.yml#/components/schemas/SignalCommentResponse",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "signal_id": {
      "type": "string",
      "title": "Signal Id"
    },
    "user_id": {
      "type": "string",
      "title": "User Id"
    },
    "username": {
      "type": "string",
      "title": "Username"
    },
    "content": {
      "type": "string",
      "title": "Content"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "title": "Updated At"
    },
    "is_edited": {
      "type": "boolean",
      "title": "Is Edited"
    },
    "is_publisher": {
      "type": "boolean",
      "title": "Is Publisher"
    },
    "like_count": {
      "type": "integer",
      "title": "Like Count"
    },
    "dislike_count": {
      "type": "integer",
      "title": "Dislike Count"
    },
    "user_reaction": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "User Reaction"
    },
    "can_edit": {
      "type": "boolean",
      "title": "Can Edit"
    },
    "can_delete": {
      "type": "boolean",
      "title": "Can Delete"
    }
  },
  "type": "object",
  "required": [
    "id",
    "signal_id",
    "user_id",
    "username",
    "content",
    "created_at",
    "updated_at",
    "is_edited",
    "is_publisher",
    "like_count",
    "dislike_count",
    "user_reaction",
    "can_edit",
    "can_delete"
  ]
}