{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sendly-now/json-schema/sendly-now-list-v1-list-schema.json",
  "title": "ListV1List",
  "description": "Cursor-paginated list of subscriber lists.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sendly-now-lists-api-openapi.yml#/components/schemas/ListV1List",
  "properties": {
    "data": {
      "items": {
        "$ref": "#/$defs/ListV1"
      },
      "type": "array"
    },
    "has_more": {
      "type": "boolean"
    },
    "next_cursor": {
      "description": "Pass as `after` to fetch the next page. `null` on the last page.",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "data",
    "has_more",
    "next_cursor"
  ],
  "type": "object",
  "$defs": {
    "ListV1": {
      "description": "A subscriber list as exposed on the v1 API.",
      "properties": {
        "confirmation_template_id": {
          "format": "uuid",
          "type": [
            "string",
            "null"
          ]
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "description": {
          "type": [
            "string",
            "null"
          ]
        },
        "double_opt_in": {
          "type": "boolean"
        },
        "id": {
          "format": "uuid",
          "type": "string"
        },
        "member_count": {
          "description": "Memberships in ANY status, including PENDING and UNSUBSCRIBED ones.",
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "redirect_url": {
          "type": [
            "string",
            "null"
          ]
        },
        "updated_at": {
          "format": "date-time",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name",
        "description",
        "double_opt_in",
        "confirmation_template_id",
        "redirect_url",
        "member_count",
        "created_at",
        "updated_at"
      ],
      "type": "object"
    }
  }
}