You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When specifying a tuple style array earlier versions of JSON Schema called for the items property to be an array of schemas (one per element). This is supported by json-schema-to-zod. However JSON Schema 2020-12 deprecated this in favour of a prefixItems property used in a similar way.
I'm part way through creating a PR to add support for prefixItems (in addition to an items array). Is this something you would look to support? I couldn't find a clear declaration of the latest version of JSON Schema this library aims to support.
The text was updated successfully, but these errors were encountered:
When specifying a tuple style array earlier versions of JSON Schema called for the
items
property to be an array of schemas (one per element). This is supported by json-schema-to-zod. However JSON Schema 2020-12 deprecated this in favour of aprefixItems
property used in a similar way.I'm part way through creating a PR to add support for
prefixItems
(in addition to an items array). Is this something you would look to support? I couldn't find a clear declaration of the latest version of JSON Schema this library aims to support.The text was updated successfully, but these errors were encountered: