{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "id": "/",
  "type": "array",
  "items": {
    "id": "1",
    "type": "object",
    "properties": {
      "begin": {
        "id": "begin",
        "description": "Time in RFC3339 format when this incident started.",
        "type": "string"
      },
      "created": {
        "id": "created",
        "description": "Time RFC3339 format when the entry was created.",
        "type": "string"
      },
      "end": {
        "id": "end",
        "description": "Time RFC3339 format when this incident ended.",
        "type": "string"
      },
      "external_desc": {
        "id": "external_desc",
        "description": "Title for this incident.",
        "type": "string"
      },
      "modified": {
        "id": "modified",
        "type": "string"
      },
      "most-recent-update": {
        "id": "most-recent-update",
        "description": "The most recent update for this incident.",
        "type": "object",
        "properties": {
          "created": {
            "id": "created",
            "type": "string"
          },
          "modified": {
            "id": "modified",
            "type": "string"
          },
          "text": {
            "id": "text",
            "description": "Text message for this update.",
            "type": "string"
          },
          "when": {
            "id": "when",
            "description": "Time when this update was sent out.",
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "number": {
        "id": "number",
        "description": "Unique identifier for this incident.",
        "type": "integer"
      },
      "public": {
        "id": "public",
        "type": "boolean"
      },
      "service_key": {
        "id": "service_key",
        "description": "Unique ID for the service this incident belongs to.",
        "type": "string"
      },
      "service_name": {
        "id": "service_name",
        "description": "Name of the service this incident belongs to.",
        "type": "string"
      },
      "severity": {
        "id": "severity",
        "description": "The severity of this incident (high, medium or low).",
        "type": "string"
      },
      "updates": {
        "id": "updates",
        "type": "array",
        "items": {
          "id": "1",
          "type": "object",
          "properties": {
            "created": {
              "id": "created",
              "type": "string"
            },
            "modified": {
              "id": "modified",
              "type": "string"
            },
            "text": {
              "id": "text",
              "description": "Text message for this update.",
              "type": "string"
            },
            "when": {
              "id": "when",
              "description": "Time when this update was sent out.",
              "type": "string"
            }
          },
          "additionalProperties": false
        }
      },
      "uri": {
        "id": "uri",
        "description": "URI for this incident on the Status Dashboard.",
        "type": "string"
      }
    },
    "additionalProperties": false
  }
}
