Scale Intelligence■ Docs
Docs / The model / ContentItem

ContentItem.

A piece of content, the same by construction

Figure 1ContentItemspecified
CONTENTITEMentity at shared scopeeach the hash of its contentversions[hash]author_accountidoptionalparentidoptionala reply is a member of its thread and never a threadrootidoptionalcommunityidoptionala kind whose parent kind is the content item: a post, a comment, a page, a job posting, a filing, a listing, a message, a review, a video, an episode, a transcript segment, an image, an ad creative, a paper, a patentkindKindOfEntitya start, an end and a unit, seconds, characters or a page, within its parentspanjsonoptionalKINDOFENTITYthrough kind
ContentItem is a entity at shared scope. The drawing shows its fields and the objects that they point at.
kind
entity
scope
shared
key
the source and the source’s own id
store
postgres+lake
family
record

Fields#

fieldtyperequirednote
versions[hash]yeseach the hash of its content
author_accountidno
parentidno
rootidnoa reply is a member of its thread and never a thread
communityidno
kindKindOfEntityyesa kind whose parent kind is the content item: a post, a comment, a page, a job posting, a filing, a listing, a message, a review, a video, an episode, a transcript segment, an image, an ad creative, a paper, a patent
spanjsonnoa start, an end and a unit, seconds, characters or a page, within its parent

Routes that use it#

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