{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/daon/json-schema/daon-process-definition-tag-create-list-dto-schema.json",
  "title": "ProcessDefinitionTagCreateListDto",
  "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/ProcessDefinitionTagCreateListDto",
  "type": "object",
  "properties": {
    "tags": {
      "type": "array",
      "description": "The list of tags to apply to the process definition",
      "items": {
        "$ref": "#/$defs/ProcessDefinitionTagCreateDto"
      }
    }
  },
  "$defs": {
    "ProcessDefinitionTagCreateDto": {
      "type": "object",
      "properties": {
        "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.",
          "pattern": "^(#)?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$"
        }
      }
    }
  }
}