{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/assignar/json-schema/assignar-tag-schema.json",
  "title": "Tag",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/assignar-tags-api-openapi.yml#/components/schemas/Tag",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "readOnly": true
    },
    "taxonomy": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "color": {
      "type": "string"
    },
    "integration_id": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 255,
      "description": "Nullable varchar(255) with uniqueness constraint. Used for external system integration identifiers."
    }
  },
  "required": [
    "taxonomy",
    "name"
  ]
}