Space Docs
Domain Model

Note

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYes—Id
createdAtstring.date-timeYes—Created at
updatedAtstring.date-timeYes—Updated at
workspaceIdstring.uuidYes—ID of the associated workspace
entityTypeenum(customer, vendor, contact, opportunity, quote, estimate, site, asset, system, ticket, work_order, project, incident, alert, invoice, payment, purchase_order, knowledge_article, deficiency_report, design_review, inspection_result, maintenance_plan, pm_schedule, space, document, media_artifact, credential, workspace, product, monitoring_account, warehouse, rfq, schedule_visit, user)Yes—Entity type
entityIdstringYes—ID of the associated entity
authorIdstring.uuidYes—ID of the associated author
bodystringYes—Body
isPinnedbooleanYes—Is pinned
sourceenum(user, system, agent)Yes—Source

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
entityTypeenum(customer, vendor, contact, opportunity, quote, estimate, site, asset, system, ticket, work_order, project, incident, alert, invoice, payment, purchase_order, knowledge_article, deficiency_report, design_review, inspection_result, maintenance_plan, pm_schedule, space, document, media_artifact, credential, workspace, product, monitoring_account, warehouse, rfq, schedule_visit, user)Yes—Entity type
entityIdstringYes—ID of the associated entity
bodystringYes—Body
isPinnedbooleanNo—Is pinned
visibilityenum(internal, customer)No—Visibility

Update Schema

All fields are optional when updating:

FieldTypeRequiredDefaultDescription
bodystringNo—Body
isPinnedbooleanNo—Is pinned

On this page