Environment JSON Schema

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "environment schema",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "environment": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "collab_network_type": {
              "type": "string"
            },
            "incumbent_protection": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "center_frequency": {
                    "type": "integer"
                  },
                  "rf_bandwidth": {
                    "type": "integer"
                  }
                }
              }
            },
            "scenario_center_frequency": {
              "type": "integer"
            },
            "scenario_rf_bandwidth": {
              "type": "integer"
            }
          },
          "required": [
            "collab_network_type",
            "scenario_center_frequency",
            "scenario_rf_bandwidth"
          ]
        },
        "maxItems": 1
      },
      "stage_number": {
        "type": "integer"
      },
      "timestamp": {
        "type": "number"
      }
    },
    "required": [
      "environment",
      "stage_number",
      "timestamp"
    ]
  }
}