{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/codeqr-io/json-schema/codeqr-io-tag-schema-schema.json",
  "title": "Tag",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/codeqr-io-tags-api-openapi.yml#/components/schemas/TagSchema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique ID of the tag."
    },
    "name": {
      "type": "string",
      "description": "The name of the tag."
    },
    "color": {
      "type": "string",
      "enum": [
        "red",
        "yellow",
        "green",
        "blue",
        "purple",
        "pink",
        "brown"
      ],
      "description": "The color of the tag."
    }
  },
  "required": [
    "id",
    "name",
    "color"
  ]
}