receipt.schema.json 1.1 KB

12345678910111213141516171819202122
  1. {
  2. "$schema": "http://json-schema.org/draft-07/schema#",
  3. "$id": "agent-team-receipt.schema.json",
  4. "title": "Agent Team Verification Receipt",
  5. "type": "object",
  6. "required": ["schema", "status", "verification_run_id", "commit", "commit_full", "project_config_sha256", "td_source_manifest_sha256", "command", "tool_version"],
  7. "properties": {
  8. "schema": { "type": "string" },
  9. "status": { "enum": ["pass", "fail", "blocked", "not_run"] },
  10. "verification_run_id": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
  11. "commit": { "type": "string", "pattern": "^[0-9a-f]{7,40}$" },
  12. "commit_full": { "type": "string", "pattern": "^[0-9a-f]{40}$" },
  13. "project_config_sha256": { "type": "string", "pattern": "^[0-9a-f]{64}$" },
  14. "td_source_manifest_sha256": { "type": "string", "pattern": "^[0-9a-f]{64}$" },
  15. "command": { "type": "string" },
  16. "tool_version": { "type": "string" },
  17. "bitstream_sha256": { "type": "string", "pattern": "^[0-9a-f]{64}$" },
  18. "authoritative": { "type": "boolean" },
  19. "placeholder": { "type": "boolean" },
  20. "source_receipt_sha256": { "type": "string", "pattern": "^[0-9a-f]{64}$" }
  21. }
  22. }