{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://schema.evidencetoeffect.org/v0.1.0/schemas/case-result.schema.json",
  "title": "EvidenceToEffect Case Result",
  "description": "Non-normative record of a declared synthetic evidence pattern and harness result. It is not a conformance result.",
  "type": "object",
  "required": [
    "case_id",
    "harness_status",
    "semantic_question",
    "interpretation_warning"
  ],
  "properties": {
    "case_id": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "started_utc": {
      "type": "string",
      "format": "date-time"
    },
    "finished_utc": {
      "type": "string",
      "format": "date-time"
    },
    "harness_status": {
      "type": "string",
      "enum": [
        "PASS",
        "FAIL",
        "ERROR",
        "INVALIDATED"
      ]
    },
    "semantic_question": {
      "type": "string"
    },
    "interpretation_warning": {
      "type": "string"
    },
    "evidence": {
      "type": "object"
    },
    "harness_checks": {
      "type": "object"
    }
  },
  "additionalProperties": true
}