{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sendly-now/json-schema/sendly-now-contact-list-response-schema.json",
  "title": "ContactListResponse",
  "description": "Cursor-paginated list of contacts.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sendly-now-contacts-api-openapi.yml#/components/schemas/ContactListResponse",
  "properties": {
    "data": {
      "properties": {
        "data": {
          "items": {
            "$ref": "#/$defs/Contact"
          },
          "type": "array"
        },
        "hasMore": {
          "type": "boolean"
        },
        "nextCursor": {
          "description": "Cursor for the next page, or null on the last page.",
          "type": [
            "string",
            "null"
          ]
        },
        "total": {
          "type": "integer"
        }
      },
      "required": [
        "data",
        "total",
        "nextCursor",
        "hasMore"
      ],
      "type": "object"
    },
    "success": {
      "enum": [
        true
      ],
      "type": "boolean"
    }
  },
  "required": [
    "success",
    "data"
  ],
  "type": "object",
  "$defs": {
    "Contact": {
      "description": "A subscriber/contact within a project.",
      "properties": {
        "createdAt": {
          "description": "ISO 8601 datetime string",
          "format": "date-time",
          "type": "string"
        },
        "customFields": {
          "additionalProperties": {},
          "type": [
            "object",
            "null"
          ]
        },
        "email": {
          "format": "email",
          "type": "string"
        },
        "id": {
          "format": "uuid",
          "type": "string"
        },
        "projectId": {
          "format": "uuid",
          "type": "string"
        },
        "subscribed": {
          "type": "boolean"
        },
        "updatedAt": {
          "description": "ISO 8601 datetime string",
          "format": "date-time",
          "type": "string"
        }
      },
      "required": [
        "id",
        "projectId",
        "email",
        "subscribed",
        "createdAt",
        "updatedAt"
      ],
      "type": "object"
    }
  }
}