Get a peek at our latest innovations at Sanity Product Day on Dec 8th →

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

, or
requirements as part of the
. The array schema type documentation has some examples.

Sep 19, 2022, 3:32 AM Get the most out of your content is a platform to build websites and applications. It comes with great APIs that let you treat content like data. Free to get started, and pay-as-you-go on all plans. Find out more.