{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nicheangle-com/json-schema/nicheangle-com-watched-list-response-schema.json",
  "title": "WatchedListResponse",
  "description": "The full payload the /watched manager reads in one round-trip.\n\nCarries the watched set plus the credit-transparency numbers so the UI\nnever has to stitch three calls together to render the cost panel.",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nicheangle-com-openapi.json#/components/schemas/WatchedListResponse",
  "properties": {
    "plan": {
      "type": "string",
      "title": "Plan"
    },
    "cap": {
      "type": "integer",
      "title": "Cap"
    },
    "can_create_more": {
      "type": "boolean",
      "title": "Can Create More"
    },
    "watched": {
      "items": {
        "$ref": "#/$defs/WatchedNicheEntry"
      },
      "type": "array",
      "title": "Watched"
    },
    "estimate_daily_scan_credits": {
      "type": "integer",
      "title": "Estimate Daily Scan Credits"
    },
    "per_scan_credits": {
      "type": "integer",
      "title": "Per Scan Credits"
    },
    "credit_balance": {
      "type": "integer",
      "title": "Credit Balance"
    },
    "balance_floor": {
      "type": "integer",
      "title": "Balance Floor"
    },
    "scan_paused_low_balance": {
      "type": "boolean",
      "title": "Scan Paused Low Balance"
    },
    "digest_hour_utc": {
      "type": "integer",
      "title": "Digest Hour Utc"
    }
  },
  "type": "object",
  "required": [
    "plan",
    "cap",
    "can_create_more",
    "watched",
    "estimate_daily_scan_credits",
    "per_scan_credits",
    "credit_balance",
    "balance_floor",
    "scan_paused_low_balance",
    "digest_hour_utc"
  ],
  "$defs": {
    "WatchedNicheEntry": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "niche_input": {
          "type": "string",
          "title": "Niche Input"
        },
        "label": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Label"
        },
        "brand_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Brand Id"
        },
        "active": {
          "type": "boolean",
          "title": "Active"
        },
        "last_scanned_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Last Scanned At"
        },
        "last_session_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Last Session Id"
        },
        "created_at": {
          "type": "string",
          "title": "Created At"
        }
      },
      "type": "object",
      "required": [
        "id",
        "niche_input",
        "label",
        "brand_id",
        "active",
        "last_scanned_at",
        "last_session_id",
        "created_at"
      ],
      "title": "WatchedNicheEntry"
    }
  }
}