| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "$id": "prod2u-p4-normal-v3-resource-baseline-v3",
- "type": "object",
- "additionalProperties": false,
- "required": [
- "schema",
- "profile",
- "runtime_profile",
- "device",
- "status",
- "policy",
- "architecture",
- "measurement"
- ],
- "properties": {
- "schema": {"const": "prod2u-p4-normal-v3-resource-baseline-v3"},
- "profile": {"const": "prod2u_p4_normal_v3"},
- "runtime_profile": {"const": "prod2u-p4-normal-actuator-binary921-v3"},
- "device": {"const": "EF2L45BG256B"},
- "status": {"enum": ["pending_measurement", "measured"]},
- "policy": {
- "const": {"mode": "advisory_only", "affects_build_status": false}
- },
- "architecture": {
- "type": "object",
- "required": ["io", "dsp", "bram9k", "bram32k", "bram128k", "bram256k"],
- "properties": {
- "io": {"const": 43},
- "dsp": {"type": "integer", "minimum": 0},
- "bram9k": {"type": "integer", "minimum": 0},
- "bram32k": {"type": "integer", "minimum": 0},
- "bram128k": {"type": "integer", "minimum": 0},
- "bram256k": {"type": "integer", "minimum": 0}
- },
- "additionalProperties": false
- },
- "measurement": {
- "type": "object",
- "required": ["required_clean_builds", "aggregation", "reason"],
- "properties": {
- "required_clean_builds": {"const": 2},
- "aggregation": {"const": "min_max_envelope"},
- "reason": {"type": "string", "minLength": 1}
- },
- "additionalProperties": true
- },
- "measured_commit": {"type": "string", "pattern": "^[0-9a-f]{8}$"},
- "synthesis_input_hash": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
- "envelope": {"type": "object"}
- },
- "allOf": [
- {
- "if": {"properties": {"status": {"const": "measured"}}},
- "then": {"required": ["measured_commit", "synthesis_input_hash", "envelope"]}
- }
- ]
- }
|