{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--split_stacks.json",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/plugin/split_stacks.json",
    "sourceSha256": "0dbc8e86dbb80151879113aca81b5b7372cd2b11a43bed81ce54d23b08946326"
  },
  "type": "object",
  "id": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/plugin/split_stacks.json",
  "schema": "https://json-schema.org/draft-07/schema#",
  "required": [
    "SplitStacks"
  ],
  "additionalProperties": false,
  "SplitStacks": {
    "type": "object",
    "properties": {
      "nestedStackCount": {
        "type": "number",
        "maximum": 200,
        "default": 20,
        "description": "Controls the number of created nested stacks"
      },
      "perFunction": {
        "type": "boolean",
        "default": true
      },
      "perType": {
        "type": "boolean",
        "default": false
      },
      "perGroupFunction": {
        "type": "boolean",
        "default": false
      },
      "stackConcurrency": {
        "description": "Controls if enabled and how much stacks are deployed in parallel. Disabled if absent.",
        "type": "number"
      },
      "resourceConcurrency": {
        "type": "number",
        "description": "Controls how much resources are deployed in parallel. Disabled if absent."
      },
      "custom": {
        "type": "string",
        "description": "If you want to pass path to your splitter directly"
      }
    }
  }
}
