Skip to content

TagResponseDto

Endpoints · All schemas

FieldRequiredDescription
colorNoTag color (hex)
createdAtYesCreation date
idYesTag ID
nameYesTag name
parentIdNoParent tag ID
updatedAtYesLast update date
valueYesTag value (full path)

Complete definition

required lists fields that must be present. nullable allows a null value; it does not make the field optional. Response enums retain exact wire values for compatibility.

{
  "properties": {
    "color": {
      "description": "Tag color (hex)",
      "type": "string"
    },
    "createdAt": {
      "description": "Creation date",
      "format": "date-time",
      "type": "string"
    },
    "id": {
      "description": "Tag ID",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$",
      "type": "string"
    },
    "name": {
      "description": "Tag name",
      "type": "string"
    },
    "parentId": {
      "description": "Parent tag ID",
      "type": "string"
    },
    "updatedAt": {
      "description": "Last update date",
      "format": "date-time",
      "type": "string"
    },
    "value": {
      "description": "Tag value (full path)",
      "type": "string"
    }
  },
  "required": [
    "createdAt",
    "id",
    "name",
    "updatedAt",
    "value"
  ],
  "type": "object"
}