Pydantic — validation from a class definitionSummary: declare the shape of the data once as a typed class, and the library generates