{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/rtcstats/main/json-schema/rtcstats-quota-response-schema.json",
  "title": "QuotaResponse",
  "x-generated": "2026-09-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rtcstats-rtcstats-api-api-openapi.yml#/components/schemas/QuotaResponse",
  "type": "object",
  "required": [
    "accountName",
    "accountPlan",
    "allowedCredits",
    "remainingCredits"
  ],
  "properties": {
    "accountName": {
      "type": "string",
      "description": "Account display name."
    },
    "accountPlan": {
      "type": "string",
      "enum": [
        "developer",
        "trial_developer",
        "enterprise"
      ],
      "description": "Effective plan for the account."
    },
    "allowedCredits": {
      "type": "number",
      "description": "Total credits allowed for the account (monthly allocation plus purchased)"
    },
    "remainingCredits": {
      "type": "number",
      "description": "Credits available."
    }
  }
}