Skip to content

Conversation

@gauravojha
Copy link

@gauravojha gauravojha commented Nov 14, 2025

Prospective fix for #123

This adds support to mention minItems and maxItems in the generated json schema, if repeated validation

https://tour.json-schema.org/content/04-Arrays/01-Specifying-Length-of-an-Array

https://www.learnjsonschema.com/2020-12/validation/minitems/
https://www.learnjsonschema.com/2020-12/validation/maxitems/

Adding this in case of repeated fields will be really beneficial to identify constraints on the generated json schema

@CLAassistant
Copy link

CLAassistant commented Nov 14, 2025

CLA assistant check
All committers have signed the CLA.

@gauravojha gauravojha changed the title Add support for minItems and maxItems Add support for minItems and maxItems for repeated Nov 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants