Structured Content 2022: Join our conference to explore fresh perspectives on content and digital 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:

S.editor()
  .id('car-editor')
.schemaType('car')
.documentId('am-db9')

Was this article helpful?