{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/daon/json-schema/daon-process-definition-tag-list-dto-schema.json",
  "title": "ProcessDefinitionTagListDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/daon-process-definition-tags-api-openapi.yml#/components/schemas/ProcessDefinitionTagListDto",
  "type": "object",
  "properties": {
    "tags": {
      "type": "array",
      "description": "The collection of tags",
      "items": {
        "$ref": "#/$defs/ProcessDefinitionTagDto"
      },
      "readOnly": true
    }
  },
  "$defs": {
    "ProcessDefinitionTagDto": {
      "type": "object",
      "properties": {
        "processDefinitionId": {
          "type": "string",
          "description": "The process definition ID that tag is referencing.",
          "readOnly": true
        },
        "processDefinitionName": {
          "type": "string",
          "description": "The process definition name that tag is referencing.",
          "readOnly": true
        },
        "processDefinitionVersion": {
          "type": "integer",
          "format": "int32",
          "description": "The process definition version that tag is referencing.",
          "readOnly": true
        },
        "processDefinitionFullName": {
          "type": "string",
          "description": "Full name(name + version) if the process definition version that tag is referencing.",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "The name of Tag. The tag name is unique across each tenant."
        },
        "description": {
          "type": "string",
          "description": "A description of the Tag. This is used for informational purposes only."
        },
        "displayColor": {
          "type": "string",
          "description": "A chosen color of the Tag. This is used for display purposes only."
        },
        "createdDtm": {
          "type": "string",
          "format": "date-time",
          "description": "The time the Tag was created.",
          "readOnly": true
        },
        "lastUpdatedDtm": {
          "type": "string",
          "format": "date-time",
          "description": "The time the Tag was last updated.",
          "readOnly": true
        },
        "createdBy": {
          "type": "string",
          "description": "The last updater of the Tag.",
          "readOnly": true
        },
        "lastUpdatedBy": {
          "type": "string",
          "description": "The creator of the Tag.",
          "readOnly": true
        }
      }
    }
  }
}