{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/robosystems-ai/json-schema/robosystems-ai-credit-summary-response-schema.json",
  "title": "CreditSummaryResponse",
  "description": "Credit summary response model.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/robosystems-ai-credits-api-openapi.yml#/components/schemas/CreditSummaryResponse",
  "properties": {
    "graph_id": {
      "type": "string",
      "title": "Graph Id"
    },
    "graph_tier": {
      "type": "string",
      "title": "Graph Tier"
    },
    "current_balance": {
      "type": "number",
      "title": "Current Balance"
    },
    "monthly_allocation": {
      "type": "number",
      "title": "Monthly Allocation"
    },
    "consumed_this_month": {
      "type": "number",
      "title": "Consumed This Month"
    },
    "transaction_count": {
      "type": "integer",
      "title": "Transaction Count"
    },
    "usage_percentage": {
      "type": "number",
      "title": "Usage Percentage"
    },
    "last_allocation_date": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Allocation Date"
    }
  },
  "type": "object",
  "required": [
    "graph_id",
    "graph_tier",
    "current_balance",
    "monthly_allocation",
    "consumed_this_month",
    "transaction_count",
    "usage_percentage"
  ]
}