{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Strata benchmark result v1",
  "description": "One end-to-end Strata bench run for a (model, memory target). Peak memory is measured load-through-generation. device_real=false means it was NOT run on a physically constrained target; throughput is then optimistic.",
  "type": "object",
  "required": [
    "schema_version",
    "model",
    "strata",
    "mode",
    "measured_on",
    "workload",
    "memory",
    "throughput",
    "fidelity",
    "honesty"
  ],
  "properties": {
    "schema_version": {
      "const": "1"
    },
    "model": {
      "type": "object"
    },
    "strata": {
      "type": "object"
    },
    "mode": {
      "enum": [
        "streamed",
        "resident"
      ]
    },
    "measured_on": {
      "type": "object"
    },
    "workload": {
      "type": "object"
    },
    "memory": {
      "type": "object"
    },
    "throughput": {
      "type": "object"
    },
    "fidelity": {
      "type": "object"
    },
    "honesty": {
      "type": "object"
    },
    "sample_output": {
      "type": "string"
    }
  }
}