Scale Intelligence■ Docs
Docs / The model / Kind

Kind.

A kind, as a row of the register of kinds

Figure 1Kindspecified
KINDrow at platform scopenametexttypeenum:fact|work|entity|definition|vi…for work: its closed list of placesplaces[Place]the widest scope a unit of the kind may live atscopeenum:shared|platform|tenant|brand|s…whether a unit of the kind carries a planeplane_boundboolthe permissions that allow a writewho_may_write[Permission]class_of_dataenum:public|a tenant's own|about a …a kind with no class cannot registerretention_classRetentionClasswhether its key is made from its inputsame_by_constructionboolversion_of_shapecountPLACEthrough placesPERMISSIONthrough who_may_writeRETENTIONCLASSthrough retention_class
Kind is a row at platform scope. The drawing shows its fields and the objects that they point at.
kind
row
scope
platform
key
its name
store
postgres
family
kernel

Fields#

fieldtyperequirednote
nametextyes
typeone of fact | work | entity | definition | view | value | parameter | rowyes
placesPlaceyesfor work: its closed list of places
scopeone of shared | platform | tenant | brand | strategy | useryesthe widest scope a unit of the kind may live at
plane_boundboolyeswhether a unit of the kind carries a plane
who_may_writePermissionyesthe permissions that allow a write
class_of_dataone of public | a tenant's own | about a person | about a person's conditionyes
retention_classRetentionClassyesa kind with no class cannot register
same_by_constructionboolyeswhether its key is made from its input
version_of_shapecountyes

Routes that use it#

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