{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/recall-ai/json-schema/recall-ai-paginated-google-login-group-list-schema.json",
  "title": "PaginatedGoogleLoginGroupList",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/recall-ai-google-login-group-api-openapi.yml#/components/schemas/PaginatedGoogleLoginGroupList",
  "type": "object",
  "properties": {
    "next": {
      "type": [
        "string",
        "null"
      ]
    },
    "previous": {
      "type": [
        "string",
        "null"
      ]
    },
    "results": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GoogleLoginGroup"
      }
    }
  },
  "$defs": {
    "GoogleLogin": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "email": {
          "type": "string",
          "format": "email",
          "description": "The email address of the google account to use for login."
        },
        "is_active": {
          "type": "boolean",
          "description": "If the login should be used for round robin. (default: true)"
        },
        "sso_v2_workspace_domain": {
          "type": "string",
          "description": "The primary domain name of your Google Workspace Account used for SSO."
        },
        "sso_v2_private_key": {
          "type": "string",
          "description": "PEM-formatted private key used for signing SSO requests."
        },
        "sso_v2_cert": {
          "type": "string",
          "description": "PEM-formatted x509 certificate which is registered in your Google Workspace SSO Profile."
        },
        "group_id": {
          "type": "string",
          "format": "uuid",
          "description": "The id of the login group this login belongs to."
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "readOnly": true
        },
        "updated_at": {
          "type": "string",
          "format": "date-time",
          "readOnly": true
        }
      },
      "required": [
        "created_at",
        "email",
        "group_id",
        "id",
        "sso_v2_cert",
        "sso_v2_private_key",
        "sso_v2_workspace_domain",
        "updated_at"
      ]
    },
    "GoogleLoginGroup": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "Name of the login group. It can used to filter out login groups when retrieving them via API.",
          "maxLength": 2000
        },
        "login_mode": {
          "allOf": [
            {
              "$ref": "#/$defs/LoginModeEnum"
            }
          ],
          "description": "Login behaviour of bots that use this login group.\n\n* `always` - Always\n* `only_if_required` - Only If Required"
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "readOnly": true
        },
        "updated_at": {
          "type": "string",
          "format": "date-time",
          "readOnly": true
        },
        "logins": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/GoogleLogin"
          },
          "readOnly": true
        }
      },
      "required": [
        "created_at",
        "id",
        "login_mode",
        "logins",
        "name",
        "updated_at"
      ]
    },
    "LoginModeEnum": {
      "enum": [
        "always",
        "only_if_required"
      ],
      "type": "string",
      "description": "* `always` - Always\n* `only_if_required` - Only If Required"
    }
  }
}