| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "$id": "prod2u-p4-normal-v3-package-selftest-v1",
- "type": "object",
- "additionalProperties": false,
- "required": [
- "schema", "status", "generated_at", "verification_run_id", "commit",
- "bitstream_sha256", "package_dir", "delivery_mode", "verification_complete",
- "confirmation_td_present", "package_info_sha256", "td_receipt_sha256",
- "confirmation_td_receipt_sha256", "validation_summary_sha256",
- "package_selftest_result_sha256", "td_run_id", "confirmation_td_run_id",
- "synthesis_input_hash", "confirmation_synthesis_input_hash",
- "confirmation_bitstream_sha256", "validation_status", "packaged_selftest_status",
- "package_file_sha256",
- "package_file_manifest_sha256", "bound_files", "failures", "selftest", "safety"
- ],
- "properties": {
- "schema": {"const": "prod2u-p4-normal-v3-package-selftest-v1"},
- "status": {"enum": ["pass", "fail"]},
- "generated_at": {"type": "string", "minLength": 1},
- "verification_run_id": {"type": "string", "pattern": "^[0-9a-f]{32}$"},
- "commit": {"type": ["string", "null"], "pattern": "^[0-9a-f]{8}$"},
- "bitstream_sha256": {"type": ["string", "null"], "pattern": "^[0-9a-f]{64}$"},
- "package_dir": {"type": "string", "minLength": 1},
- "delivery_mode": {"enum": ["normal_dual_td", "urgent_single_td", null]},
- "verification_complete": {"type": ["boolean", "null"]},
- "confirmation_td_present": {"type": ["boolean", "null"]},
- "package_info_sha256": {"type": ["string", "null"], "pattern": "^[0-9a-f]{64}$"},
- "td_receipt_sha256": {"type": ["string", "null"], "pattern": "^[0-9a-f]{64}$"},
- "confirmation_td_receipt_sha256": {"type": ["string", "null"], "pattern": "^[0-9a-f]{64}$"},
- "validation_summary_sha256": {"type": ["string", "null"], "pattern": "^[0-9a-f]{64}$"},
- "package_selftest_result_sha256": {"type": ["string", "null"], "pattern": "^[0-9a-f]{64}$"},
- "td_run_id": {"type": ["string", "null"], "pattern": "^[0-9a-f]{32}$"},
- "confirmation_td_run_id": {"type": ["string", "null"], "pattern": "^[0-9a-f]{32}$"},
- "synthesis_input_hash": {"type": ["string", "null"], "pattern": "^[0-9a-f]{64}$"},
- "confirmation_synthesis_input_hash": {"type": ["string", "null"], "pattern": "^[0-9a-f]{64}$"},
- "confirmation_bitstream_sha256": {"type": ["string", "null"], "pattern": "^[0-9a-f]{64}$"},
- "validation_status": {"enum": ["pass", "fail", "running", "not_run"]},
- "packaged_selftest_status": {"enum": ["pass", "fail", "not_run", null]},
- "package_file_sha256": {"type": "object", "additionalProperties": {"type": "string", "pattern": "^[0-9a-f]{64}$"}},
- "package_file_manifest_sha256": {"type": ["string", "null"], "pattern": "^[0-9a-f]{64}$"},
- "bound_files": {"type": "array", "items": {"type": "string"}, "uniqueItems": true},
- "failures": {"type": "array", "items": {"type": "string"}},
- "selftest": {"type": "object"},
- "safety": {"const": {"opens_serial": false, "programs_hardware": false, "installs_drivers": false}}
- }
- }
|