Skip to content

Add uniqueItems to set and frozenset json schema#984

Merged
jcrist merged 5 commits intojcrist:mainfrom
sobolevn:add-uniqueItems
Apr 8, 2026
Merged

Add uniqueItems to set and frozenset json schema#984
jcrist merged 5 commits intojcrist:mainfrom
sobolevn:add-uniqueItems

Conversation

@sobolevn
Copy link
Copy Markdown
Contributor

@sobolevn sobolevn commented Mar 3, 2026

While working on django-modern-rest, I've noticed that uniqueItems is missing for set and frozenset in json schema.

Docs: https://json-schema.org/understanding-json-schema/reference/array#uniqueItems

I think that this is quite easy to add and has better semantics.

@sobolevn
Copy link
Copy Markdown
Contributor Author

sobolevn commented Mar 3, 2026

These two failures do not seem related, they also happen on #983

@sobolevn
Copy link
Copy Markdown
Contributor Author

sobolevn commented Apr 8, 2026

Now it passes, thanks!

Copy link
Copy Markdown
Owner

@jcrist jcrist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jcrist jcrist merged commit 46fe6b0 into jcrist:main Apr 8, 2026
21 checks passed
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