πŸ‘€ Our most exciting product launch yet πŸš€ Join us May 8th for Sanity Connect

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?