Skip to content

App manifest

View as Markdown

How to write and publish a manifest: App manifests. [] marks a list; required means required whenever its parent is present.

key

FieldTypeDescription
key requiredstringUnique app key, lowercase with underscores, for example asset_tracker.

version

FieldTypeDescription
version requiredstringSemantic version (1.2.0). Published versions are immutable: bump it to publish a change.

dependsOn

FieldTypeDescription
dependsOnstring[]Apps this app cannot work without, usually because its reference fields point at their entities. Installing this app installs them first; they can't be uninstalled while this app is installed.

app

FieldTypeDescription
appobjectApp-level settings.
app.tierenum product, moduleproduct gives the app its own icon in the app rail; module (the default) is reached from the app launcher.
app.firstPartyboolean

entities

FieldTypeDescription
entities requiredobject[]The record types the app owns. At least one.
entities[].key requiredstringEntity key, unique in the workspace. Used in API paths: /api/records/<key>.
entities[].label requiredstringName shown in the app.
entities[].descriptionstringShort description.
entities[].iconstringIcon name.
entities[].backingTablestringLeave at records (the default).
entities[].fields requiredobject[]The entity's fields.
entities[].fields[].key requiredstringField key, unique in the entity.
entities[].fields[].label requiredstringLabel on forms and lists.
entities[].fields[].type requiredstringField type: string, markdown, number, currency, boolean, date, email, url, image_url, enum, reference, reference_list, tags, file, calculated or rollup.
entities[].fields[].storage requiredenum column, extHow the field is stored. Apps use ext.
entities[].fields[].requiredbooleanThe record can't be saved without a value.
entities[].fields[].enumOptionsobject[]Choices of an enum field, each with a value and a colour.
entities[].fields[].enumOptions[].value requiredstring
entities[].fields[].enumOptions[].color requiredstring
entities[].fields[].enumOptions[].labelstring
entities[].fields[].referenceEntityKeystringFor a reference field: the entity it points at.
entities[].fields[].referenceDisplayFieldstringThe field of the referenced record shown in pickers and lists.
entities[].fields[].referenceFilterobjectLimits the records a reference picker offers: a cascade from another field, and fixed conditions.
entities[].fields[].referenceFilter.fieldstring
entities[].fields[].referenceFilter.targetFieldstring
entities[].fields[].referenceFilter.whereobject[]
entities[].fields[].optionsSourcestringMakes the field a dropdown filled from a live list: views:<entity> offers that entity's saved views, providers:<type> the workspace's integrations of that type (for example providers:email; the value is the integration's name, blank = the workspace default). Anyone who can read or edit the field sees the integration names, never their settings: in the record form and as the values of a list filter on the field.
entities[].fields[].order requirednumberPosition on the default form.
entities[].fields[].autoNumberbooleanFill the field with a sequence number on create (INC0001042).
entities[].fields[].autoNumberPrefixstringPrefix of the sequence number.
entities[].fields[].autoNumberPaddingnumberDigits of the sequence number.
entities[].fields[].formulastringA formula computed from other fields.
entities[].fields[].formulaOutputTypeenum number, currency, money, decimal, stringType of the formula's result.
entities[].fields[].currencystring
entities[].fields[].currencyFieldstring
entities[].fields[].scalenumber
entities[].fields[].roundingenum half_even, half_up
entities[].fields[].rollupEntitystringRoll-up: the child entity to aggregate.
entities[].fields[].rollupRefFieldstringRoll-up: the child's reference field that points back to this record.
entities[].fields[].rollupAggenum count, sum, avg, min, maxRoll-up: how to aggregate the children.
entities[].fields[].rollupFieldstringRoll-up: the child field to aggregate.
entities[].fields[].hierarchyobjectDeclares a self-reference (such as manager) as a hierarchy, so access rules can say "my reports" and "my reports' reports".
entities[].fields[].hierarchy.key requiredstringHierarchy key, used in access conditions.
entities[].fields[].hierarchy.labelstring
entities[].fields[].hierarchy.kindenum primary, secondary
entities[].fields[].hierarchy.maxDepthnumberDeepest allowed chain.
entities[].fields[].hierarchy.onRemoveenum refuse, reparent_to_parentWhat happens to children when a record in the middle is deleted: refuse the delete, or move the children up to its parent.
entities[].fields[].hierarchy.transitiveboolean
entities[].fields[].hierarchy.principalViastring
entities[].fields[].classificationenum pii, sensitive
entities[].statesobject[]Lifecycle states, such as New, In progress, Resolved.
entities[].states[].key requiredstring
entities[].states[].label requiredstring
entities[].states[].colorstring
entities[].states[].isInitialbooleanThe state a new record starts in.
entities[].states[].isTerminalbooleanA finished state. Records in it can't be edited.
entities[].states[].order requirednumber
entities[].transitionsobject[]Allowed moves between states.
entities[].transitions[].from requiredstring
entities[].transitions[].to requiredstring
entities[].transitions[].label requiredstring
entities[].transitions[].requiresRolestringOnly this role may make the move.
entities[].transitions[].destructiveboolean
entities[].transitions[].confirmstring
entities[].transitions[].runWorkflowstringWorkflow started when the move happens.
entities[].rulesobject[]Business rules that check, set or reject values when records are created, changed, moved or deleted.
entities[].rules[].key requiredstring
entities[].rules[].namestring
entities[].rules[].on requiredenum[] create, update, transition, deleteThe events the rule runs on.
entities[].rules[].timingenum before, afterbefore the write (can reject or change it) or after it.
entities[].rules[].fromstring
entities[].rules[].tostring
entities[].rules[].whenobjectCondition: all, any, not, or a single comparison.
entities[].rules[].when.allobject[] Required for some kinds.
entities[].rules[].when.anyobject[] Required for some kinds.
entities[].rules[].when.notobject Required for some kinds.
entities[].rules[].when.leftstring Required for some kinds.
entities[].rules[].when.openum eq, ne, gt, lt, gte, lte, contains, empty, not_empty, in Required for some kinds.
entities[].rules[].when.rightany Required for some kinds.
entities[].rules[].do requiredobject[]Actions: reject, require a field, set a value, run a script.
entities[].rules[].do[].kindliteral reject Required for some kinds.
entities[].rules[].do[].messagestring Required for some kinds.
entities[].rules[].do[].fieldstring Required for some kinds.
entities[].rules[].do[].valueany Required for some kinds.
entities[].rules[].do[].codestring Required for some kinds.
entities[].rules[].do[].canReadboolean Required for some kinds.
entities[].rules[].do[].canWriteboolean Required for some kinds.
entities[].rules[].do[].timeoutMsnumber Required for some kinds.
entities[].rules[].do[].memoryKbnumber Required for some kinds.
entities[].rules[].do[].scriptstring Required for some kinds.
entities[].rules[].ordernumber
entities[].rules[].activeboolean
entities[].aclsobject[]Access rules the app ships for its entity. They become the app's permission sets when installed.
entities[].acls[].operation requiredenum read, create, update, delete, transitionThe operation the rule covers.
entities[].acls[].role requiredstringThe role the rule applies to.
entities[].acls[].effectenum allow, denyallow (default) or deny.
entities[].acls[].fieldKeystringLimits the rule to one field.
entities[].acls[].rowFiltersobject[]Limits the rule to matching records. Values can use @me and other tokens.
entities[].acls[].rowFilters[].field requiredstring
entities[].acls[].rowFilters[].op requiredenum eq, ne, contains, empty, not_empty
entities[].acls[].rowFilters[].valuestring
entities[].slasobject[]Service levels: a target time from an entry state to a goal state.
entities[].slas[].name requiredstring
entities[].slas[].entryState requiredstring
entities[].slas[].goalState requiredstring
entities[].slas[].targetMinutes requirednumberTarget time in minutes.
entities[].slas[].escalateWorkflowstring
entities[].slas[].escalatePrioritystring
entities[].slas[].calendarstringBusiness-hours calendar the clock follows.
entities[].slas[].pauseStatesstring[]States in which the clock stops.
entities[].slas[].warnPercentnumberWarn when this share of the target has passed.
entities[].slas[].whenobject
entities[].slas[].when.allobject[] Required for some kinds.
entities[].slas[].when.anyobject[] Required for some kinds.
entities[].slas[].when.notobject Required for some kinds.
entities[].slas[].when.leftstring Required for some kinds.
entities[].slas[].when.openum eq, ne, gt, lt, gte, lte, contains, empty, not_empty, in Required for some kinds.
entities[].slas[].when.rightany Required for some kinds.
entities[].portalobjectLets people raise and track records of this entity on the portal.
entities[].portal.requestbooleanShow the entity on the portal as a request type.
entities[].portal.titleFieldstringThe field shown as the request's title.
entities[].auditReadsboolean
entities[].emailobjectEmail intake for this entity.
entities[].email.intake requiredbooleanMail sent to the workspace's intake address for this entity opens a record.
entities[].seedobject (map)[]Records created when the app is installed. An upgrade creates only the rows whose identity (seedKey) isn't there yet; a row without one is created on the first install only.
entities[].seedKeystringThe field that identifies a seed row, so an upgrade doesn't create it twice. Absent: the row's key, code or name, whichever it has first.
entities[].formOptionsobject (map)Record page options, such as where the activity stream and attachments appear by default.
entities[].sharedWithstring[]Other apps that declare the same entity. Whichever is installed first creates it; the others reuse it. Both manifests list each other.
entities[].layoutobjectThe record page layout the app installs with: sections of fields in columns. Kept once the workspace edits the layout.
entities[].layout.sections requiredobject[]The sections, top to bottom.
entities[].layout.sections[].label requiredstringSection heading.
entities[].layout.sections[].columns requiredstring[][]One to three columns, each a list of field keys.
entities[].layout.sections[].columnsCountliteral 1Number of columns when the section has one list of fields.
entities[].layout.sections[].collapsiblebooleanThe section can be collapsed.
entities[].layout.sections[].collapsedbooleanThe section starts collapsed.
entities[].effectiveDatingobjectTurns on effective dating for the entity at install: groups of fields whose changes take effect on a date, with a history and as-of reads.
entities[].effectiveDating.startenum created, -infinitycreated (the first version starts when the record is created, or on the date given) or -infinity.
entities[].effectiveDating.groups requiredobject[]The dated field groups (up to 8). A field belongs to one group.
entities[].effectiveDating.groups[].key requiredstringGroup key, used in the API (?group=pay).
entities[].effectiveDating.groups[].labelstringGroup name shown on the record page.
entities[].effectiveDating.groups[].fields requiredstring[]The fields whose changes are dated together.
entities[].effectiveDating.groups[].reasonsstring[]The reasons a change can give (hire, merit, transfer…).
entities[].effectiveDating.groups[].requireReasonbooleanA change must give one of the reasons.
entities[].effectiveDating.groups[].requireEffectiveDatebooleanA change must say when it takes effect.
entities[].effectiveDating.groups[].futureobjectHow far ahead a change may take effect (maxDays).
entities[].effectiveDating.groups[].backdateobjectHow far back a change may take effect (maxDays).
entities[].anonymousIntakeobject
entities[].anonymousIntake.refField requiredstring
entities[].anonymousIntake.refPrefix requiredstring
entities[].anonymousIntake.secretField requiredstring
entities[].anonymousIntake.receivedAtFieldstring
entities[].anonymousIntake.statusFieldsstring[]
entities[].anonymousIntake.repliesobject
entities[].anonymousIntake.replies.entity requiredstring
entities[].anonymousIntake.replies.parentField requiredstring
entities[].anonymousIntake.replies.bodyField requiredstring
entities[].anonymousIntake.replies.authorField requiredstring
entities[].anonymousIntake.replies.reporterValue requiredstring
entities[].anonymousIntake.replies.hiddenAuthorValuesstring[]
entities[].anonymousIntake.replies.timeFieldstring

extends

FieldTypeDescription
extendsobject[]Fields this app adds to other apps' entities. Field keys start with the app key (csm_health_score).
extends[].entity requiredstringThe entity to extend.
extends[].fields requiredobject[]The fields to add.
extends[].fields[].key requiredstring
extends[].fields[].label requiredstring
extends[].fields[].type requiredstring
extends[].fields[].storage requiredenum column, ext
extends[].fields[].requiredboolean
extends[].fields[].enumOptionsobject[]
extends[].fields[].enumOptions[].value requiredstring
extends[].fields[].enumOptions[].color requiredstring
extends[].fields[].enumOptions[].labelstring
extends[].fields[].referenceEntityKeystring
extends[].fields[].referenceDisplayFieldstring
extends[].fields[].referenceFilterobject
extends[].fields[].referenceFilter.fieldstring
extends[].fields[].referenceFilter.targetFieldstring
extends[].fields[].referenceFilter.whereobject[]
extends[].fields[].optionsSourcestring
extends[].fields[].order requirednumber
extends[].fields[].autoNumberboolean
extends[].fields[].autoNumberPrefixstring
extends[].fields[].autoNumberPaddingnumber
extends[].fields[].formulastring
extends[].fields[].formulaOutputTypeenum number, currency, money, decimal, string
extends[].fields[].currencystring
extends[].fields[].currencyFieldstring
extends[].fields[].scalenumber
extends[].fields[].roundingenum half_even, half_up
extends[].fields[].rollupEntitystring
extends[].fields[].rollupRefFieldstring
extends[].fields[].rollupAggenum count, sum, avg, min, max
extends[].fields[].rollupFieldstring
extends[].fields[].hierarchyobject
extends[].fields[].hierarchy.key requiredstring
extends[].fields[].hierarchy.labelstring
extends[].fields[].hierarchy.kindenum primary, secondary
extends[].fields[].hierarchy.maxDepthnumber
extends[].fields[].hierarchy.onRemoveenum refuse, reparent_to_parent
extends[].fields[].hierarchy.transitiveboolean
extends[].fields[].hierarchy.principalViastring
extends[].fields[].classificationenum pii, sensitive

grants

FieldTypeDescription
grantsobject[]Access the app's automation needs on entities it doesn't own.
grants[].entity requiredstring
grants[].ops requiredenum[] read, create, update, transition, delete
grants[].fieldsstring[]
grants[].reasonstringWhy the app needs it. Shown to the person installing the app.

actorAttributes

FieldTypeDescription
actorAttributesobject[]Attributes of the signed-in person (@my_<key>) that access rules can compare records with.
actorAttributes[].key requiredstring
actorAttributes[].entity requiredstring
actorAttributes[].userField requiredstring
actorAttributes[].valueField requiredstring

pages

FieldTypeDescription
pagesobject (map)[]Page specs the app ships. See the page builder guide for their shape.

nav

FieldTypeDescription
navobjectThe app's entry in the navigation.
nav.label requiredstring
nav.iconstring
nav.items requiredobject[]
nav.items[].label requiredstring
nav.items[].to requiredstring
nav.items[].iconstring
nav.items[].groupstring
nav.items[].capabilitystring
nav.withinstring[]Show this app's section inside other apps' sections.

store

FieldTypeDescription
storeobjectApp store listing.
store.name requiredstring
store.summary requiredstring
store.description requiredstring
store.category requiredstring
store.iconstring
store.publisherstring
store.plans requiredobject[]
store.plans[].key requiredstring
store.plans[].name requiredstring
store.plans[].descriptionstring
store.plans[].priceCentsnumber
store.plans[].intervalenum month, year
store.plans[].featuresstring[]
store.plans[].isDefaultboolean

workflows

FieldTypeDescription
workflowsobject[]Automation pipelines (workflow DSL): a trigger and the steps that follow.
workflows[].key requiredstring
workflows[].name requiredstring
workflows[].trigger requiredobjectWhat starts the workflow: a record event, a schedule, an event or a manual run.
workflows[].nodes requiredobject[]The steps.
workflows[].retriesnumber

scripts

FieldTypeDescription
scriptsobject[]Sandboxed scripts the app's workflows and rules can call.
scripts[].key requiredstring
scripts[].name requiredstring
scripts[].descriptionstring
scripts[].code requiredstring
scripts[].canReadboolean
scripts[].canWriteboolean
scripts[].httpHostsstring[]
scripts[].runAsenum caller, system
scripts[].exposedbooleanMake the script callable as an endpoint and as an MCP tool.
scripts[].endpointAuthenum public, apiKey, hmacHow callers of the endpoint authenticate, for example an HMAC signature.
scripts[].endpointHmacobject
scripts[].endpointHmac.secret requiredstring
scripts[].endpointHmac.header requiredstring
scripts[].endpointHmac.scheme requiredenum timestamped, hex
scripts[].endpointHmac.toleranceSecondsnumber
scripts[].endpointIdempotencyobjectDeduplicate repeated deliveries by a header, and run calls for the same key one at a time.
scripts[].endpointIdempotency.header requiredstring
scripts[].endpointIdempotency.serializeByobject
scripts[].endpointIdempotency.serializeBy.bodyPath requiredstring

agents

FieldTypeDescription
agentsobject[]Named AI agents the app ships.
agents[].key requiredstring
agents[].name requiredstring
agents[].descriptionstring
agents[].systemPrompt requiredstring
agents[].clearanceenum public, internal, confidential
agents[].modelstring
agents[].collectionsstring[]

connectors

FieldTypeDescription
connectorsobject[]Connections to other systems' APIs.
connectors[].key requiredstring
connectors[].name requiredstring
connectors[].category requiredstring
connectors[].baseUrl requiredstring
connectors[].allowedHostsstring[]
connectors[].authTypeenum none, header, query, basic
connectors[].authSecretstring
connectors[].authParamstring
connectors[].authPasswordSecretstring
connectors[].costPerCallnumber
connectors[].operationsobject (map)

widgets

FieldTypeDescription
widgetsobject[]Sandboxed widgets for record pages.
widgets[].key requiredstring
widgets[].name requiredstring
widgets[].descriptionstring
widgets[].templatestring
widgets[].cssstring
widgets[].clientScriptstring
widgets[].dataScriptstring

reports

FieldTypeDescription
reportsobject[]Reports created on install.
reports[].key requiredstring
reports[].name requiredstring
reports[].entityKey requiredstring
reports[].metric requiredenum count, sum, avg
reports[].metricFieldstring
reports[].groupBystring
reports[].bucketenum day, week, month
reports[].viz requiredenum number, bar, pie, line, table
reports[].filtersobject[]
reports[].filters[].field requiredstring
reports[].filters[].op requiredenum eq, ne, contains, empty, not_empty
reports[].filters[].valuestring
reports[].showInNavboolean

dashboards

FieldTypeDescription
dashboardsobject[]Dashboards created on install.
dashboards[].name requiredstring
dashboards[].showInNavboolean
dashboards[].widgets requiredobject[]
dashboards[].widgets[].report requiredstring
dashboards[].widgets[].size requiredenum half, full

access

FieldTypeDescription
accessobjectThe app's access model: permission sets, roles, restrictions and the role that administers the app. Installing the app creates them, owned by the app; an upgrade keeps the workspace's edits and asks an admin before it widens access; uninstalling removes them. (Building apps › Access in the manifest).
access.permissionSetsobject[]Permission sets the app ships. Same shape as a permissionSet artefact, without app (it is this app).
access.permissionSets[].key requiredstring<app>.<name>, for example hr.employee.
access.permissionSets[].labelstring
access.permissionSets[].descriptionstring
access.permissionSets[].grants requiredobject[]What holders may do: { entity, ops, actions?, where?, fields? } per grant.
access.permissionSets[].grants[].entity requiredstring
access.permissionSets[].grants[].opsenum[] read, create, update, delete, transition
access.permissionSets[].grants[].actionsstring[]
access.permissionSets[].grants[].whereobject (map) | any[]Rows the grant covers, as a condition ({ left: "{{field}}", op, right }, { all }, { any }). Absent: every row.
access.permissionSets[].grants[].fieldsobject (map)
access.permissionSets[].fieldsobject (map){ entity: { field: level } } with hidden, masked, read or write.
access.permissionSets[].historyobject (map)
access.permissionSets[].capabilitiesstring[]Capabilities holders get, for example app.admin@<app> or a custom <app>.<name> that a restriction can exempt. workspace.admin can't be shipped.
access.rolesobject[]Roles the app ships. A role holds permission sets.
access.roles[].key requiredstring<app>_<name>, for example hr_admin.
access.roles[].name requiredstring
access.roles[].descriptionstring
access.roles[].permissionSets requiredstring[]The sets the role holds: this app's, or another installed app's.
access.roles[].paramsobject (map)
access.roles[].elevatableboolean
access.roles[].maxHoursnumber
access.restrictionsobject[]Restrictions the app ships: they take access away whatever grants it (field caps, forbidden actions, per record with unlessWhere).
access.restrictions[].key requiredstring<app>.<name>, for example hr.pay_hr_only.
access.restrictions[].entity requiredstringOne of this app's entities.
access.restrictions[].actionsstring[]
access.restrictions[].forbidWhenobject (map) | any[]
access.restrictions[].fieldsobject (map)Field caps: { field: hidden | masked | read }.
access.restrictions[].unlessCapabilitystringHolders of this capability are exempt.
access.restrictions[].unlessWhereobject (map) | any[]Rows the field caps don't apply to, for example the person's own record ({{user}} = @me).
access.restrictions[].revealableboolean
access.restrictions[].rolesstring[]
access.restrictions[].enforceOnAdminsbooleanApply it to owners and admins too.
access.restrictions[].messagestring
access.appAdminRolestringThe role whose holders administer this app's access. It must be one of access.roles and hold a set with app.admin@<app>.

editPolicy

FieldTypeDescription
editPolicyenum locked, additive, fullHow much a workspace may change the app: full (default), additive (add, don't change) or locked.

releaseNotes

FieldTypeDescription
releaseNotesstringWhat changed in this version. Shown in the store and when upgrading.

seedRecords

FieldTypeDescription
seedRecordsobject[]Records the app adds to entities it doesn't own, such as templates.
seedRecords[].entity requiredstring
seedRecords[].records requiredobject (map)[]

views

FieldTypeDescription
viewsobject[]Saved list views created on install.
views[].name requiredstring
views[].entityKey requiredstring
views[].filtersobject[]
views[].filters[].field requiredstring
views[].filters[].op requiredstring
views[].filters[].valuestring
views[].columnsstring[]
views[].viewTypeenum table, board, gallery, list, calendar
views[].viewConfigobject (map)
views[].sortobject[]
views[].sort[].field requiredstring
views[].sort[].dir requiredenum asc, desc
views[].groupBystring
views[].showInNavboolean
views[].isDefaultboolean