Serialize a Pydantic model’s JSON schema, with additionalProperties set to false.
additionalProperties
Usage
Source
schema_for(model)