{
  "$schema" : "https://json-schema.org/draft/2020-12/schema",
  "$id" : "https://voltdb.com/voltsp/schemas/source/collection",
  "title" : "Collection Source Configuration",
  "description" : "The `collection` source generates a stream of data items from an iterable collection.\nIt is useful for testing or for scenarios where data is pre-defined and available in-memory.\n",
  "type" : "object",
  "properties" : {
    "collection" : {
      "type" : "object",
      "properties" : {
        "elements" : {
          "type" : "array",
          "description" : "Elements to emit.",
          "items" : {
            "anyOf" : [ {
              "type" : "string"
            }, {
              "type" : "number"
            }, {
              "type" : "boolean"
            } ]
          }
        }
      },
      "required" : [ "elements" ],
      "additionalProperties" : false
    }
  },
  "required" : [ "collection" ],
  "additionalProperties" : false
}
