{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/iam_create-account",
  "title": "Create account",
  "properties": {
    "name": {
      "description": "Account name",
      "type": "string"
    },
    "type": {
      "description": "the type of account being created. For self-serve customers, use standard. for enterprise customers, use enterprise.",
      "enum": [
        "standard",
        "enterprise"
      ],
      "example": "standard"
    },
    "unit": {
      "description": "information related to the tenant unit, and optionally, an id of the unit to create the account on. see https://developers.cloudflare.com/tenant/how-to/manage-accounts/",
      "properties": {
        "id": {
          "description": "Tenant unit ID",
          "example": "f267e341f3dd4697bd3b9f71dd96247f",
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "required": [
    "name",
    "type"
  ],
  "type": "object"
}