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
Since this is used in filtering, I would expect to be able to filter items by multiple statuses. The following snippet shows how I would expect schema to look like:
{// ..."status": {"type": "array","uniqueItems": true,// <- this property is not present in the current output"items": {"type": "string","enum": ["draft","submitted","approved","rejected","archived"]}}}
Let me know what You think about this feature.
The text was updated successfully, but these errors were encountered:
One of the set's valuable points is its items' uniqueness. I suggest interpreting z.set as unique items array.
For example, let's say I have a schema for filter validation. It has
status
property which could be an array of possible statuses.Since this is used in filtering, I would expect to be able to filter items by multiple statuses. The following snippet shows how I would expect schema to look like:
Let me know what You think about this feature.
The text was updated successfully, but these errors were encountered: