{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://torneo.ai/schemas/f_matrix.v1",
  "title": "f_matrix.v1",
  "description": "P-13: acceptance matrix F1 to F5 (each PASS). Shape of the fields check_finalite reads; extra evidence fields are allowed. Dated, not synthetic and bound by sha256 to files of the repository (receipts/gates/<schema>/*.json).",
  "type": "object",
  "required": [
    "schema",
    "synthetic",
    "observed_on",
    "results"
  ],
  "properties": {
    "schema": {
      "const": "f_matrix.v1"
    },
    "synthetic": {
      "type": "boolean",
      "description": "Only false counts (gate_common.read_receipts)."
    },
    "observed_on": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}"
    },
    "results": {
      "type": "object",
      "required": [
        "F1",
        "F2",
        "F3",
        "F4",
        "F5"
      ],
      "properties": {
        "F1": {
          "type": "string"
        },
        "F2": {
          "type": "string"
        },
        "F3": {
          "type": "string"
        },
        "F4": {
          "type": "string"
        },
        "F5": {
          "type": "string"
        }
      }
    }
  }
}
