Scale Intelligence■ Docs
Docs / The model / SourceObject

SourceObject.

One kind of thing a source holds, in the source's own words

Figure 1SourceObjectspecified
SOURCEOBJECTrow at platform scopesourceSourcenametextfields[SourceField]ids[SourceId]times[SourceTime]measures[KindOfMeasure]links[SourceLink]absent for the platform's row; a tenant's extension row adds fields to a platform source object for that tenant onlyplanePlaneoptionalthe source's own description of the object, in its words, when it has onedeclaredtextoptionalwhich declared field fills each identity field of the shared silver header, by the header's own names: author_account, community, parent, thread_root, text; the refine of every way fills the header from this and never from a field chosen in codeheader_fields{text:text}optionalSOURCEthrough sourceSOURCEFIELDthrough fieldsSOURCEIDthrough idsSOURCETIMEthrough timesKINDOFMEASUREthrough measuresSOURCELINKthrough links
SourceObject is a row at platform scope. The drawing shows its fields and the objects that they point at.
kind
row
scope
platform
key
the source and its name
store
postgres
family
sources

Fields#

fieldtyperequirednote
sourceSourceyes
nametextyes
fieldsSourceFieldyes
idsSourceIdyes
timesSourceTimeyes
measuresKindOfMeasureyes
linksSourceLinkyes
planePlanenoabsent for the platform’s row; a tenant’s extension row adds fields to a platform source object for that tenant only
declaredtextnothe source’s own description of the object, in its words, when it has one
header_fields{text:text}nowhich declared field fills each identity field of the shared silver header, by the header’s own names: author_account, community, parent, thread_root, text; the refine of every way fills the header from this and never from a field chosen in code

Routes that use it#

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