# generated by datamodel-codegen:
#   filename:  cms.yaml
#   timestamp: 2025-07-18T07:27:42+00:00

from __future__ import annotations

from pydantic import BaseModel, Field


class CustomField(BaseModel):
    description: str | None = Field(
        default=None,
        description="description (instruction for user)",
    )
    display_name: str | None = Field(default=None, description="display name")
    enum_values: list[str] | None = Field(
        default=None,
        description="array of string values for select type fields",
    )
    id: str | None = Field(
        default=None,
        description="data name for the field (used to access it in searches, etc.)",
    )
    required: bool | None = Field(
        default=False,
        description="whether field must have a value before video can be active",
    )
    type: str | None = Field(
        default=None,
        description="custom field type (enum or string)",
    )


class StandardField(BaseModel):
    description: str | None = Field(
        default=None,
        description="description (instruction for user)",
    )
    id: str | None = Field(
        default=None,
        description="data name for the field (used to access it in searches, etc.)",
    )
    required: bool | None = Field(
        default=None,
        description="whether field must have a value before video can be active",
    )
