{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/popp/json-schema/popp-list-candidate-lists-response-schema.json",
  "title": "ListCandidateListsResponse",
  "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/ListCandidateListsResponse",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "description": "Candidate lists in the caller's organization.",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ]
          },
          "owner": {
            "type": [
              "string",
              "null"
            ],
            "format": "email"
          },
          "candidatesCount": {
            "type": "integer"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "id",
          "title",
          "description",
          "externalId",
          "owner",
          "candidatesCount",
          "createdAt",
          "updatedAt"
        ],
        "additionalProperties": false
      }
    },
    "nextToken": {
      "type": [
        "string",
        "null"
      ],
      "description": "Pass back as `nextToken` to fetch the next page. Null when there are no more results."
    }
  },
  "required": [
    "items",
    "nextToken"
  ],
  "additionalProperties": false
}