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

from __future__ import annotations

from typing import List, Optional

from pydantic import BaseModel, Extra, Field

from ...entity.data import table


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

    tableProfile: table.TableProfile = Field(..., description='Table Profile.')
    columnProfile: Optional[List[table.ColumnProfile]] = Field(
        None, description='List of local column profiles of the table.'
    )
