{
  "$id": "https://spacemesh.io/bootstrap.schema.json.1.0",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "epoch data for bootstrapping and fallback",
  "properties": {
    "data": {
      "properties": {
        "epoch": {
          "properties": {
            "activeSet": {
              "description": "the set of ATXs for hare protocol in this epoch",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ],
              "uniqueItems": true
            },
            "beacon": {
              "description": "the random beacon value for this epoch",
              "minLength": 8,
              "type": "string"
            },
            "number": {
              "description": "epoch number",
              "minimum": 0,
              "type": "integer"
            }
          },
          "type": "object"
        }
      },
      "required": [
        "epoch"
      ],
      "type": "object"
    },
    "version": {
      "description": "version of the checkpoint file. should be compatible schema's $id",
      "type": "string"
    }
  },
  "required": [
    "version",
    "data"
  ],
  "title": "epoch data",
  "type": "object"
}