Help articles

Structure: Document schema type required

Certain nodes within the Structure tool require a document schema type to be defined. The Studio reports document type (`schemaType`) is required for document nodes.

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

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

Was this page helpful?