{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$ref": "#/definitions/SetupAgentsCanvasStatusResult",
  "definitions": {
    "SetupAgentsCanvasStatusResult": {
      "type": "object",
      "properties": {
        "canvases": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "state": {
                "type": "string",
                "enum": ["symlink-ok", "symlink-wrong", "regular", "missing"]
              }
            },
            "required": ["name", "state"],
            "additionalProperties": false
          }
        },
        "orphans": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "cacheDir": {
          "type": "string"
        },
        "cwd": {
          "type": "string"
        }
      },
      "required": ["canvases", "orphans", "cacheDir", "cwd"],
      "additionalProperties": false
    }
  }
}
