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
| Field | Type | Default | Description |
|---|---|---|---|
| $schema | string | ||
| id * | string | ||
| type * | changebox/app | ||
| version * | 1 | Schema version of this document, not the store's history number. | |
| identity | object | {} | |
| identity.name | string | ||
| identity.productionUrl | string | null | null | |
| repositories * | object[] | Empty for a widget-only app, which is hosted by ChangeBox. | |
| repositories[].fullName * | string | ||
| repositories[].defaultBranch | string | main | |
| environments | object[] | [] | |
| environments[].name * | string | ||
| environments[].kind | production | staging | development | preview | Absent = inferred from the name. | |
| environments[].origins | string[] | [] | |
| environments[].baseBranch | string | main | |
| environments[].deployBranch | string | Absent = baseBranch. | |
| environments[].agentsEnabled | boolean | false | |
| environments[].cursorEnvironmentId | string | ||
| environments[].acceptsReports | boolean | true | |
| environments[].allowAnonymous | boolean | false | |
| environments[].liveSignal | deploy | merge | manual | deploy | What flips a change to live here. |
| environments[].githubEnvironment | string | ||
| environments[].agentBrowsing | read | write | Absent = write everywhere but production. | |
| environments[].verifier | object | {} | |
| environments[].verifier.enabled | boolean | true | |
| environments[].verifier.signIn | object | How the Verifier gets past a sign-in wall. Never a secret; `$NAME` references the Cursor environment. | |
| environments[].verifier.signIn.url | string | null | ||
| environments[].verifier.signIn.instructions | string | null | ||
| policy | object | {} | |
| policy.execution | manual | trusted | autonomous | autopilot | full_autonomy | manual | Whether an agent may build without a human first. |
| policy.ship | operator | approver | operator | Who may approve Ship. |
| policy.review | independent | none | independent | A second agent reviews every PR against the spec. |
| policy.planBeforeBuild | boolean | true | |
| policy.mergeOnShip | boolean | false | Squash-merge through the GitHub App when Ship is approved. |
| policy.holdHighRisk | boolean | true | |
| policy.holdReviewFindings | boolean | false | |
| policy.verification | always | reporter | always | Who confirms a live change. |
| policy.quietWindowMinutes | integer | 360 | Minutes of silence after live before a telemetry-filed change is confirmed. |
| policy.autoConfirmDays | integer | 7 | Days live with no confirm or reopen before confirm by silence. 0 = never. |
| policy.reporterAccess | anyone | authenticated | selected_users | team_only | anyone | Who may file. |
| invariants | object | {} | |
| invariants.protected | object | {} | Areas whose files hold Ship for a person under every policy. |
| invariants.protected.defaults | boolean | true | Use the built-in patterns. |
| invariants.protected.extra | string[] | [] | Extra glob patterns. |
| invariants.requiredChecks | string[] | [] | Third-party checks that must finish green before policy ships. |
| invariants.conventions | string | null | null | How this codebase does things (Markdown); the reviewer's rubric. |
| intake | object | {} | |
| intake.questions | integer | 3 | Questions the assistant may ask after the reporter's one line. 0 files the plain report. |
| integrations | string[] | [] | Ids of the organisation's integrations this app uses. |
| slack | object | {} | |
| slack.connection | string | null | null | Absent = the organisation's default connection. |
| slack.channels | object | {} | Per-stream overrides. Absent inherits the connection's channel; id `off` silences the stream. |
| slack.channels.main | object | ||
| slack.channels.main.id * | string | ||
| slack.channels.main.name | string | ||
| slack.channels.qa | object | ||
| slack.channels.qa.id * | string | ||
| slack.channels.qa.name | string | ||
| slack.channels.general | object | ||
| slack.channels.general.id * | string | ||
| slack.channels.general.name | string | ||
| slack.channels.alerts | object | ||
| slack.channels.alerts.id * | string | ||
| slack.channels.alerts.name | string | ||
| slack.channels.accepted | object | ||
| slack.channels.accepted.id * | string | ||
| slack.channels.accepted.name | string | ||
| github | object | {} | Write-back to pull requests. |
| github.comments | boolean | true | |
| github.reviewAllPrs | boolean | false | |
| github.approveClean | boolean | false | |
| github.requestChangesOnBlocker | boolean | true | |
| github.reviewsPerDay | integer | 30 | |
| github.pushToAuthorBranch | boolean | false | |
| models | object | {} | Cloud agent model ids. |
| models.defaultModel | string | grok-4.7 | |
| models.architectureModel | string | claude-4.5-sonnet | |
| models.escalationModel | string | claude-4.6-opus | |
| telemetry | object | {} | |
| telemetry.errorThreshold | integer | 3 | |
| telemetry.windowMinutes | integer | 15 | |
| telemetry.maxChangesPerDay | integer | 5 | |
| telemetry.refileDays | integer | 7 | |
| telemetry.fileFromEnvironments | string[] | [] | Empty = all. |
| telemetry.enrich | boolean | false | |
| telemetry.failureQualitySubjects | integer | 3 | |
| telemetry.failureQualityWindowHours | integer | 24 | |
| telemetry.failureStepCap | integer | 5 | |
| telemetry.failureConfirmRuns | integer | 5 | |
| telemetry.failureConfirmHours | integer | 48 | |
| release | object | {} | |
| release.versioning | off | external | managed | off | |
| release.scheme | semver | calver | semver | |
| release.prefix | string | v | |
| release.bump | patch | minor | patch | |
| release.candidates | boolean | true | |
| release.publish | boolean | true | |
| release.initial | string | 0.1.0 | |
| tests | object | {} | |
| tests.nightly | boolean | false | |
| tests.hourUtc | integer | 7 | |
| tests.environmentId | string | null | null | |
| tests.requireSweepForPromotion | boolean | false | |
| tests.fileFailures | boolean | true | |
| tests.specsInFixes | boolean | true | |
| tests.mutationOnProtected | boolean | false | |
| baseline | object | {} | |
| baseline.onInstall | boolean | true | |
| baseline.depth | standard | thorough | standard | |
| baseline.concurrency | integer | 3 | |
| baseline.openProduct | boolean | true | |
| baseline.delivery | pull_request | report_only | off | pull_request | |
| widget | object | {} | |
| widget.allowedOrigins | string[] | [] | |
| widget.hostRolesAllowed | string[] | ["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
| Field | Type | Default | Description |
|---|---|---|---|
| $schema | string | ||
| id * | string | ||
| type * | changebox/org | ||
| version * | 1 | Schema version of this document, not the store's history number. | |
| identity | object | {} | |
| identity.name | string | ||
| identity.slug | string | ||
| identity.kind | org | client | prospect | org | A Delivery firm's client workspace is `client`; an audit before they are a client is `prospect`. |
| identity.parentOrgId | string | null | null | |
| members | object[] | [] | |
| members[].userId * | string | ||
| members[].role * | owner | admin | operator | approver | member | viewer | ||
| caps | object | {} | |
| caps.launchesPerDay | integer | 20 | |
| caps.concurrent | integer | 2 | |
| caps.runMinutes | integer | 90 | Absolute ceiling; a stuck run is stopped by its no-progress window first. |
| caps.paused | boolean | false | The stop switch. |
| caps.runBounds | object | {} | Per-class no-progress windows and ceilings, in minutes. Absent classes use the defaults. |
| caps.runBounds.windows | object | ||
| caps.runBounds.windows.build | number | ||
| caps.runBounds.windows.review | number | ||
| caps.runBounds.windows.ci-repair | number | ||
| caps.runBounds.windows.verify | number | ||
| caps.runBounds.ceilings | object | ||
| caps.runBounds.ceilings.build | number | ||
| caps.runBounds.ceilings.review | number | ||
| caps.runBounds.ceilings.ci-repair | number | ||
| caps.runBounds.ceilings.verify | number | ||
| caps.runBounds.verifierSignInMinutes | number | ||
| capacity | byo | changebox | byo | byo: the organisation's own Cursor key. changebox: a ChangeBox-held key, metered. |
| keys | object[] | [] | |
| keys[].id * | string | ||
| keys[].kind * | string | ||
| keys[].ref * | string | Reference to the stored ciphertext. | |
| integrations | object[] | [] | |
| integrations[].id * | string | ||
| integrations[].kind * | github_app | hosted_mcp | slack | webhook | linear | jira | Parked kinds (ADR-0018) validate but are not documented. | |
| slack | object | {} | |
| slack.connections | object[] | [] | |
| slack.connections[].id * | string | ||
| slack.connections[].teamId * | string | ||
| slack.connections[].teamName | string | ||
| slack.connections[].default | boolean | false | The workspace unbound apps post into. At most one. |
| slack.connections[].channels | object | {} | |
| slack.connections[].channels.main | object | id `off` silences the stream. | |
| slack.connections[].channels.main.id * | string | ||
| slack.connections[].channels.main.name | string | ||
| slack.connections[].channels.qa | object | id `off` silences the stream. | |
| slack.connections[].channels.qa.id * | string | ||
| slack.connections[].channels.qa.name | string | ||
| slack.connections[].channels.general | object | id `off` silences the stream. | |
| slack.connections[].channels.general.id * | string | ||
| slack.connections[].channels.general.name | string | ||
| slack.connections[].channels.alerts | object | id `off` silences the stream. | |
| slack.connections[].channels.alerts.id * | string | ||
| slack.connections[].channels.alerts.name | string | ||
| slack.connections[].channels.accepted | object | id `off` silences the stream. | |
| slack.connections[].channels.accepted.id * | string | ||
| slack.connections[].channels.accepted.name | string | ||
| brand | object | null | null | White-label for reports prepared in client workspaces. Null = none. |
| brand.name * | string | ||
| brand.logoUrl | string | null | null | |
| brand.accent | string | null | null | |
| brand.continueUrl | string | null | null | |
| brand.continueLabel | string | null | null | |
| clients | string[] | [] | Ids of the client workspaces under this organisation. |
| billing | object | {} | |
| billing.plan | string | free | |
| billing.interval | monthly | annual | null | null | |
| billing.priceCents | integer | null | null | Grandfathered monthly price when it differs from the catalog. |
| billing.internalPro | boolean | false | |
| billing.stripeCustomerId | string | null | null | |
| billing.stripeSubscriptionId | string | null | null |
* required