{
  "$schema" : "https://json-schema.org/draft/2020-12/schema",
  "$id" : "https://voltdb.com/voltsp/schemas/sink/singlefile",
  "title" : "Singlefile Sink Configuration",
  "description" : "The `singlefile` sink writes stream items to a single local output file using buffered I/O.\n It ensures data durability by performing an fsync every few lines.\n\nIt requires parallelism to be set to `1` - only a single thread can write to it.\n\nThe file will be created if does not exist, otherwise new elements will be appended to it.\n",
  "type" : "object",
  "properties" : {
    "singlefile" : {
      "type" : "object",
      "properties" : {
        "path" : {
          "type" : "string",
          "description" : "The file to append data to. Cannot be a directory."
        }
      },
      "required" : [ "path" ],
      "additionalProperties" : false
    }
  },
  "required" : [ "singlefile" ],
  "additionalProperties" : false
}
