{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/allianz-engagement-survey/refs/heads/main/json-schema/engagement-survey-survey-list-schema.json",
  "title": "SurveyList",
  "description": "Paginated list of engagement surveys",
  "type": "object",
  "properties": {
    "total": {
      "type": "integer",
      "description": "Total number of surveys matching the filter",
      "example": 5
    },
    "offset": {
      "type": "integer",
      "description": "Current pagination offset",
      "example": 0
    },
    "limit": {
      "type": "integer",
      "description": "Maximum number returned per page",
      "example": 20
    },
    "items": {
      "type": "array",
      "description": "List of survey objects",
      "items": {
        "$ref": "#/components/schemas/Survey"
      }
    }
  }
}