Diagnostics and remediation / JSON Schema
Doctor Project Scan V2
Defines the versioned doctor project scan v2 boundary used by Workspai and its consumers.
- Schema version
doctor-project-scan-v2- Contract path
contracts/doctor-project-scan.v2.json- Publication
- json-schema
- Defined fields
- 11
- Artifact bindings
- 0
Why this contract exists
Architecture role
Carries structured evidence, findings, and verdicts across governance boundaries.
Consumption boundary
- • Workspai CLI
- • CI and release automation
- • Developers
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 |
|---|---|---|---|---|
| coreInstalled | boolean | Yes | Defines the coreinstalled value at this contract boundary. | — |
| depsInstalled | boolean | Yes | Defines the depsinstalled value at this contract boundary. | — |
| fixCommands | array | No | Defines the fixcommands value at this contract boundary. | — |
| issues | array | Yes | Defines the issues value at this contract boundary. | — |
| name | string | Yes | Defines the name value at this contract boundary. | minLength: 1 |
| path | string | Yes | Defines the path value at this contract boundary. | minLength: 1 |
| probes | array | No | Defines the probes value at this contract boundary. | — |
| projectKind | string | No | Defines the projectkind value at this contract boundary. | — |
| runtimeFamily | string | No | Defines the runtimefamily value at this contract boundary. | — |
| schemaVersion | string | Yes | Defines the schemaversion value at this contract boundary. | const: "doctor-project-scan-v2" |
| venvActive | boolean | Yes | Defines the venvactive value at this contract boundary. | — |
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",
"type": "object",
"required": [
"schemaVersion",
"name",
"path",
"venvActive",
"depsInstalled",
"coreInstalled",
"issues"
],
"properties": {
"schemaVersion": {
"const": "doctor-project-scan-v2"
},
"name": {
"type": "string",
"minLength": 1
},
"path": {
"type": "string",
"minLength": 1
},
"venvActive": {
"type": "boolean"
},
"depsInstalled": {
"type": "boolean"
},
"coreInstalled": {
"type": "boolean"
},
"issues": {
"type": "array",
"items": {
"type": "string"
}
},
"fixCommands": {
"type": "array",
"items": {
"type": "string"
}
},
"runtimeFamily": {
"type": "string"
},
"projectKind": {
"type": "string"
},
"probes": {
"type": "array",
"items": {
"type": "object"
}
}
},
"additionalProperties": true
}