{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vobiz-ai/json-schema/vobiz-ai-sub-account-schema.json",
  "title": "SubAccount",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vobiz-ai-openapi.yml#/components/schemas/SubAccount",
  "type": "object",
  "properties": {
    "auth_id": {
      "type": "string"
    },
    "auth_token": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "enabled": {
      "type": "boolean"
    },
    "kyc_mode": {
      "type": "string",
      "enum": [
        "personal_use",
        "customer_use"
      ],
      "description": "Verification mode. `customer_use` sub-accounts must complete their own KYC before placing calls."
    },
    "business_type": {
      "type": "string",
      "description": "Legal constitution of the customer (e.g. `private_limited`)."
    },
    "kyc_calls_blocked": {
      "type": "boolean",
      "description": "True while a `customer_use` sub-account has not yet completed the KYC required to place calls."
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}