{
  "$schema": "http://json-schema.org/draft-04/schema#",

  "title": "REST API get caps",
  "description": "GET caps result, URI /caps",

  "type": "object",

  "properties": {
    "interface": {
      "description": "Current RDT interface",
      "type": "string",
      "enum": ["msr", "os"]
    },
    "interface_supported": {
      "description": "List of RDT interfaces supported by the system",
      "type": "array",
      "items": {
        "type": "string",
        "enum": ["msr", "os"]
      },
      "uniqueItems": true,
      "minItems": 1
    }
  },
  "required": ["interface", "interface_supported"],
  "additionalProperties": false
}
