Unlock seamless workflows and faster delivery with our latest releases - Join the deep dive

Is it Possible to Set a Maximum Longevity on an Array Schema Type?

1 replies
Last updated: Sep 19, 2022
Hey! Is it possible to set a max length on an array schema type?
Sep 19, 2022, 2:17 AM
It is possible, yes. You can set
min
,
max
, or
length
requirements as part of the
Validation
. The array schema type documentation has some examples.
Sep 19, 2022, 3:32 AM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?