{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/frontapp/json-schema/frontapp-create-tag-schema.json",
  "title": "CreateTag",
  "description": "A tag is a label that can be used to classify conversations.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/frontapp-tags-api-openapi.yml#/components/schemas/CreateTag",
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the tag",
      "maxLength": 64
    },
    "description": {
      "type": "string",
      "description": "Description of the tag"
    },
    "highlight": {
      "type": "string",
      "description": "Highlight color of the tag.",
      "enum": [
        "grey",
        "pink",
        "red",
        "orange",
        "yellow",
        "green",
        "light-blue",
        "blue",
        "purple"
      ]
    },
    "is_visible_in_conversation_lists": {
      "type": "boolean",
      "description": "Whether the tag is visible in conversation lists.",
      "default": false
    }
  }
}