# generated by datamodel-codegen:
#   filename:  api/tags/createTagCategory.json
#   timestamp: 2022-10-04T14:49:18+00:00

from __future__ import annotations

from typing import Optional

from pydantic import BaseModel, Extra, Field

from ...entity.tags import tagCategory
from ...type import basic


class CreateTagCategoryRequest(BaseModel):
    class Config:
        extra = Extra.forbid

    name: tagCategory.TagName
    displayName: Optional[str] = Field(
        None, description='Display Name that identifies this tag category.'
    )
    description: basic.Markdown = Field(
        ..., description='Description of the tag category'
    )
    categoryType: tagCategory.TagCategoryType
