{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aimeat-io/json-schema/aimeat-io-agent-purchase-limit-view-schema.json",
  "title": "AgentPurchaseLimitView",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aimeat-io-agents-api-openapi.yml#/components/schemas/AgentPurchaseLimitView",
  "type": "object",
  "properties": {
    "agent": {
      "type": "string",
      "description": "The agent's GAII"
    },
    "limits": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "currency": {
            "type": "string"
          },
          "per_day": {
            "type": [
              "number",
              "null"
            ],
            "description": "Major units; null means no limit set",
            "so no spending": null
          },
          "spent_today": {
            "type": "number",
            "description": "Major units",
            "spent since 00:00 UTC": null
          }
        }
      }
    },
    "note": {
      "type": "string"
    }
  }
}