All contracts

Platform contracts / JSON Schema

Bootstrap Compliance V1

Defines the versioned bootstrap compliance v1 boundary used by Workspai and its consumers.

Schema version
bootstrap-compliance.v1
Contract path
contracts/bootstrap-compliance.v1.json
Publication
synced-supporting-contract
Defined fields
5
Artifact bindings
1

Why this contract exists

Architecture role

Defines a versioned interoperability boundary used by Workspai and contract-aware consumers.

Consumption boundary

  • Workspai CLI
  • Contract-aware integrations

Related commands

Commands are linked only when the runtime contract identifies a direct production relationship. Supporting contracts may be consumed without having a single producer command.

Produced artifacts

These durable files are emitted by registered commands and validated against this contract.

Artifact pathSchemaProducer
.workspai/reports/bootstrap-compliance.latest.jsonbootstrap-compliance.v1
workspai bootstrap

Field reference

Every declared schema property or published capability path is listed here. Required means the contract declares or publishes that field at the shown boundary.

Field pathTypeRequiredMeaningConstraints
checksarrayYesDefines the checks value at this contract boundary.
commandstringYesDefines the command value at this contract boundary.const: "bootstrap"
resultenumYesDefines the result value at this contract boundary.enum: ok, ok_with_warnings, blocked, failed
schemaVersionstringYesDefines the schemaversion value at this contract boundary.const: "bootstrap-compliance.v1"
timestampstringYesDefines the timestamp value at this contract boundary.format: date-time

Canonical machine-readable definition

The raw synchronized contract remains authoritative. The educational sections above are projections of this definition.

Show raw JSON
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://getrapidkit.com/schemas/bootstrap-compliance.v1.json",
  "type": "object",
  "required": [
    "schemaVersion",
    "command",
    "timestamp",
    "result",
    "checks"
  ],
  "properties": {
    "schemaVersion": {
      "const": "bootstrap-compliance.v1"
    },
    "command": {
      "const": "bootstrap"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time"
    },
    "result": {
      "enum": [
        "ok",
        "ok_with_warnings",
        "blocked",
        "failed"
      ]
    },
    "checks": {
      "type": "array",
      "items": {
        "type": "object"
      }
    }
  },
  "additionalProperties": true
}