{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vobiz-ai/json-schema/vobiz-ai-sub-account-kyc-status-schema.json",
  "title": "SubAccountKycStatus",
  "description": "Aggregated KYC state for a sub-account.",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vobiz-ai-openapi.yml#/components/schemas/SubAccountKycStatus",
  "type": "object",
  "properties": {
    "sub_account_id": {
      "type": "string"
    },
    "kyc_mode": {
      "type": "string",
      "enum": [
        "personal_use",
        "customer_use"
      ]
    },
    "business_type": {
      "type": "string"
    },
    "overall_status": {
      "type": "string",
      "enum": [
        "not_started",
        "pending",
        "verified",
        "failed"
      ]
    },
    "kyc_calls_blocked": {
      "type": "boolean",
      "description": "True while the sub-account still needs KYC before it can place calls."
    },
    "verifications": {
      "type": "object",
      "description": "Per-document state keyed by verification type.",
      "additionalProperties": {
        "type": "string",
        "enum": [
          "not_started",
          "pending",
          "verified",
          "failed"
        ]
      }
    }
  }
}