{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/miro/json-schema/miro-tag-with-links-schema.json",
  "title": "TagWithLinks",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/miro-tags-api-openapi.yml#/components/schemas/TagWithLinks",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier of the tag."
    },
    "title": {
      "type": "string",
      "description": "Text of the tag"
    },
    "fillColor": {
      "type": "string",
      "description": "Background color of the tag.",
      "enum": [
        "red",
        "light_green",
        "cyan",
        "yellow",
        "magenta",
        "green",
        "blue",
        "gray",
        "violet",
        "dark_green",
        "dark_blue",
        "black"
      ]
    },
    "links": {
      "$ref": "#/$defs/SelfLink"
    },
    "type": {
      "type": "string",
      "description": "Type of the object that is returned. In this case, type returns `tag`."
    }
  },
  "required": [
    "fillColor",
    "id",
    "title",
    "type"
  ],
  "$defs": {
    "SelfLink": {
      "type": "object",
      "description": "Contains applicable links for the current object.",
      "properties": {
        "self": {
          "type": "string",
          "description": "Link to obtain more information about the current object."
        }
      }
    }
  }
}