Scale Intelligence■ Docs
Docs / The model / Draft

Draft.

A thing being made in the definitions studio: the rows it is made from, its preview, its proofs

Figure 1Draftspecified
DRAFTwork at follows scopekindKindinputjsonversioncountrows[id]previewPreviewAnsweroptionalproofs[id]the register rowbecomesidoptionalKINDthrough kindPREVIEWANSWERthrough preview
Draft is a work at follows scope. The drawing shows its fields and the objects that they point at.
kind
work
scope
follows
key
the kind, the designer’s input and the version
store
postgres
family
studio

Fields#

fieldtyperequirednote
kindKindyes
inputjsonyes
versioncountyes
rows[id]yes
previewPreviewAnswerno
proofs[id]yes
becomesidnothe register row

Routes that use it#

No route takes or returns Draft directly. The record holds it, and the objects that point at it reach it.