Workspace operations / JSON Schema
Workspai Project Workspace Resolution
Machine-readable result of resolving or repairing a project's canonical Workspai workspace binding.
- Schema version
project-workspace-resolution.v1- Contract path
contracts/project-workspace-resolution.v1.json- Publication
- json-schema
- Defined fields
- 8
- Artifact bindings
- 0
Why this contract exists
Architecture role
Defines a versioned interoperability boundary used by Workspai and contract-aware consumers.
Consumption boundary
- • Workspai CLI
- • Workspace Intelligence consumers
- • IDEs and agents
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.
This is a supporting, capability, cache, compatibility, or consumer contract. It has no single direct producer command in the canonical Workspace Intelligence execution registry.
Produced artifacts
These durable files are emitted by registered commands and validated against this contract.
No canonical file artifact is registered for this contract. It may describe capabilities, embedded data, runtime exchange, or supporting state instead of a standalone report.
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 path | Type | Required | Meaning | Constraints |
|---|---|---|---|---|
| linkPath | string | Yes | Defines the linkpath value at this contract boundary. | minLength: 1 |
| nextCommand | string | Yes | Defines the nextcommand value at this contract boundary. | minLength: 1 |
| projectPath | string | Yes | Defines the projectpath value at this contract boundary. | minLength: 1 |
| recovered | boolean | Yes | Defines the recovered value at this contract boundary. | — |
| schemaVersion | string | Yes | Defines the schemaversion value at this contract boundary. | const: "project-workspace-resolution.v1" |
| source | enum | Yes | Defines the source value at this contract boundary. | enum: explicit, parent, local-link, registry |
| status | string | Yes | Defines the status value at this contract boundary. | const: "resolved" |
| workspacePath | string | Yes | Defines the workspacepath value at this contract boundary. | minLength: 1 |
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://workspai.dev/schemas/project-workspace-resolution.v1.json",
"title": "Workspai Project Workspace Resolution",
"description": "Machine-readable result of resolving or repairing a project's canonical Workspai workspace binding.",
"type": "object",
"required": [
"schemaVersion",
"status",
"workspacePath",
"projectPath",
"source",
"recovered",
"linkPath",
"nextCommand"
],
"properties": {
"schemaVersion": {
"const": "project-workspace-resolution.v1"
},
"status": {
"const": "resolved"
},
"workspacePath": {
"type": "string",
"minLength": 1
},
"projectPath": {
"type": "string",
"minLength": 1
},
"source": {
"enum": [
"explicit",
"parent",
"local-link",
"registry"
]
},
"recovered": {
"type": "boolean"
},
"linkPath": {
"type": "string",
"minLength": 1
},
"nextCommand": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}