Watch a live product demo ๐Ÿ‘€ See how Sanity powers richer commerce experiences

Structure: Schema type is required

Certain nodes within the desk structure requires knowledge of which schema type a document or a list of documents operates on.

Setting a schema typecan be done by calling the schemaType() method:


Was this article helpful?