{
  "type": "array",
  "items": {
    "type": "object",
    "required": [
      "path"
    ],
    "properties": {
      "path": {
        "oneOf": [
          {
            "type": "string",
            "format": "uri-reference"
          },
          {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uri-reference"
            }
          }
        ]
      },
      "encoding": {
        "type": "string",
        "enum": [
          "utf8",
          "binary",
          "hex",
          "ascii"
        ]
      },
      "handlers": {
        "type": "array",
        "items": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "options": {}
              }
            }
          ]
        }
      }
    }
  }
}
