{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SurveyEventsConditionSchema",
  "title": "SurveyEventsConditionSchema",
  "type": "object",
  "properties": {
    "repeatedActivation": {
      "type": "boolean",
      "description": "Whether to show the survey every time one of the events is triggered (true), or just once (false)."
    },
    "values": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/SurveyConditionEventValueSchema"
      },
      "description": "Array of event names that trigger the survey."
    }
  }
}