Pydantic
Also written: BaseModel, Literal
A Python library for describing data as classes and validating it. It can define a record such as the `Voicemail` that Claude fills in, with `Literal` limiting a field like `intent` to a fixed menu of values.