{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mybankstatementanalysis-com/json-schema/mybankstatementanalysis-com-account-response-schema.json",
  "title": "AccountResponse",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/api-v1-openapi.json#/components/schemas/AccountResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "accountId": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "plan": {
          "type": "string"
        },
        "keyPrefix": {
          "type": "string"
        },
        "usage": {
          "type": "object",
          "properties": {
            "pagesUsed": {
              "type": "number"
            },
            "pageLimit": {
              "type": "number"
            },
            "pagesRemaining": {
              "type": "number"
            },
            "periodStart": {
              "type": "string"
            },
            "periodResetsAt": {
              "type": "string"
            }
          },
          "required": [
            "pagesUsed",
            "pageLimit",
            "pagesRemaining",
            "periodStart",
            "periodResetsAt"
          ],
          "additionalProperties": false
        },
        "limits": {
          "type": "object",
          "properties": {
            "analysesPerDay": {
              "type": "number"
            }
          },
          "required": [
            "analysesPerDay"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "accountId",
        "email",
        "plan",
        "keyPrefix",
        "usage",
        "limits"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false
}