Using Schemas

The Schemas area lets developers manage the project and page folder schemas of your commercetools Frontend project.

From Schemas in the Developer area, you can upload, download, and edit the project configuration and page folder configuration JSON schemas. For more information on these schemas, see Manage project configuration and Page folder schema.

Upload a schema

To upload a schema, follow these steps:

  1. From the Studio home page or from the left menu, go to Developer > Schemas.

  2. Click Upload schema and select either Page folder schema or Project schema.

  3. Browse and upload a JSON file you created: the schema editor opens.

  4. Click Validate to make sure the schema is valid and edit the schema if necessary.

  5. Click Publish to save the schema and make it available in your project. Otherwise, click Save as draft.

Download a schema

To download a schema, follow these steps:

  1. From the Studio home page or from the left menu, go to Developer > Schemas.

  2. Select either Page folder schema or Project schema: the schema settings pane opens.

  3. Click Download schema: the JSON file will be downloaded on your computer.

The project schema pane with the General setting section, and the Download schema and Edit schema buttons

Edit a schema

To edit a schema, follow these steps:

  1. From the Studio home page or from the left menu, go to Developer > Schemas.

  2. Select either Page folder schema or Project schema: the schema settings pane opens.

  3. Click Edit schema: the schema editor opens.

  4. Edit the schema and click Validate to make sure the schema is valid after your changes. Then, click Publish to save your changes and make them available in your project.