{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Data Lab study specification v1",
  "type": "object",
  "required": [
    "schemaVersion",
    "id",
    "title",
    "question",
    "intendedUse",
    "outcome",
    "exposureDefinition",
    "population",
    "comparisons",
    "sourceManifest",
    "dataDictionary",
    "assumptions",
    "executableAnalysis",
    "referenceOutputs",
    "validation",
    "interpretation",
    "limitations",
    "inspiration"
  ],
  "properties": {
    "schemaVersion": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "question": {
      "type": "string"
    },
    "intendedUse": {
      "type": "string"
    },
    "outcome": {
      "type": "string"
    },
    "exposureDefinition": {
      "type": "string"
    },
    "population": {
      "type": "object"
    },
    "comparisons": {
      "type": "object"
    },
    "sourceManifest": {
      "type": "string"
    },
    "dataDictionary": {
      "type": "string"
    },
    "assumptions": {
      "type": "string"
    },
    "executableAnalysis": {
      "type": "object"
    },
    "referenceOutputs": {
      "type": "object"
    },
    "validation": {
      "type": "object"
    },
    "interpretation": {
      "type": "string"
    },
    "limitations": {
      "type": "array"
    },
    "inspiration": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
