{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentaos-ai/json-schema/agentaos-ai-business-create-request-schema.json",
  "title": "BusinessCreateRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentaos-ai-businesses-api-openapi.yml#/components/schemas/BusinessCreateRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 100,
      "description": "The name buyers see. A brand, not an email."
    },
    "country": {
      "type": "string",
      "pattern": "^[A-Z]{2}$",
      "description": "Where it is registered, ISO 3166-1 alpha-2, upper case."
    },
    "clientEmail": {
      "type": "string",
      "format": "email",
      "description": "Invite your client as its admin. Leave it out to run the business yourself. Only an owner of your platform may invite."
    },
    "sameLegalEntity": {
      "type": "boolean",
      "default": false,
      "description": "`true` for another app of your own company."
    },
    "sendInvitationEmail": {
      "type": "boolean",
      "default": true,
      "description": "`false`: we send no email; you send `inviteUrl` yourself (white-label)."
    }
  },
  "required": [
    "name",
    "country"
  ]
}