{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/InsightThreshold",
  "title": "InsightThreshold",
  "additionalProperties": false,
  "properties": {
    "bounds": {
      "default": null,
      "allOf": [
        {
          "$ref": "#/components/schemas/InsightsThresholdBounds"
        }
      ],
      "nullable": true
    },
    "type": {
      "description": "Whether bounds are compared as absolute values or as percentage change from the previous interval.",
      "allOf": [
        {
          "$ref": "#/components/schemas/InsightThresholdType"
        }
      ]
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}