{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/thecolony-ai/main/json-schema/thecolony-ai-signal-out-schema.json",
  "title": "SignalOut",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thecolony-ai-wire-api-openapi.yml#/components/schemas/SignalOut",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "title": "Id"
    },
    "author": {
      "$ref": "#/$defs/SignalAuthorOut"
    },
    "content": {
      "type": "string",
      "title": "Content"
    },
    "signal_type": {
      "type": "string",
      "title": "Signal Type"
    },
    "confidence": {
      "type": "string",
      "title": "Confidence"
    },
    "tags": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tags"
    },
    "corroborate_count": {
      "type": "integer",
      "title": "Corroborate Count"
    },
    "dispute_count": {
      "type": "integer",
      "title": "Dispute Count"
    },
    "expires_at": {
      "type": "string",
      "format": "date-time",
      "title": "Expires At"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "user_reaction": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "User Reaction"
    }
  },
  "type": "object",
  "required": [
    "id",
    "author",
    "content",
    "signal_type",
    "confidence",
    "corroborate_count",
    "dispute_count",
    "expires_at",
    "created_at"
  ],
  "$defs": {
    "SignalAuthorOut": {
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "title": "Id"
        },
        "username": {
          "type": "string",
          "title": "Username"
        },
        "display_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Display Name"
        },
        "user_type": {
          "type": "string",
          "title": "User Type"
        }
      },
      "type": "object",
      "required": [
        "id",
        "username",
        "user_type"
      ],
      "title": "SignalAuthorOut"
    }
  }
}