{
  "$id": "https://guaix.fis.ucm.es/numina/oblock-schema.json",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "DRP",
  "description": "Describe numina oblock files",
  "type": "array",
  "items": {
    "$ref": "#/definitions/oblock_ext"
  },
  "definitions": {
    "oblock_ext": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "instrument": {
          "type": "string"
        },
        "mode": {
          "type": "string"
        },
        "frames": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "enabled": {
          "type": "boolean"
        },
        "requirements": {
          "type": "object"
        }
      },
      "required": ["id", "instrument", "mode"]
    }
  }
}
