{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "HotHub Scenario",
  "type": "object",
  "required": [
    "id",
    "title",
    "locality",
    "primaryHazard",
    "compoundingHazard",
    "objectives",
    "modules"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "locality": {
      "type": "string"
    },
    "primaryHazard": {
      "type": "string"
    },
    "compoundingHazard": {
      "type": "string"
    },
    "protocol": {
      "type": "object"
    },
    "nims": {
      "type": "object",
      "properties": {
        "operatingModel": {
          "type": "string"
        },
        "components": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "coordinationRoles": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "evidenceToCapture": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "objectives": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "title",
          "capability",
          "expectedOutputs"
        ]
      }
    },
    "modules": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "title",
          "situation",
          "questions",
          "expectedOutputs"
        ]
      }
    }
  }
}
