13

Object schema

Every key of the app and organization objects, read from the published JSON Schemas.

ChangeBox App Object

One document per app (ADR-0016). Secrets, keys, counters and timestamps are not part of it; integrations are referenced by id. Every key has a default except the four required. Schema id: https://changebox.ai/schema/app/1.json

FieldTypeDefaultDescription
$schemastring
id *string
type *changebox/app
version *1Schema version of this document, not the store's history number.
identityobject{}
identity.namestring
identity.productionUrlstring | nullnull
repositories *object[]Empty for a widget-only app, which is hosted by ChangeBox.
repositories[].fullName *string
repositories[].defaultBranchstringmain
environmentsobject[][]
environments[].name *string
environments[].kindproduction | staging | development | previewAbsent = inferred from the name.
environments[].originsstring[][]
environments[].baseBranchstringmain
environments[].deployBranchstringAbsent = baseBranch.
environments[].agentsEnabledbooleanfalse
environments[].cursorEnvironmentIdstring
environments[].acceptsReportsbooleantrue
environments[].allowAnonymousbooleanfalse
environments[].liveSignaldeploy | merge | manualdeployWhat flips a change to live here.
environments[].githubEnvironmentstring
environments[].agentBrowsingread | writeAbsent = write everywhere but production.
environments[].verifierobject{}
environments[].verifier.enabledbooleantrue
environments[].verifier.signInobjectHow the Verifier gets past a sign-in wall. Never a secret; `$NAME` references the Cursor environment.
environments[].verifier.signIn.urlstring | null
environments[].verifier.signIn.instructionsstring | null
policyobject{}
policy.executionmanual | trusted | autonomous | autopilot | full_autonomymanualWhether an agent may build without a human first.
policy.shipoperator | approveroperatorWho may approve Ship.
policy.reviewindependent | noneindependentA second agent reviews every PR against the spec.
policy.planBeforeBuildbooleantrue
policy.mergeOnShipbooleanfalseSquash-merge through the GitHub App when Ship is approved.
policy.holdHighRiskbooleantrue
policy.holdReviewFindingsbooleanfalse
policy.verificationalways | reporteralwaysWho confirms a live change.
policy.quietWindowMinutesinteger360Minutes of silence after live before a telemetry-filed change is confirmed.
policy.autoConfirmDaysinteger7Days live with no confirm or reopen before confirm by silence. 0 = never.
policy.reporterAccessanyone | authenticated | selected_users | team_onlyanyoneWho may file.
invariantsobject{}
invariants.protectedobject{}Areas whose files hold Ship for a person under every policy.
invariants.protected.defaultsbooleantrueUse the built-in patterns.
invariants.protected.extrastring[][]Extra glob patterns.
invariants.requiredChecksstring[][]Third-party checks that must finish green before policy ships.
invariants.conventionsstring | nullnullHow this codebase does things (Markdown); the reviewer's rubric.
intakeobject{}
intake.questionsinteger3Questions the assistant may ask after the reporter's one line. 0 files the plain report.
integrationsstring[][]Ids of the organisation's integrations this app uses.
slackobject{}
slack.connectionstring | nullnullAbsent = the organisation's default connection.
slack.channelsobject{}Per-stream overrides. Absent inherits the connection's channel; id `off` silences the stream.
slack.channels.mainobject
slack.channels.main.id *string
slack.channels.main.namestring
slack.channels.qaobject
slack.channels.qa.id *string
slack.channels.qa.namestring
slack.channels.generalobject
slack.channels.general.id *string
slack.channels.general.namestring
slack.channels.alertsobject
slack.channels.alerts.id *string
slack.channels.alerts.namestring
slack.channels.acceptedobject
slack.channels.accepted.id *string
slack.channels.accepted.namestring
githubobject{}Write-back to pull requests.
github.commentsbooleantrue
github.reviewAllPrsbooleanfalse
github.approveCleanbooleanfalse
github.requestChangesOnBlockerbooleantrue
github.reviewsPerDayinteger30
github.pushToAuthorBranchbooleanfalse
modelsobject{}Cloud agent model ids.
models.defaultModelstringgrok-4.7
models.architectureModelstringclaude-4.5-sonnet
models.escalationModelstringclaude-4.6-opus
telemetryobject{}
telemetry.errorThresholdinteger3
telemetry.windowMinutesinteger15
telemetry.maxChangesPerDayinteger5
telemetry.refileDaysinteger7
telemetry.fileFromEnvironmentsstring[][]Empty = all.
telemetry.enrichbooleanfalse
telemetry.failureQualitySubjectsinteger3
telemetry.failureQualityWindowHoursinteger24
telemetry.failureStepCapinteger5
telemetry.failureConfirmRunsinteger5
telemetry.failureConfirmHoursinteger48
releaseobject{}
release.versioningoff | external | managedoff
release.schemesemver | calversemver
release.prefixstringv
release.bumppatch | minorpatch
release.candidatesbooleantrue
release.publishbooleantrue
release.initialstring0.1.0
testsobject{}
tests.nightlybooleanfalse
tests.hourUtcinteger7
tests.environmentIdstring | nullnull
tests.requireSweepForPromotionbooleanfalse
tests.fileFailuresbooleantrue
tests.specsInFixesbooleantrue
tests.mutationOnProtectedbooleanfalse
baselineobject{}
baseline.onInstallbooleantrue
baseline.depthstandard | thoroughstandard
baseline.concurrencyinteger3
baseline.openProductbooleantrue
baseline.deliverypull_request | report_only | offpull_request
widgetobject{}
widget.allowedOriginsstring[][]
widget.hostRolesAllowedstring[]["approver"]Roles a host-signed identity may assert (capped server-side).

ChangeBox Org Object

One document per organisation (ADR-0016). Keys are references to envelope-encrypted credentials, never values. Every key has a default except the three required. Schema id: https://changebox.ai/schema/org/1.json

FieldTypeDefaultDescription
$schemastring
id *string
type *changebox/org
version *1Schema version of this document, not the store's history number.
identityobject{}
identity.namestring
identity.slugstring
identity.kindorg | client | prospectorgA Delivery firm's client workspace is `client`; an audit before they are a client is `prospect`.
identity.parentOrgIdstring | nullnull
membersobject[][]
members[].userId *string
members[].role *owner | admin | operator | approver | member | viewer
capsobject{}
caps.launchesPerDayinteger20
caps.concurrentinteger2
caps.runMinutesinteger90Absolute ceiling; a stuck run is stopped by its no-progress window first.
caps.pausedbooleanfalseThe stop switch.
caps.runBoundsobject{}Per-class no-progress windows and ceilings, in minutes. Absent classes use the defaults.
caps.runBounds.windowsobject
caps.runBounds.windows.buildnumber
caps.runBounds.windows.reviewnumber
caps.runBounds.windows.ci-repairnumber
caps.runBounds.windows.verifynumber
caps.runBounds.ceilingsobject
caps.runBounds.ceilings.buildnumber
caps.runBounds.ceilings.reviewnumber
caps.runBounds.ceilings.ci-repairnumber
caps.runBounds.ceilings.verifynumber
caps.runBounds.verifierSignInMinutesnumber
capacitybyo | changeboxbyobyo: the organisation's own Cursor key. changebox: a ChangeBox-held key, metered.
keysobject[][]
keys[].id *string
keys[].kind *string
keys[].ref *stringReference to the stored ciphertext.
integrationsobject[][]
integrations[].id *string
integrations[].kind *github_app | hosted_mcp | slack | webhook | linear | jiraParked kinds (ADR-0018) validate but are not documented.
slackobject{}
slack.connectionsobject[][]
slack.connections[].id *string
slack.connections[].teamId *string
slack.connections[].teamNamestring
slack.connections[].defaultbooleanfalseThe workspace unbound apps post into. At most one.
slack.connections[].channelsobject{}
slack.connections[].channels.mainobjectid `off` silences the stream.
slack.connections[].channels.main.id *string
slack.connections[].channels.main.namestring
slack.connections[].channels.qaobjectid `off` silences the stream.
slack.connections[].channels.qa.id *string
slack.connections[].channels.qa.namestring
slack.connections[].channels.generalobjectid `off` silences the stream.
slack.connections[].channels.general.id *string
slack.connections[].channels.general.namestring
slack.connections[].channels.alertsobjectid `off` silences the stream.
slack.connections[].channels.alerts.id *string
slack.connections[].channels.alerts.namestring
slack.connections[].channels.acceptedobjectid `off` silences the stream.
slack.connections[].channels.accepted.id *string
slack.connections[].channels.accepted.namestring
brandobject | nullnullWhite-label for reports prepared in client workspaces. Null = none.
brand.name *string
brand.logoUrlstring | nullnull
brand.accentstring | nullnull
brand.continueUrlstring | nullnull
brand.continueLabelstring | nullnull
clientsstring[][]Ids of the client workspaces under this organisation.
billingobject{}
billing.planstringfree
billing.intervalmonthly | annual | nullnull
billing.priceCentsinteger | nullnullGrandfathered monthly price when it differs from the catalog.
billing.internalProbooleanfalse
billing.stripeCustomerIdstring | nullnull
billing.stripeSubscriptionIdstring | nullnull

* required

Object schema · ChangeBox