{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/send21-io/json-schema/send21-io-account-status-response-schema.json",
  "title": "AccountStatusResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/send21-io-account-api-openapi.yml#/components/schemas/AccountStatusResponse",
  "type": "object",
  "properties": {
    "email": {
      "type": [
        "string",
        "null"
      ]
    },
    "emailVerified": {
      "type": "boolean"
    },
    "receivingAddressPolicy": {
      "$ref": "#/$defs/ReceivingAddressPolicy"
    },
    "approvedReceivingAddresses": {
      "type": "integer",
      "format": "int32"
    },
    "approvedPayingAddresses": {
      "type": "integer",
      "format": "int32"
    },
    "proposedAddresses": {
      "type": "integer",
      "format": "int32"
    },
    "ownerCanApprove": {
      "type": "boolean"
    },
    "keyScopes": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "outstandingFeesUsd": {
      "type": "number",
      "format": "double"
    },
    "feesBlockCreation": {
      "type": "boolean"
    },
    "nextSteps": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "ReceivingAddressPolicy": {
      "enum": [
        "InlineAllowed",
        "ApprovedOnly"
      ],
      "type": "string"
    }
  }
}