Your first schema
Let's build a tiny "Library" schema with two models — Author and Book — and create some data.
1. Create the schema
- Open Explorer from the left rail.
- Click + New schema in the sidebar.
- Name it
Library, give it a short description like "Books and their authors". Save.
2. Create the Author model
- With
Libraryselected, click + New model. - Name it
Author. Description: "A person who writes books". - Add properties:
name— string, required.birthYear— integer.bio— string (multi-line).
- Set
nameas the primary property so the author shows up as their name in lists. - Save.
3. Create the Book model
- Again with
Libraryselected, + New model →Book. - Add properties:
title— string, required, primary property.year— integer.author— reference toAuthor(1..1).tags— collection of strings.
- Save.
4. Create some instances
- Open
Author→ + New → fill in "Italo Calvino". Save. - Open
Book→ + New → title "If on a winter's night a traveller", year1979, author = the Calvino instance you just created. Save.
5. See it on the Dashboard
- Go back to the Dashboard.
- Add a Bookmarks widget and bookmark the Calvino author.
- Open it again from the Dashboard.
That's the core loop. Every other feature in Yellow builds on top of these three steps: schema → model → instance.