{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/InsightVizNode",
  "title": "InsightVizNode",
  "additionalProperties": false,
  "properties": {
    "embedded": {
      "default": null,
      "description": "Query is embedded inside another bordered component",
      "title": "Embedded",
      "type": "boolean",
      "nullable": true
    },
    "full": {
      "default": null,
      "description": "Show with most visual options enabled. Used in insight scene.",
      "title": "Full",
      "type": "boolean",
      "nullable": true
    },
    "hidePersonsModal": {
      "default": null,
      "title": "Hidepersonsmodal",
      "type": "boolean",
      "nullable": true
    },
    "hideTooltipOnScroll": {
      "default": null,
      "title": "Hidetooltiponscroll",
      "type": "boolean",
      "nullable": true
    },
    "kind": {
      "default": "InsightVizNode",
      "title": "Kind",
      "type": "string",
      "enum": [
        "InsightVizNode"
      ]
    },
    "showCorrelationTable": {
      "default": null,
      "title": "Showcorrelationtable",
      "type": "boolean",
      "nullable": true
    },
    "showFilters": {
      "default": null,
      "title": "Showfilters",
      "type": "boolean",
      "nullable": true
    },
    "showHeader": {
      "default": null,
      "title": "Showheader",
      "type": "boolean",
      "nullable": true
    },
    "showLastComputation": {
      "default": null,
      "title": "Showlastcomputation",
      "type": "boolean",
      "nullable": true
    },
    "showLastComputationRefresh": {
      "default": null,
      "title": "Showlastcomputationrefresh",
      "type": "boolean",
      "nullable": true
    },
    "showResults": {
      "default": null,
      "title": "Showresults",
      "type": "boolean",
      "nullable": true
    },
    "showTable": {
      "default": null,
      "title": "Showtable",
      "type": "boolean",
      "nullable": true
    },
    "source": {
      "discriminator": {
        "mapping": {
          "FunnelsQuery": "#/components/schemas/FunnelsQuery",
          "LifecycleQuery": "#/components/schemas/LifecycleQuery",
          "PathsQuery": "#/components/schemas/PathsQuery",
          "RetentionQuery": "#/components/schemas/RetentionQuery",
          "StickinessQuery": "#/components/schemas/StickinessQuery",
          "TrendsQuery": "#/components/schemas/TrendsQuery",
          "WebOverviewQuery": "#/components/schemas/WebOverviewQuery",
          "WebStatsTableQuery": "#/components/schemas/WebStatsTableQuery"
        },
        "propertyName": "kind"
      },
      "oneOf": [
        {
          "$ref": "#/components/schemas/TrendsQuery"
        },
        {
          "$ref": "#/components/schemas/FunnelsQuery"
        },
        {
          "$ref": "#/components/schemas/RetentionQuery"
        },
        {
          "$ref": "#/components/schemas/PathsQuery"
        },
        {
          "$ref": "#/components/schemas/StickinessQuery"
        },
        {
          "$ref": "#/components/schemas/LifecycleQuery"
        },
        {
          "$ref": "#/components/schemas/WebStatsTableQuery"
        },
        {
          "$ref": "#/components/schemas/WebOverviewQuery"
        }
      ],
      "title": "Source"
    },
    "suppressSessionAnalysisWarning": {
      "default": null,
      "title": "Suppresssessionanalysiswarning",
      "type": "boolean",
      "nullable": true
    },
    "version": {
      "default": null,
      "description": "version of the node, used for schema migrations",
      "title": "Version",
      "type": "number",
      "nullable": true
    },
    "vizSpecificOptions": {
      "default": null,
      "allOf": [
        {
          "$ref": "#/components/schemas/VizSpecificOptions"
        }
      ],
      "nullable": true
    }
  },
  "required": [
    "source"
  ],
  "type": "object"
}