final_gate_v2_receipt.schema.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "$schema": "https://json-schema.org/draft/2020-12/schema",
  3. "$id": "final_gate_v2_receipt.schema.json",
  4. "title": "Final gate v2 receipt",
  5. "type": "object",
  6. "required": ["schema", "status", "layers", "authority_boundary"],
  7. "properties": {
  8. "schema": { "const": "final-gate-v2-receipt-v1" },
  9. "status": { "const": "pass" },
  10. "layers": {
  11. "type": "object",
  12. "required": ["static", "model", "replay", "rtl_sim", "formal", "detector_selftest", "td_build", "uart_strict"],
  13. "properties": {
  14. "static": {
  15. "type": "object",
  16. "required": ["status"],
  17. "properties": { "status": { "const": "pass" } },
  18. "additionalProperties": true
  19. },
  20. "model": {
  21. "type": "object",
  22. "required": ["status"],
  23. "properties": { "status": { "const": "pass" } },
  24. "additionalProperties": true
  25. },
  26. "replay": {
  27. "type": "object",
  28. "required": ["status"],
  29. "properties": { "status": { "const": "pass" } },
  30. "additionalProperties": true
  31. },
  32. "rtl_sim": {
  33. "type": "object",
  34. "required": ["status"],
  35. "properties": { "status": { "const": "pass" } },
  36. "additionalProperties": true
  37. },
  38. "formal": {
  39. "type": "object",
  40. "required": ["status"],
  41. "properties": { "status": { "const": "pass" } },
  42. "additionalProperties": true
  43. },
  44. "detector_selftest": {
  45. "type": "object",
  46. "required": ["status"],
  47. "properties": { "status": { "const": "pass" } },
  48. "additionalProperties": true
  49. },
  50. "td_build": {
  51. "type": "object",
  52. "required": ["status"],
  53. "properties": { "status": { "const": "pass" } },
  54. "additionalProperties": true
  55. },
  56. "uart_strict": {
  57. "type": "object",
  58. "required": ["status"],
  59. "properties": { "status": { "const": "pass" } },
  60. "additionalProperties": true
  61. }
  62. },
  63. "additionalProperties": false,
  64. "$comment": "ChipWatcher and all other undeclared layers are intentionally rejected by schema and validator.",
  65. "not": {
  66. "required": ["chipwatcher"]
  67. }
  68. },
  69. "authority_boundary": { "type": "string" }
  70. },
  71. "additionalProperties": true
  72. }