{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/insightgenius-io/json-schema/insightgenius-io-generate-tables-config-schema.json",
  "title": "GenerateTablesConfig",
  "description": "Configuration for the Generate Tables wizard.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/insightgenius-io-openapi.json#/components/schemas/GenerateTablesConfig",
  "properties": {
    "banners": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Banners",
      "description": "Banner (column) variables"
    },
    "stubs": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "string"
        }
      ],
      "title": "Stubs",
      "description": "Stub (row) variables or '_all_'",
      "default": "_all_"
    },
    "significance_level": {
      "type": "number",
      "title": "Significance Level",
      "default": 0.95
    },
    "weight": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Weight"
    },
    "segment_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Segment Id"
    },
    "include_means": {
      "type": "boolean",
      "title": "Include Means",
      "default": false
    },
    "include_nets": {
      "type": "boolean",
      "title": "Include Nets",
      "default": false
    },
    "nets": {
      "anyOf": [
        {
          "additionalProperties": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Nets"
    },
    "mrs_groups": {
      "anyOf": [
        {
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Mrs Groups"
    },
    "grid_groups": {
      "anyOf": [
        {
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Grid Groups"
    },
    "custom_groups": {
      "anyOf": [
        {
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Custom Groups"
    },
    "title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Title"
    },
    "single_sheet": {
      "type": "boolean",
      "title": "Single Sheet",
      "default": false
    }
  },
  "type": "object"
}