{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://grandproject.local/schemas/documentation-round-ledger.schema.json",
"title": "Grand Project Documentation Round Ledger",
"type": "object",
"additionalProperties": false,
"required": [
"version",
"lastUpdated",
"currentDocumentationThroughRound",
"currentDocumentationThroughSourceRun",
"latestSuccessfulDocumentationUpdateId",
"roundIdentityRule",
"allowedDocumentationRoots",
"helperRole",
"gatePolicyPath",
"currentGateState",
"updates",
"revisions",
"verificationEvents",
"reviewRequiredItems",
"notes"
],
"properties": {
"version": {
"type": "integer",
"minimum": 1
},
"lastUpdated": {
"type": "string"
},
"currentDocumentationThroughRound": {
"type": [
"string",
"null"
]
},
"currentDocumentationThroughSourceRun": {
"type": [
"string",
"null"
]
},
"latestSuccessfulDocumentationUpdateId": {
"type": [
"string",
"null"
]
},
"roundIdentityRule": {
"type": "string"
},
"allowedDocumentationRoots": {
"type": "array",
"items": {
"type": "string"
}
},
"helperRole": {
"type": "object",
"additionalProperties": false,
"required": [
"name",
"minionId",
"branch",
"worktree",
"writeBoundary"
],
"properties": {
"name": {
"type": "string"
},
"minionId": {
"type": "string"
},
"branch": {
"type": "string"
},
"worktree": {
"type": "string"
},
"writeBoundary": {
"type": "string"
}
}
},
"gatePolicyPath": {
"type": "string"
},
"currentGateState": {
"type": "object",
"additionalProperties": false,
"required": [
"documentationGateStatus",
"latestCompletedSourceRun",
"documentationCurrentThroughSourceRun",
"documentationTargetSourceRuns",
"documentationHelperExecutionIds",
"documentationUpdateIds",
"documentationManifestPaths",
"documentationChangedDocuments",
"documentationValidationStatus",
"documentationWarnings",
"documentationReviewItems",
"canonicalDashboardUrl"
],
"properties": {
"documentationGateStatus": {
"type": "string"
},
"latestCompletedSourceRun": {
"type": [
"string",
"null"
]
},
"documentationCurrentThroughSourceRun": {
"type": [
"string",
"null"
]
},
"documentationTargetSourceRuns": {
"type": "array",
"items": {
"type": "string"
}
},
"documentationHelperExecutionIds": {
"type": "array",
"items": {
"type": "string"
}
},
"documentationUpdateIds": {
"type": "array",
"items": {
"type": "string"
}
},
"documentationManifestPaths": {
"type": "array",
"items": {
"type": "string"
}
},
"documentationChangedDocuments": {
"type": "array",
"items": {
"type": "string"
}
},
"documentationValidationStatus": {
"type": "string"
},
"documentationWarnings": {
"type": "array",
"items": {
"type": "string"
}
},
"documentationReviewItems": {
"type": "array",
"items": {
"type": "string"
}
},
"canonicalDashboardUrl": {
"type": "string"
}
}
},
"updates": {
"type": "array",
"items": {
"type": "object"
}
},
"revisions": {
"type": "array",
"items": {
"type": "object"
}
},
"verificationEvents": {
"type": "array",
"items": {
"type": "object"
}
},
"reviewRequiredItems": {
"type": "array",
"items": {
"type": "string"
}
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
}
}
}