Skip to main content
How to create a Schema

How can I create a new Schema to store my content?

Support avatar
Written by Support
Updated over a week ago

A Schema is also commonly known as a content type. The Schema builder allows you to structure your content in the most optimal way for your application. It gives you the freedom to choose the types of fields you need, the order in which you need them, and the validation required on each field.

Think of the schema builder as a tool to create templates for your different data.

Before getting to the steps of adding a Schema, you first have to Register for Flamelink and then add your Firebase project in Flamelink.

Alrighty, let’s jump straight in. You can either watch the Tutorial video or follow the steps below:

Steps to create a Schema

1. Log into your project.

2. On the Content overview page, click one of the following:

  • The "New Schema" button in the upper right-hand corner of the screen (A)

  • The "New Schema" card (B) in the project dashboard

  • Click "Schemas" in the navigation sidebar (C) and then click "New Schema"

3. The Schema editor will open with the Schema Details tab selected. You can go ahead and complete/edit your Schema details. For more information about Schema details, click here.

4. Select the "Add Fields" tab next to the Schema Details tab.

All available fields will be visible in a two-column grid on the left-hand side. Click the required field/s or drag and drop the field/s onto the preview screen on the right-hand side. For more information about the different Schema fields, click here.

5. Click on a field in the preview screen on the right-hand side to edit the specific field.

Once you click it, the Edit Fields tab will be selected on the left and you can edit and customize each field according to your needs and preferences. For more information about editing a Schema field, click here.

6. Once you have added and edited all your required fields you can save your Schema by clicking "Save"

That's it! You're done with setting up your Schema. Now you can go ahead and add/manage content.

Did this answer your question?