OptionalcyclesOptionalexternalOptionalioOptionalmetadataA registry used to look up metadata for each schema. Any schema with an id property will be extracted as a $def.
OptionaloverrideArbitrary custom logic that can be used to modify the generated JSON Schema.
OptionalreusedOptionaltargetThe JSON Schema version to target.
"draft-2020-12" — Default. JSON Schema Draft 2020-12"draft-07" — JSON Schema Draft 7"draft-04" — JSON Schema Draft 4"openapi-3.0" — OpenAPI 3.0 Schema ObjectOptionalunrepresentableHow to handle unrepresentable types.
"throw" — Default. Unrepresentable types throw an error"any" — Unrepresentable types become {}
Whether to extract the
"input"or"output"type. Relevant to transforms, defaults, coerced primitives, etc."output"— Default. Convert the output schema."input"— Convert the input schema.