Subset of JSON Schema (Draft 7 / 2020-12) accepted as input.
For accurate TypeScript type inference via InferFromJsonSchema, pass schema literals with as const.
as const
Subset of JSON Schema (Draft 7 / 2020-12) accepted as input.
For accurate TypeScript type inference via InferFromJsonSchema, pass schema literals with
as const.