{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "StartDaq JSON schema",
  "description": "Describes the properties that controls a data acquisition",
  "definitions": {
    "sourceType": {
      "description": "Describes the properties of a valid data source (primary or metadata)",
      "type": "object",
      "required": [
          "name",
          "rrUri",
          "psUri"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "rrUri": {
          "type": "string"
        },
        "psUri": {
          "type": "string"
        }
      }
    }
  },
  "type": "object",
  "properties": {
    "keywords": {
        "description": "Refer to shared definition",
        "$ref": "definitions.json#/keywordList"
    },
    "awaitInterval": {
        "description": "Rate limiting interval and timeout when awaiting completion for primary data source ",
        "type": "number",
        "minimum": 0
    }
  }
}
