prod2u_p4_normal_v3_td_build_receipt.schema.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "$schema": "https://json-schema.org/draft/2020-12/schema",
  3. "$id": "prod2u-p4-normal-v3-td-build-receipt-v2",
  4. "type": "object",
  5. "required": [
  6. "schema",
  7. "status",
  8. "verification_run_id",
  9. "run_id",
  10. "commit_full",
  11. "bitstream_sha256"
  12. ],
  13. "properties": {
  14. "schema": {
  15. "enum": [
  16. "prod2u-p4-normal-v3-td-build-receipt-v2",
  17. "prod2u-p4-normal-v3-td-build-receipt-v1"
  18. ]
  19. },
  20. "status": {
  21. "enum": [
  22. "pass",
  23. "fail",
  24. "blocked",
  25. "not_run"
  26. ]
  27. },
  28. "verification_run_id": {
  29. "type": "string",
  30. "minLength": 8
  31. },
  32. "run_id": {
  33. "type": "string",
  34. "minLength": 8
  35. },
  36. "commit": {
  37. "type": "string",
  38. "pattern": "^[0-9a-f]{7,64}$"
  39. },
  40. "commit_full": {
  41. "type": "string",
  42. "pattern": "^[0-9a-f]{40}$"
  43. },
  44. "commit_short": {
  45. "type": "string",
  46. "pattern": "^[0-9a-f]{7,16}$"
  47. },
  48. "bitstream_sha256": {
  49. "type": "string",
  50. "pattern": "^[0-9a-f]{64}$"
  51. },
  52. "work_root": {
  53. "type": "string",
  54. "pattern": "^([A-Za-z]:[\\\\/]|/)"
  55. },
  56. "resources": {
  57. "type": "object"
  58. },
  59. "timing": {
  60. "type": "object"
  61. },
  62. "tool_version": {
  63. "type": [
  64. "string",
  65. "object"
  66. ]
  67. },
  68. "safety": {
  69. "type": "object"
  70. },
  71. "structural_gate": {
  72. "type": "object"
  73. },
  74. "measurement_artifacts": {
  75. "type": "object"
  76. },
  77. "hardware_validation": {
  78. "type": "string"
  79. }
  80. },
  81. "additionalProperties": true
  82. }