Files
artifact-store/schemas/guide-board.run.v1.json

43 lines
1.1 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "artifactstore:schemas:guide-board.run.v1",
"title": "Guide-board run metadata",
"type": "object",
"additionalProperties": false,
"required": [
"run_id",
"target_profile_ref",
"assessment_profile_ref",
"result_status",
"source_commits",
"report_paths",
"evidence_counts",
"finding_counts"
],
"properties": {
"run_id": { "type": "string", "minLength": 1 },
"target_profile_ref": { "type": "string", "minLength": 1 },
"assessment_profile_ref": { "type": "string", "minLength": 1 },
"result_status": { "type": "string", "minLength": 1 },
"source_commits": {
"type": "object",
"additionalProperties": {
"type": "string",
"minLength": 7
}
},
"report_paths": {
"type": "array",
"items": { "type": "string", "minLength": 1 }
},
"evidence_counts": {
"type": "object",
"additionalProperties": { "type": "integer", "minimum": 0 }
},
"finding_counts": {
"type": "object",
"additionalProperties": { "type": "integer", "minimum": 0 }
}
}
}