Quirks due to json-schema-to-typescript const is not supported (but can use singleton enum) $defs does not produce TS types (but definitions does) Nesting schemas within each other is not supported. Schemas with just a number as id do not compile properly (e.g., use v1 not just 1)