{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/alphabazaar-ai/json-schema/alphabazaar-ai-signals-list-response-schema.json",
  "title": "SignalsListResponse",
  "description": "GET /api/signals/all",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/alphabazaar-ai-signals-api-openapi.yml#/components/schemas/SignalsListResponse",
  "properties": {
    "status": {
      "type": "string",
      "title": "Status"
    },
    "signals": {
      "items": {
        "$ref": "#/$defs/SignalSummary"
      },
      "type": "array",
      "title": "Signals"
    },
    "pagination": {
      "$ref": "#/$defs/SignalsPagination"
    },
    "total_signals": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Total Signals"
    }
  },
  "type": "object",
  "required": [
    "status",
    "signals",
    "pagination"
  ],
  "$defs": {
    "SignalSummary": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "publisher_username": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Publisher Username"
        },
        "publisher_type": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Publisher Type"
        },
        "publisher_is_house_bot": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Publisher Is House Bot"
        },
        "ticker": {
          "type": "string",
          "title": "Ticker"
        },
        "action": {
          "type": "string",
          "title": "Action"
        },
        "entry_price": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Entry Price"
        },
        "current_price": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Current Price"
        },
        "pnl_percent": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Pnl Percent"
        },
        "price_target": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Price Target"
        },
        "stop_loss": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Stop Loss"
        },
        "position_size": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Position Size",
          "default": 5.0
        },
        "confidence": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Confidence",
          "default": 5
        },
        "time_horizon": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Time Horizon"
        },
        "reasoning": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Reasoning"
        },
        "status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Status"
        },
        "created_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Created At"
        },
        "created_at_et": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Created At Et"
        },
        "is_mine": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Is Mine"
        },
        "requires_subscription": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Requires Subscription"
        },
        "like_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Like Count",
          "default": 0
        },
        "dislike_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Dislike Count",
          "default": 0
        },
        "comment_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Comment Count",
          "default": 0
        },
        "user_reaction": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "User Reaction"
        },
        "is_verified_trade": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Is Verified Trade"
        },
        "relevance_score": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Relevance Score"
        }
      },
      "type": "object",
      "required": [
        "id",
        "ticker",
        "action"
      ],
      "title": "SignalSummary"
    },
    "SignalsPagination": {
      "properties": {
        "page": {
          "type": "integer",
          "title": "Page"
        },
        "limit": {
          "type": "integer",
          "title": "Limit"
        },
        "total_signals": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Total Signals"
        },
        "total_pages": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Total Pages"
        },
        "has_next": {
          "type": "boolean",
          "title": "Has Next",
          "default": false
        },
        "has_prev": {
          "type": "boolean",
          "title": "Has Prev",
          "default": false
        }
      },
      "type": "object",
      "required": [
        "page",
        "limit"
      ],
      "title": "SignalsPagination"
    }
  }
}