Schemas Try Protos
← Home · Schemas
Schemas define the structure of your engineering data in Protos. Rather than storing artifacts in disconnected spreadsheets or files, schemas give every data type a consistent, queryable shape — reusable across projects and connectable to external tools and integrations.
You don't have to build schemas manually. The Co-Engineer can create them for you — describe what you're working on and it will propose field names, types, and units. See Co-Engineer.
On This Page
- Schemas at a Glance
- Use Schemas For
- Creating a Schema
- Field Types
- Calculated Fields
- Using Reference Fields
- Subtypes
- Version History
- Bringing External Data into Schemas
- Best Practices
Schemas at a Glance
The library
Schemas in the sidebar opens your schema library: the library on the left, the open schema in the middle, and its details on the right. With no schema open, the middle reads Select a schema, over a search of schemas, fields and links.

- Search schemas, and New to start one.
- Mine, Shared, Public, and All, a tag filter, and Retired.
- The library as a family tree: subtypes sit under their base. A dot marks a schema with an unsaved draft.
- The open schema's fields.
- Used by, History, and Preview.
The editor
You edit a schema where it opens. There is no separate edit mode: a change starts a draft, and Save turns the draft into a new version.

- The name and description. Click either to change it.
- New document adds a document that follows the schema. The ⋯ menu has Inherit fields from…, Only subtypes get documents, and, for the owner, Share and Retire.
- The fields, with their Type and Unit. Drag a field by its handle to move it; open a group to see the fields inside it. Add a field, at the bottom of the table or of a group, adds one.
- The switch under a field makes it Required.
- Click a field to open it in the Field tab, where you set its type, unit, limits, or formula.
Use Schemas For
- Designs and design parameters
- Test data and experimental conditions
- Model parameterizations and input configurations
- Operating conditions and environmental variables
- Any structured data extracted from external files (SharePoint documents, uploaded PDFs, spreadsheets)
Creating a Schema
For a full step-by-step walkthrough with screenshots, see Tutorial 1: Set up your design.
Quick reference:
- Click Schemas in the left sidebar, then New → Blank schema.
- Name it:
[Domain] — [Artifact type](e.g.Thermal — Heat sink), and add a description. - Add fields: type a name in Add a field, pick its type, and press Enter. Click a field to set its unit, limits, and whether it's Required.
- Click Save in the draft bar, check the summary, and click Save v1.0.
Tags and sharing come after the first save: tags under the name, Share in the ⋯ menu.
Need a variant of an existing schema? With it open, New also offers Duplicate name and As a subtype of name.
The draft
Every change, to the name, the description, or the fields, goes into a draft. The draft bar counts the changes and how many of them are breaking, with Undo, Discard, and Save. A draft stays while you switch between schemas, but only in this browser tab: leaving the schema library asks whether to discard it.
Save opens a summary of the draft beside the fields: the version it will become, each change, and what it affects. On an existing schema you can add a Note for History. Click Save vx.y to publish it, or Keep editing. If someone else saved a new version while you were working, the draft bar says so, with Compare and Start again from their version.
Retiring a schema
Retire in the ⋯ menu first checks what uses the schema. If something does, it is retired: work that already reads it keeps reading it, read-only, and nothing new can use it. If nothing does, it is deleted for good. Turn on Retired in the library's filters to list retired schemas, with Unretire.
A new schema can't take the exact name of one you already own, retired ones included. Protos adds the date and time instead, as in Heat sink (20261027_101500); rename it afterwards if you like.
Tip: Keep schemas lean — only add fields that will actually be populated. A sparse schema with consistent data is far more useful than a dense schema half the team ignores.
Field Types
Each field has a type, picked when you add it or under Type in the Field tab.
| Type | Use for |
|---|---|
| Number | Measurable values — always set a unit |
| Calculated | A number worked out from other fields — see Calculated Fields |
| Text | Free-form text — labels, notes, identifiers |
| Choice | A fixed list of options (e.g. material grade, phase) |
| Yes / No | Flags |
| Date | Timestamps for experiments, decisions, imports |
| File | One uploaded file per document — CAD geometry, meshes, reports |
| Group of fields | Named fields kept together, such as geometry |
| List of groups, List of numbers, List of text | A list of items of that kind |
| One of several kinds | A field that can take one of several shapes |
| Link to a schema, List of a schema | A link to another data document, or a list of them — see Using Reference Fields |
A field's ⋯ menu has Put in a new group, Move out of a group, Duplicate, and Delete.
Field names are snake_case and start with a letter — lowercase letters, numbers, and single underscores between them (e.g. wall_thickness, sample_2). A name can't contain __ or end in _.
Field constraints
Each field can carry limits that documents are checked against:
| Field | Settings |
|---|---|
| Number | Min, Max, Step, Unit, Default |
| Text | Length, Pattern |
| Choice | Options — the list of allowed values |
| File | Accepted files — a list of extensions such as .step, .stp; leave it empty to accept any file |
| A list | Number of items: At least and At most |

Extensions are letters and digits only. A single file can be up to 100 MB. In Data Studio, CAD files in a file field get a thumbnail and a 3D viewer.
Calculated Fields
A number field can be calculated — its value comes from a formula over other fields instead of being typed in. Protos works it out whenever the document is read, so it is never out of date with the fields it depends on. In Data Studio a calculated field shows a Σ marker.
To add one:
- Add a field with the type Calculated. Protos writes its value, so a calculated field can't also be Required.
- In the Field tab, write the expression in Formula (e.g.
volume * density). Use Insert field to pick a field from a menu — fields reached through a reference field are listed under Via reference — or start typing a field name and take the suggestion. Below the formula, Protos says whether its units match the field's.
You can also type a calculated field straight into Add a field as name (unit) = formula, such as base_area (mm²) = base_width * base_length.

Writing a formula
- Refer to a field by name —
coating_density * thicknessuses two fields alongside this one. - Reach a nested field by its path, writing the steps separated by dots:
coating.side_a.properties.density. Typing a dot offers the paths available under it, narrowing as you type. - Reach across a reference field the same way, by writing the path through it. The value is read from the linked document, so a formula can combine this document's numbers with a referenced one's.
- Sum across a list with
sum_i(...):sum_i(composition.additives_i.mass_fraction)adds up the mass fraction of every additive. Mark the list you're summing over with_ion that step of the path. It works on a list of numbers, a list of groups, and a list of references.iis the only index letter. One call sums one list at a time — to sum two, writesum_i(...) + sum_i(...), one call per list, and the two lists need not be the same length. A single call can combine several lists, as insum_i(a_i * b_i), provided they are the same length on the document. An empty list sums to 0.
Available to formulas:
- Arithmetic:
+,-,*,/,//(floor division),%(remainder),**(power) - Comparisons:
==,!=,<,<=,>,>=, combined withand,or,not - Conditionals:
x if condition else y, e.g.load * 1.5 if load > 100 else load - Functions:
abs,min,max,sqrt,log, andexp
A formula can be at most 500 characters long and roughly 60 names, numbers, and operators, with at most 6 exponentiations; an exponent must be a fixed number no larger than 64, and chained powers such as a**b**c are refused, bracketed or not.
When a formula can't be worked out
Protos would rather refuse than quietly produce a wrong number.
- A formula that can't be resolved is refused when you save the schema, naming what's wrong — a name that doesn't resolve to a number field, a formula that refers to itself, formulas that depend on each other in a cycle, a formula on a field inside a list, a list item read outside a
sum_i(...), a field named like a formula function (such asminorsum_i) beside a formula, or a formula whose result isn't in its field's unit (set the field's Unit conversion factor when the two differ only by scale, such as mm and m). - A field whose inputs are missing on a particular document is skipped on that document and reported as a missing input, naming the fields it needed. Other fields still compute.
- A
sum_i(...)over lists of different lengths in one call is skipped on that document with that reason. - A
sum_i(...)over a list of more than 200 items is skipped on that document and reported as a missing input.
Using Reference Fields
Reference fields link schemas together, creating a relational structure across your engineering data. This is what keeps your data traceable.
Example: A Test Result schema with a reference field pointing to Design Iteration means every test record is traceable to the exact design revision it validated.
To add a reference field:
- Add a field with the type Link to a schema (or List of a schema for several).
- Pick the target schema under Links to.
In the fields table, open a link field to see the linked schema's fields.
Note: Use reference fields instead of duplicating data across schemas. Duplication breaks traceability and leads to inconsistencies as designs evolve.
Subtypes
A subtype is a schema built on another one, its base. It gets every field of the base and can only narrow them, for example with a tighter limit. Use one when a family of designs shares most of its fields.
- With the base open, New → As a subtype of name starts one. A schema that has no base yet can take one with Inherit fields from… in its ⋯ menu. A base, once saved, can't be changed.
- An inherited field says Inherited, with Narrow for subtype to tighten it here, or Edit in base.
- Turn on Only subtypes get documents in the ⋯ menu when only the subtypes should have documents, not the base itself.
- Used by lists the subtypes, documents, schemas that link to this one, and canvases.
- When the base changes, each subtype says what changed and offers Apply update.
In Data Studio, documents of a base and its subtypes can share one table.
Version History
Every save creates a new, immutable version. A new schema starts at v1.0; a save that breaks nothing goes to the next minor version (v1.1), a breaking one to the next major (v2.0).
The History tab lists the versions, newest first, with an unsaved draft at the top. Each row counts its changes and breaking changes and shows its Note for History. Preview opens a version read-only, with a summary of what changed. From there you can:
- Compare any two versions field-by-field to see exactly what was added, removed, or changed
- Restore as new version (or Restore on the History row) — this creates a new version with the old content rather than deleting anything in between, so the full history stays intact. Save or discard your draft first.
- Copy the version as a new schema of your own
If this schema includes another schema through a link field and that schema gets a breaking change, this schema gets a new version carrying the change. While anything that reads it is still on an earlier version, its editor shows a notice naming what changed and how many canvases or campaigns stay behind.
Saving a breaking change
Some edits break what already reads the schema: removing, renaming or retyping a field, changing its unit, making a field required or adding a required one, or tightening a limit. The draft bar counts them as breaking, and the save summary marks each one Breaking. Under What this affects it lists the documents that move to the new version, the documents that stay on this version until a value is filled in, re-entered, or corrected to fit a tightened limit, and the canvases and campaigns that stay on this version until someone updates them. Formulas that use a renamed field follow the rename. Save stays off, saying why, until clashing fields and refused formulas are fixed.
Existing documents move to the new version once their data fits — see Data Studio.
When a schema you read changes
A canvas or campaign that reads a changed field stays on the version it was built against. A banner on it says the schema changed, and anyone with edit access chooses:
- Update — move to the latest version. If a field it reads changed shape, you first point each read at a field of the new version, or Remove this read.
- Keep — stay on the old version. A Behind — on vN badge stays, with an Update button for later.
- Copy — copy the schema at the version the work is on, and switch the work onto your copy. On a DOE campaign, Copy starts a new draft campaign on copies of the inputs it froze.
One editor at a time
While someone is editing a schema, anyone else who opens it sees it read-only, with a badge naming who has it — "Alex is editing".
See Versioning for the full picture, including breaking changes, retiring, and how this works across other asset types.
Bringing External Data into Schemas
Protos uses the Co-Engineer to extract data from your existing files and create structured data documents that follow your schema.
How it works
- Define your schema first — the Co-Engineer needs a schema to fill. (For a workbook in the Knowledge Library, you can ask the Co-Engineer to propose the schemas for you — see below.)
- In the Co-Engineer chat, upload a file or pull one in from SharePoint.
- Ask the Co-Engineer to create a data document from it — e.g. "Create a Heat sink document from this datasheet."
- The Co-Engineer reads the file, maps what it finds to your schema fields, and creates the document. It will flag anything it couldn't find or wasn't sure about.
In Manual mode, the default, it asks before creating the document. Either way you can correct it afterwards in Data Studio.
Supported file sources
| Source | How to bring it in |
|---|---|
| Local file | Upload directly in the Co-Engineer chat — PDF, Excel, Word, CSV/TSV, plain text and Markdown, JSON, images, and other text formats such as YAML, XML and logs |
| SharePoint / OneDrive | Browse your SharePoint from the Co-Engineer and select a file |
Spreadsheets and measured data
- Workbooks in the Knowledge Library — ask the Co-Engineer what could be built from a workbook and it proposes how each sheet should be read and, for each table, whether a schema in the project already covers it or what a new one would hold, for you to review and apply.
- Rows into a list field — point the Co-Engineer at a table already read into your Knowledge Library and a list field on a data document, and it writes every row in one step, matching columns to the fields the list declares. Re-running the import updates rows by their key column and leaves the rest of the document as it was.
- Measured experiments — in Data Studio, Upload experimental data records a CSV of experiments against a schema.
Note: Files imported from GitHub land in the Knowledge Library, not directly in schemas — from there the Co-Engineer can read them like any other document. GitHub is also where you register computational models from a repo — see Models.
CAD files from Onshape
With Onshape connected, ask the Co-Engineer to export an Onshape Part Studio into a data document. It stores STEP (AP242) and/or STL in the document's file fields — by default STEP in a field named geometry (accepting .step, .stp) and STL in one named mesh (accepting .stl). The schema needs those file fields first. The stored file carries an Onshape badge and a link back to its Onshape element.
You can also attach a CAD file (STEP, IGES, STL, OBJ or GLB) in the Co-Engineer chat and ask it to import it; it saves the file as a new data document.
When to use this
This approach works well when you have existing reports, datasheets, or spreadsheets with values you want to capture as structured data. The Co-Engineer handles the messy extraction; your schema guarantees the result is consistent and comparable with other documents of the same type.
Best Practices
- Standardize units before creating numeric fields — a unit change is a breaking change: documents holding a value in that field need it re-entered, and canvases reading it stay behind until someone with edit access updates them.
- Name schemas by domain + artifact type for discoverability across the workspace.
- Use version history for structural changes — compare, label, or restore a past version if a change breaks existing data.
- Agree on a reference field convention with your team before building out multiple related schemas.
See Also
- Models — model input/output schemas follow the same conventions
- Simulation Studio — pull schema values directly as simulation inputs
- Knowledge Library — promote schema entries to reusable knowledge assets
- Glossary → Reference field