{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-workspace/json-schema/google-workspace-list-user-invitations-response-schema.json",
  "title": "ListUserInvitationsResponse",
  "description": "Response message for UserInvitation listing request.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-workspace-cloudidentity-customers-api-openapi.yml#/components/schemas/ListUserInvitationsResponse",
  "properties": {
    "nextPageToken": {
      "description": "The token for the next page. If not empty, indicates that there may be more `UserInvitation` resources that match the listing request; this value can be used in a subsequent ListUserInvitationsRequest to get continued results with the current list call.",
      "type": "string"
    },
    "userInvitations": {
      "items": {
        "$ref": "#/$defs/UserInvitation"
      },
      "description": "The list of UserInvitation resources.",
      "type": "array"
    }
  },
  "type": "object",
  "$defs": {
    "UserInvitation": {
      "properties": {
        "name": {
          "description": "Shall be of the form `customers/{customer}/userinvitations/{user_email_address}`.",
          "type": "string"
        },
        "state": {
          "description": "State of the `UserInvitation`.",
          "type": "string",
          "enum": [
            "STATE_UNSPECIFIED",
            "NOT_YET_SENT",
            "INVITED",
            "ACCEPTED",
            "DECLINED"
          ]
        },
        "mailsSentCount": {
          "format": "int64",
          "type": "string",
          "description": "Number of invitation emails sent to the user."
        },
        "updateTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Time when the `UserInvitation` was last updated."
        }
      },
      "description": "The `UserInvitation` resource represents an email that can be sent to an unmanaged user account inviting them to join the customer's Google Workspace or Cloud Identity account. An unmanaged account shares an email address domain with the Google Workspace or Cloud Identity account but is not managed by it yet. If the user accepts the `UserInvitation`, the user account will become managed.",
      "type": "object"
    }
  }
}