| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "$id": "cpld_bmc_acceptance_v1_receipt.schema.json",
- "title": "CPLD BMC acceptance v1 receipt",
- "type": "object",
- "required": ["schema", "status", "layers", "authority_boundary"],
- "properties": {
- "schema": { "const": "cpld-bmc-acceptance-v1-receipt-v1" },
- "status": { "const": "pass" },
- "layers": {
- "type": "object",
- "required": ["final_gate_v2", "real_bmc_j6_windows_gate_v2"],
- "properties": {
- "final_gate_v2": {
- "type": "object",
- "required": ["status", "receipt"],
- "properties": {
- "status": { "const": "pass" },
- "receipt": { "$ref": "#/$defs/artifact" }
- },
- "additionalProperties": true
- },
- "real_bmc_j6_windows_gate_v2": {
- "type": "object",
- "required": ["status", "receipt"],
- "properties": {
- "status": { "const": "pass" },
- "receipt": { "$ref": "#/$defs/artifact" }
- },
- "additionalProperties": true
- }
- },
- "additionalProperties": false
- },
- "authority_boundary": { "type": "string", "minLength": 1 }
- },
- "additionalProperties": true,
- "$defs": {
- "artifact": {
- "type": "object",
- "required": ["path", "sha256"],
- "properties": {
- "path": { "type": "string", "minLength": 1 },
- "sha256": { "$ref": "#/$defs/sha256" }
- },
- "additionalProperties": true
- },
- "sha256": {
- "type": "string",
- "pattern": "^[0-9a-fA-F]{64}$"
- }
- }
- }
|