{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/asterwise-com/json-schema/asterwise-com-api-response-my-usage-response-schema.json",
  "title": "ApiResponse[MyUsageResponse]",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/asterwise-com-keys-api-openapi.yml#/components/schemas/ApiResponse_MyUsageResponse_",
  "properties": {
    "success": {
      "type": "boolean",
      "title": "Success",
      "description": "True if the request succeeded",
      "default": true
    },
    "message": {
      "type": "string",
      "title": "Message",
      "description": "Human-readable status message",
      "default": "success"
    },
    "data": {
      "$ref": "#/$defs/MyUsageResponse",
      "description": "The endpoint response payload"
    }
  },
  "type": "object",
  "required": [
    "data"
  ],
  "$defs": {
    "MyUsageResponse": {
      "properties": {
        "calls_used": {
          "type": "integer",
          "minimum": 0.0,
          "title": "Calls Used"
        },
        "calls_limit": {
          "type": "integer",
          "minimum": 0.0,
          "title": "Calls Limit"
        },
        "calls_remaining": {
          "type": "integer",
          "minimum": 0.0,
          "title": "Calls Remaining"
        },
        "percent_used": {
          "type": "number",
          "minimum": 0.0,
          "title": "Percent Used"
        },
        "tier": {
          "type": "string",
          "title": "Tier"
        },
        "burst_limit": {
          "type": "integer",
          "minimum": 0.0,
          "title": "Burst Limit",
          "description": "Calls a minute the plan allows (counted per account in UTC clock minutes)."
        },
        "reset_date": {
          "type": "string",
          "title": "Reset Date"
        },
        "period_start": {
          "type": "string",
          "title": "Period Start"
        },
        "period_end": {
          "type": "string",
          "title": "Period End"
        }
      },
      "type": "object",
      "required": [
        "calls_used",
        "calls_limit",
        "calls_remaining",
        "percent_used",
        "tier",
        "burst_limit",
        "reset_date",
        "period_start",
        "period_end"
      ],
      "title": "MyUsageResponse"
    }
  }
}