# generated by datamodel-codegen:
#   filename:  schema/api/tags/createTagCategory.json
#   timestamp: 2022-06-14T09:18:33+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
