Optional$schemaThe $schema dialect to declare. Defaults to draft 2020-12; pass
false to omit the keyword entirely, which is what you want when the
result is embedded in a larger document such as an OpenAPI spec.
OptionaldescriptionValue for the document's description.
OptionalidValue for the document's $id.
OptionalstrictEmit additionalProperties: false, mirroring Typer's strict mode.
OptionaltitleValue for the document's title.
OptionalunrepresentableWhat to do with a slot that has no JSON Schema equivalent. Defaults to 'any'.
Options accepted by
toJSONSchema.