{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/frontapp/json-schema/frontapp-create-team-inbox-schema.json",
  "title": "CreateTeamInbox",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/frontapp-inboxes-api-openapi.yml#/components/schemas/CreateTeamInbox",
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the inbox"
    },
    "teammate_ids": {
      "type": "array",
      "description": "An array of teammate IDs that should have access to the inbox. Alternatively, you can supply teammate emails as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1).",
      "items": {
        "$ref": "#/$defs/ResourceID"
      }
    },
    "is_public": {
      "type": "boolean",
      "description": "Whether the inbox is public or not"
    },
    "custom_fields": {
      "description": "Custom fields for this inbox",
      "$ref": "#/$defs/CustomFieldParameter"
    }
  },
  "$defs": {
    "CustomFieldParameter": {
      "type": "object",
      "description": "An object whose key is the `name` property defined for the custom field in the Front UI. The value of the key must use the same `type` specified for the custom field, as described in https://dev.frontapp.com/reference/custom-fields"
    },
    "ResourceID": {
      "type": "string"
    }
  }
}