{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://schema.evidencetoeffect.org/v0.1.0/schemas/closure-manifest.schema.json",
  "title": "EvidenceToEffect Wave Closure Manifest",
  "type": "object",
  "required": [
    "programme",
    "wave",
    "title",
    "closure_date",
    "status",
    "package",
    "valid_runs",
    "claim_boundary"
  ],
  "properties": {
    "programme": {
      "type": "string"
    },
    "wave": {
      "type": [
        "integer",
        "string"
      ]
    },
    "title": {
      "type": "string"
    },
    "closure_date": {
      "type": "string",
      "format": "date"
    },
    "status": {
      "type": "string"
    },
    "package": {
      "type": "object"
    },
    "valid_runs": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "cases": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "invalidated_runs": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "claim_boundary": {
      "type": "string"
    },
    "next_phase": {
      "type": "string"
    }
  },
  "additionalProperties": true
}