{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TrendsFilter",
  "title": "TrendsFilter",
  "additionalProperties": false,
  "properties": {
    "aggregationAxisFormat": {
      "default": "numeric",
      "allOf": [
        {
          "$ref": "#/components/schemas/AggregationAxisFormat"
        }
      ],
      "nullable": true
    },
    "aggregationAxisPostfix": {
      "default": null,
      "title": "Aggregationaxispostfix",
      "type": "string",
      "nullable": true
    },
    "aggregationAxisPrefix": {
      "default": null,
      "title": "Aggregationaxisprefix",
      "type": "string",
      "nullable": true
    },
    "breakdown_histogram_bin_count": {
      "default": null,
      "title": "Breakdown Histogram Bin Count",
      "type": "number",
      "nullable": true
    },
    "confidenceLevel": {
      "default": null,
      "title": "Confidencelevel",
      "type": "number",
      "nullable": true
    },
    "decimalPlaces": {
      "default": null,
      "title": "Decimalplaces",
      "type": "number",
      "nullable": true
    },
    "detailedResultsAggregationType": {
      "default": null,
      "description": "detailed results table",
      "allOf": [
        {
          "$ref": "#/components/schemas/DetailedResultsAggregationType"
        }
      ],
      "nullable": true
    },
    "display": {
      "default": "ActionsLineGraph",
      "allOf": [
        {
          "$ref": "#/components/schemas/ChartDisplayType"
        }
      ],
      "nullable": true
    },
    "excludeBoxPlotOutliers": {
      "default": true,
      "title": "Excludeboxplotoutliers",
      "type": "boolean",
      "nullable": true
    },
    "formula": {
      "default": null,
      "title": "Formula",
      "type": "string",
      "nullable": true
    },
    "formulaNodes": {
      "default": null,
      "description": "List of formulas with optional custom names. Takes precedence over formula/formulas if set.",
      "title": "Formulanodes",
      "items": {
        "$ref": "#/components/schemas/TrendsFormulaNode"
      },
      "type": "array",
      "nullable": true
    },
    "formulas": {
      "default": null,
      "title": "Formulas",
      "items": {
        "type": "string"
      },
      "type": "array",
      "nullable": true
    },
    "goalLines": {
      "default": null,
      "description": "Goal Lines",
      "title": "Goallines",
      "items": {
        "$ref": "#/components/schemas/GoalLine"
      },
      "type": "array",
      "nullable": true
    },
    "hiddenLegendIndexes": {
      "default": null,
      "title": "Hiddenlegendindexes",
      "items": {
        "type": "integer"
      },
      "type": "array",
      "nullable": true
    },
    "hideWeekends": {
      "default": false,
      "title": "Hideweekends",
      "type": "boolean",
      "nullable": true
    },
    "minDecimalPlaces": {
      "default": null,
      "title": "Mindecimalplaces",
      "type": "number",
      "nullable": true
    },
    "movingAverageIntervals": {
      "default": null,
      "title": "Movingaverageintervals",
      "type": "number",
      "nullable": true
    },
    "resultCustomizationBy": {
      "default": "value",
      "description": "Wether result datasets are associated by their values or by their order.",
      "allOf": [
        {
          "$ref": "#/components/schemas/ResultCustomizationBy"
        }
      ],
      "nullable": true
    },
    "resultCustomizations": {
      "default": null,
      "description": "Customizations for the appearance of result datasets.",
      "title": "Resultcustomizations",
      "anyOf": [
        {
          "additionalProperties": {
            "$ref": "#/components/schemas/ResultCustomizationByValue"
          },
          "type": "object"
        },
        {
          "additionalProperties": {
            "$ref": "#/components/schemas/ResultCustomizationByPosition"
          },
          "type": "object"
        }
      ],
      "nullable": true
    },
    "showAlertThresholdLines": {
      "default": false,
      "title": "Showalertthresholdlines",
      "type": "boolean",
      "nullable": true
    },
    "showConfidenceIntervals": {
      "default": null,
      "title": "Showconfidenceintervals",
      "type": "boolean",
      "nullable": true
    },
    "showLabelsOnSeries": {
      "default": null,
      "title": "Showlabelsonseries",
      "type": "boolean",
      "nullable": true
    },
    "showLegend": {
      "default": false,
      "title": "Showlegend",
      "type": "boolean",
      "nullable": true
    },
    "showMovingAverage": {
      "default": null,
      "title": "Showmovingaverage",
      "type": "boolean",
      "nullable": true
    },
    "showMultipleYAxes": {
      "default": false,
      "title": "Showmultipleyaxes",
      "type": "boolean",
      "nullable": true
    },
    "showPercentStackView": {
      "default": false,
      "title": "Showpercentstackview",
      "type": "boolean",
      "nullable": true
    },
    "showTrendLines": {
      "default": null,
      "title": "Showtrendlines",
      "type": "boolean",
      "nullable": true
    },
    "showValuesOnSeries": {
      "default": false,
      "title": "Showvaluesonseries",
      "type": "boolean",
      "nullable": true
    },
    "smoothingIntervals": {
      "default": 1,
      "title": "Smoothingintervals",
      "type": "integer",
      "nullable": true
    },
    "yAxisScaleType": {
      "default": "linear",
      "allOf": [
        {
          "$ref": "#/components/schemas/YAxisScaleType"
        }
      ],
      "nullable": true
    }
  },
  "type": "object"
}