{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/emidlabs-com/json-schema/emidlabs-com-get-subscriptions-id-response-schema.json",
  "title": "GetSubscriptionsIdResponse",
  "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/GetSubscriptionsIdResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "UUID of the subscription."
    },
    "assetPair": {
      "type": "string",
      "description": "Asset pair being watched."
    },
    "provider": {
      "type": "string",
      "description": "\"coinbase\" or \"binance\"."
    },
    "timeframe": {
      "type": "string",
      "description": "Resolved from the strategy's configuration."
    },
    "status": {
      "type": "string",
      "description": "\"Active\", \"Stopped\", or \"Errored\"."
    },
    "lastEvaluatedCandleOpenTime": {
      "type": "number",
      "description": "Unix seconds of the most recent candle evaluated."
    },
    "model": {
      "type": "string",
      "description": "\"Stateless\" or \"Stateful\"."
    },
    "isPositioned": {
      "type": "boolean",
      "description": "Only meaningful when model is \"Stateful\"."
    },
    "createdAtUtc": {
      "type": "string",
      "description": "Creation timestamp (UTC)."
    },
    "stoppedAtUtc": {
      "type": "string",
      "description": "When the subscription was stopped."
    }
  }
}