{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/emidlabs-com/json-schema/emidlabs-com-get-subscriptions-id-signals-response-schema.json",
  "title": "GetSubscriptionsIdSignalsResponse",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/emidlabs-com-openapi-generated.yml#/components/schemas/GetSubscriptionsIdSignalsResponse",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "description": "Signals for this page, newest first."
    },
    "items[].candleOpenTime": {
      "type": "number",
      "description": "Unix seconds — OpenTime of the candle whose close triggered this signal."
    },
    "items[].type": {
      "type": "string",
      "description": "\"Entry\" or \"Exit\"."
    },
    "items[].price": {
      "type": "number",
      "description": "Close price of the triggering candle."
    },
    "items[].score": {
      "type": "number",
      "description": "Sum of the weights of every condition that evaluated true on this candle."
    },
    "items[].conditions": {
      "type": "object",
      "description": "Every named condition from the strategy, mapped to whether it was true on this candle."
    },
    "items[].scoreBreakdown": {
      "type": "object",
      "description": "Per‑condition weight contributed to score."
    },
    "items[].stopLossPrice": {
      "type": "number",
      "description": "Entry signals only."
    },
    "items[].takeProfitPrice": {
      "type": "number",
      "description": "Entry signals only."
    },
    "totalCount": {
      "type": "number",
      "description": "Total signals matching the type filter."
    },
    "page": {
      "type": "number",
      "description": "The page returned."
    },
    "pageSize": {
      "type": "number",
      "description": "The page size used."
    },
    "totalPages": {
      "type": "number",
      "description": "Total number of pages."
    }
  }
}