The Bench: sketching a model for your modeler

Overview

The Bench is where someone who knows the domain sketches a data model, and hands it to the person who models it. You build the model as a set of blocks: published components you reuse as they are, and new pieces you name and describe in plain words. You save it as a draft in your project. The project's modeler (its owner or an admin) then finishes the new pieces, with their constraints and semantic links, and publishes the model.

The Bench is at Models → Bench (/app/models/bench). A saved draft opens at /app/models/bench/<ct_id>, and a draft's model page has an Open on the Bench link.

SDCBench, the desktop bench, is now part of SDCStudio as this page: the same canvas, with your team's drafts and the modeler in one place.

The board

A model starts with its root group in place, inside the navy Model block. A model has exactly one root group.

  • Groups (dark blue) hold pieces and other groups, nested as deep as you need.
  • New pieces (teal) have a name and a type, chosen from the menu on the block: Text, Integer, Decimal, Date / time, Boolean, Code, Ranked, Link, File and the list types. A number type has a units slot; an ordered type (a number, a date, a ranked list) takes reference ranges.
  • Reused pieces and groups carry a reused tag. They are published components, placed by reference and never changed here. A reused group is shown closed.
  • Units and reference ranges (gold) attach to a piece. They are always published components, never typed.

+ Piece and + Group in the side panel add a new piece or group to the selected group (the root group when nothing is selected); you can also drag them from New on the left. Drag a block to move it. To remove one, drag it back onto the palette, or select it and press Delete. Name the model in Model name at the top.

Reusing published components

Search in the side panel; it finds published components you can see, from every project and library. Click a result to add it:

  • a piece or a group joins the selected group;
  • Units go on the selected number piece;
  • a reference range goes on the selected number, date or ranked piece.

Reuse is free and is always the first move: a published component already means something, and every model that reuses it shares that meaning.

Writing the requirement

Select a new piece and write its requirement in the side panel: in plain words, what it records and anything the modeler should know (the pizza across, in inches, 10 to 18). Every new piece needs one before the draft can be saved; a piece without one shows a warning on the board. The requirement becomes the piece's description, and the modeler works from it. A group can have one too.

The Bench takes only names, types, requirements and reused components. Constraints and semantic links are the modeler's, in the component forms, where Suggest links helps (see Semantic Enhancement).

Saving

Save draft shows what the save costs before anything is charged, then saves. The first save of a new model costs 500 credits for the model and its root group, plus 100 for each other new piece or group; reused components are free. Nothing is published, and nothing is added to what you drew: no default constraints and no semantic links. The page then opens the saved draft.

On a saved draft, Save sends only what changed: new pieces and groups (100 credits each, shown first), renamed pieces, changed requirements, units and ranges, pieces moved between groups or removed. A removed piece is taken out of its group and left in the project. A saved piece keeps its type. If a save stops part of the way, the page says how far it got and shows the draft as it now stands.

Pieces and groups are kept in the order you placed them. A reused piece keeps its own place in the order it was published with, so a group that mixes reused and new pieces may reopen in a slightly different order.

A published model cannot change, so the Bench does not open one; copy it from its model page to make a new draft (see Copy and Retire).

Handing it to the modeler

When the draft is ready, click Ready for the modeler. The project's owner and its team's owners and admins are told in the app's notifications, with a link to the model; no email is sent. The draft shows Ready for the modeler since the date, and its model page shows who marked it. Take back clears the mark if you want to keep working.

Any team member can sketch and save; publishing stays with the project's owner and admins (see Teams).

The tutorial

The first time you open the Bench, a short guide builds a pizza order with you one move at a time: name the model, reuse a component, make a group, add a piece with its requirement and units, save, and hand it over. Each next move is highlighted, and the guide moves on when you have made it. Skip passes a move, Quit closes the guide, and the cap button at the top starts it again.

On a tablet

The Bench works on a tablet. Below 1024 pixels wide the side panel folds away; the panel button at the top slides it over the board. Drag blocks with a finger, and pinch to zoom.

Agents

A draft built by an agent with sdcmodeler and publish: false lands in the key owner's current project and opens on the Bench like any other (see The SDC MCP Servers).

← Back to User Guides