{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/popp/json-schema/popp-candidate-list-members-request-schema.json",
  "title": "CandidateListMembersRequest",
  "description": "Candidates to add to or remove from a list, addressable by Popp candidate profile id and/or by caller-supplied external id. Provide at least one id across the two fields; the combined total cannot exceed 100.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/popp-candidate-lists-api-openapi.yml#/components/schemas/CandidateListMembersRequest",
  "type": "object",
  "properties": {
    "candidateIds": {
      "type": "array",
      "description": "Candidate profile ids (UUIDs).",
      "maxItems": 100,
      "items": {
        "type": "string",
        "format": "uuid"
      }
    },
    "candidateProfileExternalIds": {
      "type": "array",
      "description": "Candidate profile external ids, resolved to profile ids within the caller's organization. An external id that matches no candidate returns 400.",
      "maxItems": 100,
      "items": {
        "type": "string",
        "pattern": "^[\\w.-]+$",
        "minLength": 1,
        "maxLength": 256
      }
    }
  },
  "additionalProperties": false
}