Scale Intelligence■ Docs
Docs / The model / Mapping

Mapping.

How a source object becomes a registered kind: an entity, a content item, a fact (a reading, a claim, a connection, a vector, a control result) or a definition; with its connections, identifiers, the two times and readings

Figure 1Mappingspecified
MAPPINGrow at platform scopesource_objectSourceObjectbecomesKindconnections[MappingConnection]identifiers[MappingIdentifier]put before every identity value of the shared header (the author's account, the community, the parent, the thread's root): the platform's own prefix, so a header id compares with the own ids the identifiers' prefixes write (D-105, D-106)header_prefixtextoptionalwhich fill the two timestimes{text:text}readings[KindOfMeasure]required_fields[text]self_asserted[text]the fields kept as long texts of the entity the row becomes: each written as a claim stated by the source under the field's name, and given meaning under the model, so a bio, a description or a readme is searchable by meaning and grounds a later capturetexts[text]optionalthe source's own kind words, each to a registered kind of entity, when the object carries a kind fieldkinds{text:text}optionalthe kind of entity every row of the object becomes, for an object whose rows carry no kind field (a table of accounts, of communities, of domains); kinds and kind are never both setkindKindOfEntityoptionalSOURCEOBJECTthrough source_objectKINDthrough becomesMAPPINGCONNECTIONthrough connectionsMAPPINGIDENTIFIERthrough identifiersKINDOFMEASUREthrough readingsKINDOFENTITYthrough kindand 1 more fields on this page
Mapping 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 object
store
postgres
family
sources

Fields#

fieldtyperequirednote
source_objectSourceObjectyes
becomesKindyes
connectionsMappingConnectionyes
identifiersMappingIdentifieryes
header_prefixtextnoput before every identity value of the shared header (the author’s account, the community, the parent, the thread’s root): the platform’s own prefix, so a header id compares with the own ids the identifiers’ prefixes write
times{text:text}yeswhich fill the two times
readingsKindOfMeasureyes
required_fields[text]yes
self_asserted[text]yes
texts[text]nothe fields kept as long texts of the entity the row becomes: each written as a claim stated by the source under the field’s name, and given meaning under the model, so a bio, a description or a readme is searchable by meaning and grounds a later capture
kinds{text:text}nothe source’s own kind words, each to a registered kind of entity, when the object carries a kind field
kindKindOfEntitynothe kind of entity every row of the object becomes, for an object whose rows carry no kind field (a table of accounts, of communities, of domains); kinds and kind are never both set
listsListMappingnolist fields whose items become entities of their own

Routes that use it#

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