from pydantic import BaseModel class FormatParameters(BaseModel): linkcolor: str tocdepth: int pdfengine: str fontsize: int paperwidth: int paperheight: int margin: int vmargin: int extension: str