{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/canopyservicing-com/json-schema/canopyservicing-com-get-system-tag-response-schema.json",
  "title": "GetSystemTagResponse",
  "description": "Response schema for the get system tags endpoint.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/canopyservicing-com-account-system-tags-api-openapi.yml#/components/schemas/GetSystemTagResponse",
  "properties": {
    "tag_id": {
      "type": "integer",
      "title": "Tag Id",
      "description": "The ID of the tag"
    },
    "label": {
      "type": "string",
      "title": "Label",
      "description": "The label of the tag"
    },
    "description": {
      "type": "string",
      "title": "Description",
      "description": "The description of the tag"
    },
    "color": {
      "$ref": "#/$defs/TagColor",
      "description": "The color of the tag"
    },
    "category": {
      "$ref": "#/$defs/TagCategory",
      "description": "The category of the tag"
    },
    "active": {
      "type": "boolean",
      "title": "Active",
      "description": "The active status of the tag"
    }
  },
  "type": "object",
  "required": [
    "tag_id",
    "label",
    "description",
    "color",
    "category",
    "active"
  ],
  "$defs": {
    "TagCategory": {
      "type": "string",
      "enum": [
        "COLLATERAL_LIQUIDATION",
        "CREDIT_UTILIZATION",
        "DELINQUENCY_BUCKETS",
        "DISPUTE_STATUS",
        "GRADUATION",
        "MISSED_PAYMENT",
        "PAYMENT_DEFERRAL",
        "PERSISTENT_DEBT",
        "TEST_CATEGORY"
      ],
      "title": "TagCategory"
    },
    "TagColor": {
      "type": "string",
      "enum": [
        "red",
        "orange",
        "yellow",
        "green",
        "blue",
        "purple",
        "pink",
        "sky",
        "teal",
        "gray",
        "black"
      ],
      "title": "TagColor",
      "description": "Enum for the colors of tags."
    }
  }
}