{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/novence-ai/json-schema/novence-ai-spend-limit-status-schema.json",
  "title": "SpendLimitStatus",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/novence-ai-openapi.yml#/components/schemas/SpendLimitStatus",
  "type": "object",
  "properties": {
    "limitUsd": {
      "type": [
        "number",
        "null"
      ],
      "description": "Monthly overage cap in USD. null = no cap."
    },
    "overageUsd": {
      "type": "number",
      "description": "Month-to-date overage at list rates (excludes the base plan price)."
    },
    "remainingUsd": {
      "type": [
        "number",
        "null"
      ]
    },
    "usedPct": {
      "type": [
        "integer",
        "null"
      ],
      "description": "overage / limit",
      "capped at 100. null when the limit is null or 0.": null
    },
    "applies": {
      "type": "boolean",
      "description": "Only verified Pro/Scale accounts incur overage. A limit on Free is kept for later."
    },
    "reached": {
      "type": "boolean"
    },
    "paused": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "bandwidth_gb",
          "check_minutes",
          "form_submissions",
          "custom_domains"
        ]
      },
      "description": "What is paused right now. bandwidth_gb means live sites are paused."
    },
    "pausedLabels": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "sitesPaused": {
      "type": "boolean"
    },
    "period": {
      "type": "object",
      "properties": {
        "start": {
          "type": "string",
          "format": "date-time"
        },
        "resetsAt": {
          "type": "string",
          "format": "date-time"
        }
      }
    }
  }
}