{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/licenseground-com/json-schema/licenseground-com-meter-status-schema.json",
  "title": "MeterStatus",
  "description": "Credits and usage metering information for agent accounts.",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/licenseground-com-openapi.yml#/components/schemas/MeterStatus",
  "properties": {
    "api_key": {
      "type": "string",
      "title": "Api Key"
    },
    "remaining_credits": {
      "type": "integer",
      "title": "Remaining Credits"
    },
    "total_used": {
      "type": "integer",
      "title": "Total Used"
    },
    "spending_ceiling_usd": {
      "type": "number",
      "title": "Spending Ceiling Usd"
    },
    "current_spend_usd": {
      "type": "number",
      "title": "Current Spend Usd"
    },
    "is_active": {
      "type": "boolean",
      "title": "Is Active"
    }
  },
  "type": "object",
  "required": [
    "api_key",
    "remaining_credits",
    "total_used",
    "spending_ceiling_usd",
    "current_spend_usd",
    "is_active"
  ]
}