{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/frontapp/json-schema/frontapp-create-view-schema.json",
  "title": "CreateView",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/frontapp-views-api-openapi.yml#/components/schemas/CreateView",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the view"
    },
    "inbox_ids": {
      "type": "array",
      "description": "List of inbox IDs to filter by",
      "items": {
        "$ref": "#/$defs/ResourceID"
      }
    },
    "tag_ids": {
      "type": "array",
      "description": "List of tag IDs to filter by",
      "items": {
        "$ref": "#/$defs/ResourceID"
      }
    },
    "not_tag_ids": {
      "type": "array",
      "description": "List of tag IDs to exclude",
      "items": {
        "$ref": "#/$defs/ResourceID"
      }
    },
    "no_tags": {
      "type": "boolean",
      "description": "Whether to filter for conversations without tags"
    },
    "assignee_ids": {
      "type": "array",
      "description": "List of assignee IDs to filter by",
      "items": {
        "$ref": "#/$defs/ResourceID"
      }
    },
    "not_assignee_ids": {
      "type": "array",
      "description": "List of assignee IDs to exclude",
      "items": {
        "$ref": "#/$defs/ResourceID"
      }
    },
    "highlight": {
      "type": "string",
      "description": "Color highlight for the view"
    }
  },
  "required": [
    "name",
    "inbox_ids"
  ],
  "$defs": {
    "ResourceID": {
      "type": "string"
    }
  }
}