{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://assets.cochrane.org/schema/v1/sof/summary-of-findings.schema.json",
  "title": "SummaryOfFindings",
  "description": "Common representation of GRADE 'Summary of Findings' or 'Evidence Profile' tables for exchange between tools (e.g. GRADEpro GDT, MAGICapp, Cochrane RevMan)",
  "type": "object",
  "$ref": "name-with-identifiers.schema.json",
  "properties": {
    "ci-level": {
      "description": "The level for confidence intervals within this table. Expressed as a proportion.",
      "enum": [
        0.90,
        0.95,
        0.99
      ],
      "default": 0.95
    },
    "population": {
      "$ref": "name-with-identifiers.schema.json"
    },
    "setting": {
      "$ref": "name-with-identifiers.schema.json"
    },
    "intervention": {
      "$ref": "name-with-identifiers.schema.json"
    },
    "comparator": {
      "$ref": "name-with-identifiers.schema.json"
    },
    "outcomes": {
      "type": "array",
      "items": {
        "$ref": "outcome.schema.json"
      }
    }
  },
  "required": [
    "name",
    "population",
    "setting",
    "intervention",
    "comparator",
    "outcomes"
  ]
}