{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/allianz-engagement-survey/json-schema/allianz-engagement-survey-add-participants-response-schema.json",
  "title": "AddParticipantsResponse",
  "description": "Result of adding participants to a survey",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/allianz-engagement-survey-participants-api-openapi.yml#/components/schemas/AddParticipantsResponse",
  "type": "object",
  "properties": {
    "added": {
      "type": "integer",
      "description": "Number of participants successfully added"
    },
    "invitation_sent": {
      "type": "boolean",
      "description": "Whether invitation emails were sent"
    },
    "failed": {
      "type": "integer",
      "description": "Number of employees that could not be added"
    }
  }
}