{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/coderpad/json-schema/coderpad-send-parameters-schema.json",
  "title": "SendParameters",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/coderpad-campaigns-api-openapi.yml#/components/schemas/SendParameters",
  "type": "object",
  "properties": {
    "candidate_email": {
      "type": "string",
      "description": "email of the candidate, if not provided nothing will be sent to the candidate"
    },
    "candidate_name": {
      "type": "string",
      "description": "name of the candidate"
    },
    "recruiter_email": {
      "type": "string",
      "description": "email of the recruiter who will receive the test result"
    },
    "tags": {
      "type": "string",
      "description": "tags for this test separated by comma"
    },
    "send_invitation_email": {
      "type": "boolean",
      "description": "whether send an invitation email to the candidate or not, must not be true if 'candidate_email' is null. 'send_invitation_email' is true by default when 'candidate_email' is provided and false otherwise"
    },
    "send_notification_email_on_bounce": {
      "type": "boolean",
      "description": "whether to send an email to the recruiter when the candidate's invitation bounces (for example, when the candidate's email is rejected by the server) or not",
      "default": false
    },
    "allow_duplicate_invitations": {
      "type": "boolean",
      "default": true
    }
  }
}