{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/arkova-ai/json-schema/arkova-ai-sub-organization-schema.json",
  "title": "SubOrganization",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/arkova-ai-organizations-api-openapi.yml#/components/schemas/SubOrganization",
  "type": "object",
  "required": [
    "public_id",
    "display_name",
    "suspended",
    "docusign_inherited",
    "created_at"
  ],
  "properties": {
    "public_id": {
      "type": "string",
      "description": "Public identifier. The internal uuid is never returned."
    },
    "display_name": {
      "type": "string"
    },
    "domain": {
      "type": [
        "string",
        "null"
      ]
    },
    "verification_status": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "UNVERIFIED",
        "PENDING",
        "VERIFIED",
        "REJECTED",
        "REQUIRES_INPUT",
        null
      ]
    },
    "parent_approval_status": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "PENDING",
        "APPROVED",
        "REVOKED",
        null
      ]
    },
    "suspended": {
      "type": "boolean"
    },
    "docusign_inherited": {
      "type": "boolean",
      "description": "Whether this affiliate currently runs on the parent organization DocuSign connection."
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}