{
  "openapi": "3.0.4",
  "info": {
    "title": "Beamable API",
    "contact": {
      "name": "Beamable Support",
      "url": "https://beamable.com/contact-us",
      "email": "support@beamable.com"
    },
    "version": "1.0",
    "x-beamable-semantic-type": "Semantic type information for use in automatic SDK generation"
  },
  "servers": [
    {
      "url": "https://api.beamable.com"
    }
  ],
  "paths": {
    "/api/accounts/me": {
      "get": {
        "tags": [
          "Account"
        ],
        "summary": "The caller's own account, as seen from the current realm.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountPlayerView"
                }
              }
            }
          },
          "403": {
            "description": "No account, or no player in this realm."
          }
        }
      },
      "put": {
        "tags": [
          "Account"
        ],
        "summary": "Update the caller's own profile: name, country, language, a device id, or a third\nparty proven by its token.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountUpdate"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountUpdate"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AccountUpdate"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountPlayerView"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/accounts/me/register": {
      "post": {
        "tags": [
          "Account"
        ],
        "summary": "Give the caller's account an email and password. An account registers once.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountRegistration"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountRegistration"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AccountRegistration"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountPlayerView"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/accounts/me/email": {
      "post": {
        "tags": [
          "Account"
        ],
        "summary": "Start moving the caller's account to a new email: mails that address a code to\nconfirm with.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EmailUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/EmailUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/EmailUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyMessage"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Account"
        ],
        "summary": "Finish moving the caller's account to a new email, with the mailed code and the\naccount's password.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EmailUpdateConfirmation"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/EmailUpdateConfirmation"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/EmailUpdateConfirmation"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyMessage"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/accounts/signup": {
      "post": {
        "tags": [
          "Account"
        ],
        "summary": "Sign up with an email and password or a federated provider's token, and get tokens\nfor the new player. An account another realm already knows by those credentials\ngains a player here instead. Needs no token.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SignupRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SignupRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SignupRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignupResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/accounts/password": {
      "post": {
        "tags": [
          "Account"
        ],
        "summary": "Mail a password reset code to the account registered with an email. Needs no\ntoken.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PasswordResetRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PasswordResetRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PasswordResetRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyMessage"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Account"
        ],
        "summary": "Set a new password with a mailed reset code. Needs no token.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PasswordResetConfirmation"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PasswordResetConfirmation"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PasswordResetConfirmation"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyMessage"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/accounts/me/external-identities": {
      "post": {
        "tags": [
          "Account"
        ],
        "summary": "Attach the identity a federated login provider vouches for to the caller's\naccount. The provider may answer with a challenge: solve it and send it back with\nthe same token.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExternalIdentityRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ExternalIdentityRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ExternalIdentityRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AttachExternalIdentityResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Account"
        ],
        "summary": "Detach an external identity from the caller's account.",
        "parameters": [
          {
            "name": "providerService",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "providerNamespace",
            "in": "query",
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommonResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/accounts/me/third-party": {
      "delete": {
        "tags": [
          "Account"
        ],
        "summary": "Remove the third party behind a provider token from the caller's account.",
        "parameters": [
          {
            "name": "thirdParty",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "token",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountPlayerView"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/accounts/me/devices": {
      "delete": {
        "tags": [
          "Account"
        ],
        "summary": "Remove device ids from the caller's account; with none given, remove them all.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveDevicesRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveDevicesRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveDevicesRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountPlayerView"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/accounts/{accountId}": {
      "put": {
        "tags": [
          "Account"
        ],
        "summary": "Update any account in the customer, privileged ones excepted.",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AdminAccountUpdate"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AdminAccountUpdate"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AdminAccountUpdate"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Account"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Account"
        ],
        "summary": "One account by its id. For services.",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Account"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Account"
        ],
        "summary": "Delete an account. For services.",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyMessage"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/accounts/{accountId}/register": {
      "post": {
        "tags": [
          "Account"
        ],
        "summary": "Give an account an email and password, privileged ones excepted. For services.",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountRegistration"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountRegistration"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AccountRegistration"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Account"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/accounts/{accountId}/third-party": {
      "delete": {
        "tags": [
          "Account"
        ],
        "summary": "Remove a third-party association from an account, privileged ones excepted.",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "description": "The account.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "thirdParty",
            "in": "query",
            "description": "The provider name.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userAppId",
            "in": "query",
            "description": "The player's user id with that provider.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Account"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Account"
        ],
        "summary": "Move a third party from another account onto this one. Calling again finishes a\ntransfer that was cut short.",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ThirdPartyTransfer"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ThirdPartyTransfer"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ThirdPartyTransfer"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Account"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/accounts/{accountId}/devices": {
      "delete": {
        "tags": [
          "Account"
        ],
        "summary": "Remove device ids from an account, privileged ones excepted; with none given,\nremove them all. For services.",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveDevicesRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveDevicesRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveDevicesRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Account"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/accounts/admin/me": {
      "get": {
        "tags": [
          "Account"
        ],
        "summary": "The caller's own account as the portal shows it.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountPortalView"
                }
              }
            }
          },
          "403": {
            "description": "The caller's token stands for no account."
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/accounts/admin-users": {
      "get": {
        "tags": [
          "Account"
        ],
        "summary": "List the customer's admin users: every account holding a role other than guest. A\nservice may ask from a zone (VIP picks its agents among them); a person may not.",
        "parameters": [
          {
            "name": "cursor",
            "in": "query",
            "description": "The previous page's next cursor; omit it at first.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "How many accounts to return, at most 200.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountPortalViewCursorPagedResult"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Account"
        ],
        "summary": "Add a portal member with a role, and mail them an invitation.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateElevatedAccountRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateElevatedAccountRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateElevatedAccountRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountPortalView"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/accounts": {
      "post": {
        "tags": [
          "Account"
        ],
        "summary": "Create a guest player in the realm. For services; players get one through\n`auth/tokens/guest`.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGuestRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGuestRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGuestRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Account"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Account"
        ],
        "summary": "Look an account up by exactly one of its identities. For services.",
        "parameters": [
          {
            "name": "PlayerId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Email",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "DeviceId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ThirdParty",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "AppId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "UserAppId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "UserBusinessId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ProviderService",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "UserId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ProviderNamespace",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Account"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/accounts/elevated": {
      "post": {
        "tags": [
          "Account"
        ],
        "summary": "Create a registered account holding a role (tester by default) across the\ncustomer, with no invitation. For services.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateElevatedAccountRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateElevatedAccountRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateElevatedAccountRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Account"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/accounts/available": {
      "get": {
        "tags": [
          "Account"
        ],
        "summary": "Whether no account in the realm uses this email yet.",
        "parameters": [
          {
            "name": "email",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountAvailableResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/accounts/available/device-id": {
      "get": {
        "tags": [
          "Account"
        ],
        "summary": "Whether no account in the realm uses this device id yet.",
        "parameters": [
          {
            "name": "deviceId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountAvailableResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/accounts/available/external-identity": {
      "get": {
        "tags": [
          "Account"
        ],
        "summary": "Whether no account in the realm holds this external identity yet.",
        "parameters": [
          {
            "name": "providerService",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "providerNamespace",
            "in": "query",
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountAvailableResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/accounts/available/third-party": {
      "get": {
        "tags": [
          "Account"
        ],
        "summary": "Whether no account in the realm holds the third-party identity behind this token\nyet.",
        "parameters": [
          {
            "name": "thirdParty",
            "in": "query",
            "description": "The provider, such as `facebook`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "token",
            "in": "query",
            "description": "The provider token, verified with the provider.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountAvailableResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/accounts/find": {
      "get": {
        "tags": [
          "Account"
        ],
        "summary": "Find one account by account id, player id or email.",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "description": "A number is tried as a player id in this realm, then as an account id; anything\nelse is an email.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Account"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/accounts/pii": {
      "get": {
        "tags": [
          "Account"
        ],
        "summary": "Everything held about a player, for a GDPR request: the account, its player's\nstats, and its payment audits. Players may fetch their own; testers and up,\nanyone's.",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "description": "As M:BeamableGateway.Controllers.AccountController.FindAccount(System.String) takes it.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountPiiResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/accounts/{accountId}/role": {
      "put": {
        "tags": [
          "Account"
        ],
        "summary": "Grant another account a role. A role name with a realm maps it to that realm;\nalone, it becomes the account's customer role.",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RoleUpdate"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RoleUpdate"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RoleUpdate"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Account"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Account"
        ],
        "summary": "Take a realm role from another account, or with no realm given, all of its roles.",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "role",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "realm",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Account"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/accounts/{accountId}/available-roles": {
      "get": {
        "tags": [
          "Account"
        ],
        "summary": "The roles the caller may grant this account: none for their own account or without\nadmin rights here.",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AvailableRolesResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/accounts/{accountId}/role-report": {
      "get": {
        "tags": [
          "Account"
        ],
        "summary": "Every role the account holds in each of the customer's realms.",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountRolesReport"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/accounts/{accountId}/email": {
      "put": {
        "tags": [
          "Account"
        ],
        "summary": "Move another, unprivileged account to a new email, without confirmation.",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EmailChange"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/EmailChange"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/EmailChange"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Account"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/accounts/{accountId}/pii": {
      "delete": {
        "tags": [
          "Account"
        ],
        "summary": "Forget an account's personal information, as GDPR asks, and have Wingman delete\nwhat it keeps for the account (coding sessions, repository workspace copies).",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Account"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/accounts/search": {
      "get": {
        "tags": [
          "Account"
        ],
        "summary": "Search the realm's accounts. With no query, lists the most recently online\nplayers, then the newest accounts.",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "description": "See M:BeamableShared.Services.Account.AccountManagementService.Search(System.String,System.Int32,System.Int32,BeamableShared.Utils.RealmInfo,System.Threading.CancellationToken).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "The page, from 1.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Accounts per page, at most 200.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountSearchResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/accounts/{accountId}/merge": {
      "put": {
        "tags": [
          "Account"
        ],
        "summary": "Move another account's player in this realm onto this account. Calling again\nfinishes a merge that was cut short. For services.",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MergeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/MergeRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/MergeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Account"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/accounts/{accountId}/associations": {
      "delete": {
        "tags": [
          "Account"
        ],
        "summary": "Drop the account's player in this realm. For services.",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Account"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/analytics/events": {
      "post": {
        "tags": [
          "Analytics"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ClientAnalyticsEvent"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ClientAnalyticsEvent"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ClientAnalyticsEvent"
                }
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Accepted"
          }
        }
      },
      "get": {
        "tags": [
          "Analytics"
        ],
        "summary": "Every analytics event this scope (realm or zone) can query: the manifest's registered\nschemas and the platform's built-in ones, by name. M:BeamableGateway.Controllers.AnalyticsController.GetSchema(System.String) is the read for\none event's schema.\n\nA scope with no deployed manifest has the built-ins alone. A manifest store that cannot\nbe READ is a different fact and is deliberately NOT flattened into that same list: the two\nwould be byte-identical to the caller.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAnalyticsEventsResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/analytics/schemas/{event}": {
      "get": {
        "tags": [
          "Analytics"
        ],
        "summary": "One schema's JSON Schema document, as deployed, by the name a query uses:\n`beamable.{event}` is the platform's built-in; a bare name is the scope's registered\nschema, else the platform's built-in of that name.\n\nA catch-all route token, deliberately: schema names are multi-segment by design\n(`analytics/commerce/purchase`), and a plain `{event}` would 404 on exactly the names\nthis exists to serve.",
        "parameters": [
          {
            "name": "event",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "$ref": "#/components/schemas/JsonNode"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/analytics/query": {
      "post": {
        "tags": [
          "Analytics"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsQueryRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsQueryRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsQueryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/analytics/schema-findings": {
      "get": {
        "tags": [
          "AnalyticsSchemaFindings"
        ],
        "parameters": [
          {
            "name": "kind",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/AnalyticsFindingOriginKind"
            }
          },
          {
            "name": "id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAnalyticsSchemaFindingsResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/analytics/schema-findings/{event}": {
      "delete": {
        "tags": [
          "AnalyticsSchemaFindings"
        ],
        "parameters": [
          {
            "name": "event",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/analytics/schema-findings/delete-rows": {
      "post": {
        "tags": [
          "AnalyticsSchemaFindings"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteAnalyticsRowsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteAnalyticsRowsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteAnalyticsRowsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteAnalyticsRowsResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/analytics/schema-findings/{event}/preview": {
      "get": {
        "tags": [
          "AnalyticsSchemaFindings"
        ],
        "parameters": [
          {
            "name": "event",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "kind",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/AnalyticsFindingKind"
            }
          },
          {
            "name": "from",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "to",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AnalyticsPreviewResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/analytics/schema-findings/deletions/{queryExecutionId}": {
      "get": {
        "tags": [
          "AnalyticsSchemaFindings"
        ],
        "parameters": [
          {
            "name": "queryExecutionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AnalyticsDeletionStatus"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/.well-known/openid-configuration": {
      "get": {
        "tags": [
          "Auth"
        ],
        "summary": "Returns the OpenID Connect discovery document.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpenIdConfigResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/auth/keys": {
      "get": {
        "tags": [
          "Auth"
        ],
        "summary": "Returns the public keys used for JWT verification in JWKS format.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonWebKeySet"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/auth/refresh-token": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Generate a new access token for a previously authenticated account. DEPRECATED: Use\n`tokens/refresh-token` instead.",
        "requestBody": {
          "description": "`RefreshTokenAuthRequest`",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RefreshTokenAuthRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RefreshTokenAuthRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RefreshTokenAuthRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          }
        },
        "deprecated": true
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/auth/tokens/refresh-token": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Generate a new access token for a previously authenticated account.",
        "requestBody": {
          "description": "`RefreshTokenAuthRequest`",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RefreshTokenAuthRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RefreshTokenAuthRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RefreshTokenAuthRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/auth/tokens/guest": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Generate a new access token for a brand-new player.",
        "requestBody": {
          "description": "`GuestAuthRequest`",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GuestAuthRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GuestAuthRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GuestAuthRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/auth/tokens/password": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Generate a new access token when given email and password credentials",
        "requestBody": {
          "description": "`PasswordAuthRequest`",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PasswordAuthRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PasswordAuthRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PasswordAuthRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/auth/tokens/external": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Generate a new access token using external OAuth credentials. These include\nFacebook, Google, etc. For external providers we haven't implemented, we're going\nto make a federated authentication request.",
        "requestBody": {
          "description": "External authentication request containing provider and token",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExternalAuthRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ExternalAuthRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ExternalAuthRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExternalAuthResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/auth/tokens/device-id": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Generate a new access token using a device identifier.",
        "requestBody": {
          "description": "Device ID authentication request",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeviceIdAuthRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeviceIdAuthRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeviceIdAuthRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/auth/tokens": {
      "get": {
        "tags": [
          "Auth"
        ],
        "summary": "List all active refresh tokens for an account or player.",
        "parameters": [
          {
            "name": "playerIdOrAccountId",
            "in": "query",
            "description": "The gamer tag or account ID to list tokens for",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "description": "Skips N items",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Max number of items to return",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListTokensResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Auth"
        ],
        "summary": "Revoke one or more refresh tokens.",
        "requestBody": {
          "description": "Request body with the token ids to revoke",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RevokeRefreshTokensRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RevokeRefreshTokensRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RevokeRefreshTokensRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/auth/tokens/{tokenId}": {
      "get": {
        "tags": [
          "Auth"
        ],
        "summary": "Retrieve full details of a refresh token.",
        "parameters": [
          {
            "name": "tokenId",
            "in": "path",
            "description": "The refresh token id to look up",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RefreshToken"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/auth/tokens/access/{tokenId}": {
      "get": {
        "tags": [
          "Auth"
        ],
        "summary": "Validate an access token and retrieve its details.",
        "parameters": [
          {
            "name": "tokenId",
            "in": "path",
            "description": "The access token to validate",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "customerId",
            "in": "query",
            "description": "Customer ID",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "realmId",
            "in": "query",
            "description": "Realm ID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyAccessToken"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/auth/tokens/auth-code": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Generate a new access token using an OAuth 2.0 authorization code.",
        "requestBody": {
          "description": "Authorization code authentication request",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthorizationCodeAuthRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthorizationCodeAuthRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AuthorizationCodeAuthRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/auth/auth-codes": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "[Internal] Generate an authorization code for OAuth 2.0 flow.",
        "requestBody": {
          "description": "Authorization code grant request",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthCodeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthCodeRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AuthCodeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthCode"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/auth/server": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Generate a new access token for a machine with a shared secret",
        "requestBody": {
          "description": "`ServerTokenAuthRequest`",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ServerTokenAuthRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ServerTokenAuthRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ServerTokenAuthRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServerTokenResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/accounts/batch": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Look up many players of the current realm in one call. Optionally narrows them to those\nwhose stats satisfy a filter, then returns each remaining player's account and the stat\nvalues asked for. Every requested player appears exactly once across `players`,\n`filteredOut` and `notFound`.",
        "description": "At most three kinds of query whatever the number of players: one for the filter, one for\nthe accounts, and one per stats namespace requested.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchAccountsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchAccountsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BatchAccountsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BatchAccountsResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/manifests": {
      "post": {
        "tags": [
          "Beamo"
        ],
        "summary": "Submit a new manifest describing the desired state of microservices.",
        "requestBody": {
          "description": "Manifest definition to post.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostManifestRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PostManifestRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PostManifestRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManifestChecksum"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Beamo"
        ],
        "summary": "List manifests with optional pagination and archive filtering.",
        "parameters": [
          {
            "name": "offset",
            "in": "query",
            "description": "Number of items to skip.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Maximum number of items to return.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "archived",
            "in": "query",
            "description": "Whether to include archived manifests. Defaults to true.",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetManifestsResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/manifests/{manifestId}": {
      "get": {
        "tags": [
          "Beamo"
        ],
        "summary": "Retrieve a manifest by its ID.",
        "parameters": [
          {
            "name": "manifestId",
            "in": "path",
            "description": "GUID identifier of the manifest.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "archived",
            "in": "query",
            "description": "Whether to include archived manifests. Defaults to true.",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Manifest"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/manifests/current": {
      "get": {
        "tags": [
          "Beamo"
        ],
        "summary": "Retrieve the current (latest) manifest.",
        "parameters": [
          {
            "name": "archived",
            "in": "query",
            "description": "Whether to include archived manifests. Defaults to true.",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Manifest"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Beamo"
        ],
        "summary": "Redeploy the current manifest to all microservices.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/manifests/current/content-urls": {
      "post": {
        "tags": [
          "Beamo"
        ],
        "summary": "Get signed download URLs for private binary content referenced by the current manifest\n(portal extension files, schema documents). Bundle-origin items are signed against the\npublishing scope's storage location.",
        "requestBody": {
          "description": "Content items to sign URLs for, with an optional expiration.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetManifestContentUrlsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetManifestContentUrlsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetManifestContentUrlsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetManifestContentUrlsResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/content/binary": {
      "post": {
        "tags": [
          "Beamo"
        ],
        "summary": "Get presigned upload URLs for private binary content in the caller's scope (portal\nextension files, schema documents) — the upload counterpart of GetManifestContentUrls\nand the C# analog of the legacy /basic/content/binary endpoint.",
        "requestBody": {
          "description": "Binary content definitions (id, MD5 checksum, content type).",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveBinaryContentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveBinaryContentRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SaveBinaryContentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SaveBinaryContentResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/manifests/promote": {
      "post": {
        "tags": [
          "Beamo"
        ],
        "summary": "Promote the current manifest from a source realm to the requesting realm, whole: the\nsource's manifest posted once into the requesting realm (an active entry only the\nrequesting realm has must be archived there first, or the post is refused).\nDEPRECATED: This endpoint is required for legacy Scala proxy calls.",
        "requestBody": {
          "description": "Promotion request including the source realm ID.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PromoteBeamoManifestRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PromoteBeamoManifestRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PromoteBeamoManifestRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "deprecated": true
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/templates": {
      "get": {
        "tags": [
          "Beamo"
        ],
        "summary": "List available service template IDs.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTemplatesResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/status": {
      "get": {
        "tags": [
          "Beamo"
        ],
        "summary": "Get the deployment status of microservices in the current realm.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetStatusResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/registry/auth": {
      "get": {
        "tags": [
          "Beamo"
        ],
        "summary": "Authorize a docker registry request. Called by the registry's nginx as an auth_request\nsubrequest carrying the original request method and URI; only the response status code\nis used (200 allows, 401/403 deny).",
        "parameters": [
          {
            "name": "X-BEAM-REGISTRY-METHOD",
            "in": "header",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-BEAM-REGISTRY-URI",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/registry-uri": {
      "get": {
        "tags": [
          "Beamo"
        ],
        "summary": "Get the Docker container registry URI for the current platform. When service names are\nprovided, also returns the canonical repository name each service must be pushed to for\nthe caller's scope.",
        "parameters": [
          {
            "name": "serviceName",
            "in": "query",
            "description": "Optional service names to resolve repository names for.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UriResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/services/registrations": {
      "post": {
        "tags": [
          "Beamo"
        ],
        "summary": "Get service registrations matching the provided query.",
        "requestBody": {
          "description": "Filter query for service registrations.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceRegistrationQuery"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceRegistrationQuery"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceRegistrationQuery"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceRegistrationResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/services/federation": {
      "post": {
        "tags": [
          "Beamo"
        ],
        "summary": "Get federation support registrations for services matching the query.",
        "requestBody": {
          "description": "Filter query for service registrations.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceRegistrationQuery"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceRegistrationQuery"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceRegistrationQuery"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FederationRegistrationResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/services/{serviceName}/federation/traffic": {
      "put": {
        "tags": [
          "Beamo"
        ],
        "summary": "Register a federation routing entry for a service.",
        "parameters": [
          {
            "name": "serviceName",
            "in": "path",
            "description": "Name of the service to register federation for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Federation registration details.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceRegistrationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceRegistrationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceRegistrationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyMessage"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Beamo"
        ],
        "summary": "Remove a federation routing entry for a service.",
        "parameters": [
          {
            "name": "serviceName",
            "in": "path",
            "description": "Name of the service to remove the registration from.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Delete registration request with the routing key.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteRegistrationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteRegistrationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteRegistrationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyMessage"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/services/{serviceName}/metrics-request": {
      "post": {
        "tags": [
          "Beamo"
        ],
        "summary": "Get a signed request for fetching service metrics from AWS CloudWatch.",
        "parameters": [
          {
            "name": "serviceName",
            "in": "path",
            "description": "Name of the service to fetch metrics for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Metrics request parameters.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetMetricsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetMetricsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetMetricsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignedRequest"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/services/{serviceName}/logs/query": {
      "post": {
        "tags": [
          "Beamo"
        ],
        "summary": "Start an Athena query to fetch service logs.",
        "parameters": [
          {
            "name": "serviceName",
            "in": "path",
            "description": "Name of the service to query logs for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Log query request parameters.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StartServiceLogsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/StartServiceLogsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/StartServiceLogsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueryResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/services/logs/query/{queryId}": {
      "delete": {
        "tags": [
          "Beamo"
        ],
        "summary": "Stop an in-progress service logs query.",
        "parameters": [
          {
            "name": "queryId",
            "in": "path",
            "description": "ID of the query to stop.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      },
      "get": {
        "tags": [
          "Beamo"
        ],
        "summary": "Get a signed URI to retrieve service logs query results from S3.",
        "parameters": [
          {
            "name": "queryId",
            "in": "path",
            "description": "ID of the completed query.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignedRequest"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/services/secret": {
      "get": {
        "tags": [
          "Beamo"
        ],
        "summary": "Get the shared service secret for the current realm. DEPRECATED.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetServiceSecretResponse"
                }
              }
            }
          }
        },
        "deprecated": true
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/storage/connection": {
      "get": {
        "tags": [
          "Beamo"
        ],
        "summary": "Get the MongoDB Atlas connection string for the current realm's storage.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConnectionStringResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/storage/{storageObjectName}/performance": {
      "get": {
        "tags": [
          "Beamo"
        ],
        "summary": "Get MongoDB Atlas performance metrics for a storage object.",
        "parameters": [
          {
            "name": "storageObjectName",
            "in": "path",
            "description": "Name of the storage object (collection) to query.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Period",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "StartTime",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndTime",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "Granularity",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StoragePerformance"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/services/{serviceName}/logs/context": {
      "get": {
        "tags": [
          "Beamo"
        ],
        "summary": "Get the logging context configuration for a specific service.",
        "parameters": [
          {
            "name": "serviceName",
            "in": "path",
            "description": "Name of the service.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "routingKey",
            "in": "query",
            "description": "Optional routing key for multi-instance services.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceLoggingContext"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Beamo"
        ],
        "summary": "Save or update the logging context configuration for a service.",
        "parameters": [
          {
            "name": "serviceName",
            "in": "path",
            "description": "Name of the service.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Logging context configuration to save.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceLoggingContext"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceLoggingContext"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceLoggingContext"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyMessage"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Beamo"
        ],
        "summary": "Delete the logging context configuration for a service.",
        "parameters": [
          {
            "name": "serviceName",
            "in": "path",
            "description": "Name of the service.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "routingKey",
            "in": "query",
            "description": "Routing key identifying the logging context to delete.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyMessage"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/services/logs/context": {
      "get": {
        "tags": [
          "Beamo"
        ],
        "summary": "Get logging context configurations for all services in the realm.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAllServiceLoggingContexts"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/bundles": {
      "post": {
        "tags": [
          "BeamoBundle"
        ],
        "summary": "Create a bundle name in the org's namespace. It starts with no releases.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateBundleRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateBundleRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateBundleRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BundleSummaryView"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "BeamoBundle"
        ],
        "summary": "Edit a bundle's listing, visibility or required auto-update.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateBundleRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateBundleRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateBundleRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BundleSummaryView"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BeamoBundle"
        ],
        "summary": "The org's own bundles by name, private ones included. All of them, or one batch when\nlimit or cursor is given; pass `nextCursor`\nback as `cursor` for the next.",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BundleSummaryViewCursorPagedResult"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/bundles/tags": {
      "put": {
        "tags": [
          "BeamoBundle"
        ],
        "summary": "Point a tag at a version. `latest` can be moved too.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetBundleTagRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetBundleTagRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetBundleTagRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BundleSummaryView"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/bundles/notices": {
      "post": {
        "tags": [
          "BeamoBundle"
        ],
        "summary": "Deprecate a range of released versions with an end-of-support and an end-of-life date.\nOrgs running them see it at once; at end of life their installations are updated.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateBundleNoticeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateBundleNoticeRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateBundleNoticeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BundleNoticeResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "BeamoBundle"
        ],
        "summary": "Edit a notice: move its dates later, or change its message, link or replacement.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateBundleNoticeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateBundleNoticeRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateBundleNoticeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BundleNoticeResponse"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "BeamoBundle"
        ],
        "summary": "Withdraw a notice; its versions are supported again.",
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/releases/upload-targets": {
      "post": {
        "tags": [
          "BeamoBundle"
        ],
        "summary": "Where a release's artifacts go: a marketplace repo per service, claimed for the owning\norg, and an upload link per file not stored yet. Uploads nothing itself.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReleaseUploadTargetsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ReleaseUploadTargetsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ReleaseUploadTargetsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReleaseUploadTargetsResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/releases": {
      "post": {
        "tags": [
          "BeamoBundle"
        ],
        "summary": "Publish a release once its artifacts are uploaded.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PublishReleaseRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PublishReleaseRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PublishReleaseRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublishReleaseResponse"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BeamoBundle"
        ],
        "summary": "A bundle's release timeline, newest first, in batches: pass `nextCursor` back as\ncursor for the next. fromVersion does the same\nwith the last version received.",
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          },
          {
            "name": "fromVersion",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListReleasesResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/releases/content": {
      "get": {
        "tags": [
          "BeamoBundle"
        ],
        "summary": "One version's release row and content.",
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReleaseContentResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/releases/yank": {
      "post": {
        "tags": [
          "BeamoBundle"
        ],
        "summary": "Yank one version: nobody can install it any more. `latest` moves off it; other\ntags stay.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/YankReleaseRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/YankReleaseRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/YankReleaseRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/YankReleaseResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/marketplace": {
      "get": {
        "tags": [
          "BeamoBundle"
        ],
        "summary": "Search public bundles that have a release, by name.",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BundleSummaryViewCursorPagedResult"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/marketplace/placements": {
      "get": {
        "tags": [
          "BeamoBundle"
        ],
        "summary": "The bundles Beamable lists for portal pages (`page`) or site ids (`site`), with the\ncomponent groups that mount there, and\nwhether the org has each and runs it on the caller's zone. Bundles come by name, up to\nlimit across all places; pass `nextCursor` back as\ncursor, with the same places, for the next batch.",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "site",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlacementBundlesCursorPagedResult"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/marketplace/bundle": {
      "get": {
        "tags": [
          "BeamoBundle"
        ],
        "summary": "A bundle's listing, latest release, component groups and dependencies.",
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MarketplaceBundleResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/admin/update-runs": {
      "get": {
        "tags": [
          "BeamoBundleAdmin"
        ],
        "summary": "Update runs, the most recently changed first, optionally by state, with their targets\ncounted by state. Pass `nextCursor` back as `cursor` for the next batch. A run\nthat changes while you page moves to the front, so a walk can miss it.",
        "parameters": [
          {
            "name": "state",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/UpdateRunState"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateRunSummaryCursorPagedResult"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/admin/update-runs/run": {
      "get": {
        "tags": [
          "BeamoBundleAdmin"
        ],
        "summary": "One run, without its targets; `update-runs/targets` lists them.",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BundleUpdateRun"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/admin/update-runs/targets": {
      "get": {
        "tags": [
          "BeamoBundleAdmin"
        ],
        "summary": "One batch of a run's targets by installation id, optionally by state. Pass\n`nextCursor` back as `cursor` for the next batch.",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/UpdateTargetState"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateTargetCursorPagedResult"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/admin/update-runs/pause": {
      "post": {
        "tags": [
          "BeamoBundleAdmin"
        ],
        "summary": "Stop a running run; targets in flight finish, the rest wait.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRunRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRunRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRunRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateRunSummary"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/admin/update-runs/resume": {
      "post": {
        "tags": [
          "BeamoBundleAdmin"
        ],
        "summary": "Start a paused run again, with its failure count reset.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRunRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRunRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRunRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateRunSummary"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/acquisitions/plan": {
      "post": {
        "tags": [
          "BeamoInstallation"
        ],
        "summary": "Whether the org can acquire a bundle, and which dependencies it needs first.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AcquireBundleRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AcquireBundleRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AcquireBundleRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcquisitionPlanResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/acquisitions": {
      "post": {
        "tags": [
          "BeamoInstallation"
        ],
        "summary": "Add a bundle to the org's library. Refused while a hard dependency is missing from it.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AcquireBundleRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AcquireBundleRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AcquireBundleRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcquisitionView"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BeamoInstallation"
        ],
        "summary": "The org's library by bundle name: each bundle it acquired or owns, with the zones it is\ninstalled on. All of it, or one batch when limit or\ncursor is given; pass `nextCursor` back as `cursor` for the next.",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LibraryEntryCursorPagedResult"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "BeamoInstallation"
        ],
        "summary": "Remove a bundle from the library. Refused while it is installed anywhere.",
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/installations/plan": {
      "post": {
        "tags": [
          "BeamoInstallation"
        ],
        "summary": "Plan an install or change on the zone: release, component groups, realm choice,\nauto-update, or uninstall. Returns the changes per manifest, refusals, warnings and the hash to apply.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InstallationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InstallationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InstallationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstallationPlan"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/installations/apply": {
      "post": {
        "tags": [
          "BeamoInstallation"
        ],
        "summary": "Apply a plan by its hash; returns the result per manifest. Repeating it retries manifests\nthat failed.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApplyInstallationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ApplyInstallationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ApplyInstallationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApplyInstallationResponse"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/installations/overrides": {
      "delete": {
        "tags": [
          "BeamoInstallation"
        ],
        "summary": "Give an overridden component back to its bundle on the realm or zone in\n`X-BEAM-SCOPE`: the bundle's build runs there again. Deploys like a manifest post.",
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "component",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManifestChecksum"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/source-deliveries": {
      "post": {
        "tags": [
          "BeamoInstallation"
        ],
        "summary": "Ask for components' source to land in one of the zone's repositories as a pull request,\nmade with the caller's own token. The storages the services use come along. Recorded and\nqueued; the list shows how it went.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SourceDeliveryRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SourceDeliveryRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SourceDeliveryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SourceDeliveryView"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BeamoInstallation"
        ],
        "summary": "The org's source requests and how each went, newest first, in batches: pass\n`nextCursor` back as cursor for the next.",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SourceDeliveryViewCursorPagedResult"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/installations": {
      "get": {
        "tags": [
          "BeamoInstallation"
        ],
        "summary": "The zone's installations by bundle name, with the result for each manifest they write.\nAll of them, or one batch when limit or cursor is\ngiven; pass `nextCursor` back as `cursor` for the next.",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstallationViewCursorPagedResult"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/installations/notices": {
      "get": {
        "tags": [
          "BeamoInstallation"
        ],
        "summary": "Every installation of the org on a version with a deprecation notice, by zone, with the\nnotice's dates and replacement. Works from any scope of the org. All of them, or one batch\nwhen limit or cursor is given; pass\n`nextCursor` back as `cursor` for the next. A zone can carry on into the next batch.",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ZoneNoticesCursorPagedResult"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/installations/history": {
      "get": {
        "tags": [
          "BeamoInstallation"
        ],
        "summary": "One installation's history on the zone, newest first, in batches: pass\n`nextCursor` back as cursor for the next.",
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstallationHistoryResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/installations/dependencies": {
      "get": {
        "tags": [
          "BeamoInstallation"
        ],
        "summary": "Each dependency of a bundle's release, with whether it is acquired and installed on the zone.",
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstallationDependenciesResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/otel/views": {
      "get": {
        "tags": [
          "BeamoOtel"
        ],
        "summary": "Get available OpenTelemetry views for a specific account.",
        "parameters": [
          {
            "name": "accountId",
            "in": "query",
            "description": "Account ID to retrieve views for.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OtelViewsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OtelViewsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OtelViewsResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "BeamoOtel"
        ],
        "summary": "Save or update an OpenTelemetry view configuration.",
        "requestBody": {
          "description": "The OTel view to save.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OtelView"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/OtelView"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/OtelView"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OtelView"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OtelView"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OtelView"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/otel/views/{viewId}": {
      "delete": {
        "tags": [
          "BeamoOtel"
        ],
        "summary": "Delete an OpenTelemetry view by ID.",
        "parameters": [
          {
            "name": "viewId",
            "in": "path",
            "description": "ID of the view to delete.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "put": {
        "tags": [
          "BeamoOtel"
        ],
        "summary": "Update an existing OpenTelemetry view.",
        "parameters": [
          {
            "name": "viewId",
            "in": "path",
            "description": "ID of the view to update.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Fields to update on the view.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOtelViewRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOtelViewRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOtelViewRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OtelView"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OtelView"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OtelView"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/otel/auth/reader/config": {
      "get": {
        "tags": [
          "BeamoOtel"
        ],
        "summary": "Get OTel authentication configuration for the ClickHouse reader role.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OtelAuthConfig"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OtelAuthConfig"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OtelAuthConfig"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/otel/auth/writer/config": {
      "get": {
        "tags": [
          "BeamoOtel"
        ],
        "summary": "Get OTel authentication configuration for the ClickHouse writer role. Requires admin access.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OtelAuthConfig"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OtelAuthConfig"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OtelAuthConfig"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/prs": {
      "post": {
        "tags": [
          "BeamoPullRequest"
        ],
        "summary": "Submit a pull request proposing a new root manifest for the target scope.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubmitPullRequestRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SubmitPullRequestRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SubmitPullRequestRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubmitPullRequestResponse"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BeamoPullRequest"
        ],
        "summary": "List pull requests for the target scope, newest first.",
        "parameters": [
          {
            "name": "status",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/PullRequestStatus"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListPullRequestsResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/prs/{pullRequestId}": {
      "get": {
        "tags": [
          "BeamoPullRequest"
        ],
        "summary": "Fetch a pull request with its diff against the scope's current manifest.",
        "parameters": [
          {
            "name": "pullRequestId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPullRequestResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/prs/{pullRequestId}/approve": {
      "post": {
        "tags": [
          "BeamoPullRequest"
        ],
        "summary": "Post and deploy the proposed manifest.",
        "parameters": [
          {
            "name": "pullRequestId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManifestChecksum"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/prs/{pullRequestId}/reject": {
      "post": {
        "tags": [
          "BeamoPullRequest"
        ],
        "summary": "Reject a pending pull request; submitter (withdrawal) or target scope admin.",
        "parameters": [
          {
            "name": "pullRequestId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/beamo/prs/{pullRequestId}/comments": {
      "post": {
        "tags": [
          "BeamoPullRequest"
        ],
        "summary": "Append a comment to a pull request's discussion thread.",
        "parameters": [
          {
            "name": "pullRequestId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommentPullRequestRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CommentPullRequestRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CommentPullRequestRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/billing/portal-session": {
      "post": {
        "tags": [
          "Billing"
        ],
        "summary": "Create a Stripe Customer Portal session so the\ncustomer can manage payment methods and\nsubscriptions.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PortalSessionResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/campaigns/draft": {
      "post": {
        "tags": [
          "Campaign"
        ],
        "summary": "Validate and save a mutable Draft (no directory row — invisible until published).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CampaignGraphDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CampaignGraphDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CampaignGraphDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SaveDraftResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/campaigns/submit": {
      "post": {
        "tags": [
          "Campaign"
        ],
        "summary": "Submit a version to the review queue (Draft → Proposed). Validates the graph, its window and the\nlive rail and offer dependencies; nothing runs until a manager schedules it. 409 when the version\nwas already submitted.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CampaignGraphDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CampaignGraphDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CampaignGraphDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReviewResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/campaigns/{campaignId}/{version}/schedule": {
      "post": {
        "tags": [
          "Campaign"
        ],
        "summary": "Manager: schedule a proposed version as submitted (Proposed → Scheduled). 409 with\n`conflicts` when it overlaps another experiment; `override=true` schedules anyway and\nrecords that it did.",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "override",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReviewResponseDto"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReviewResponseDto"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/campaigns/{campaignId}/{version}/schedule-with-edits": {
      "post": {
        "tags": [
          "Campaign"
        ],
        "summary": "Manager: schedule a proposed version with edits. The proposed version becomes Superseded and the\nedited graph is scheduled as the campaign's next version, returned in `version`. Conflicts\nand `override` as in schedule.",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "override",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CampaignGraphDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CampaignGraphDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CampaignGraphDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReviewResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReviewResponseDto"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/campaigns/{campaignId}/{version}/queue-check": {
      "get": {
        "tags": [
          "Campaign"
        ],
        "summary": "What the version would overlap if it ran: other campaigns in the queue or running, in the same\nwindow, realm and entry trigger. Blocking entries stop a schedule unless overridden. 404 when the\nversion has no graph.",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueueCheckDto"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/campaigns/{campaignId}/{version}/reject": {
      "post": {
        "tags": [
          "Campaign"
        ],
        "summary": "Manager: turn a proposed version down (Proposed → Rejected), with a reason for its author.",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RejectRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RejectRequestDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RejectRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/campaigns/{campaignId}/{version}/cancel": {
      "post": {
        "tags": [
          "Campaign"
        ],
        "summary": "Manager: withdraw a schedule before kick-off (Scheduled → Cancelled). 409 otherwise.",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/campaigns/{campaignId}/{version}/restore": {
      "post": {
        "tags": [
          "Campaign"
        ],
        "summary": "Manager: put a cancelled schedule back (Cancelled → Scheduled). Refused once its window is over.",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReviewResponseDto"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/campaigns/{campaignId}/{version}/new-version": {
      "post": {
        "tags": [
          "Campaign"
        ],
        "summary": "Copy a version into a new Draft at the campaign's next version number. 404 when it has no graph.",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NewVersionResponseDto"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/campaigns": {
      "get": {
        "tags": [
          "Campaign"
        ],
        "summary": "One filtered, sorted page of the CID's campaign versions (drafts + published) with each one's\nphase. Filters intersect (AND) and every one is optional; an omitted filter does not narrow.\n\nThat includes `realm`: campaign graphs are CID-scoped, so omitting it returns every\ncampaign the customer has, from every realm — the behaviour this endpoint has always had.\nPassing a PID narrows to the campaigns whose accepted realms include it, which is what an\noperator console pointed at one realm wants.\nOffset paging with a total, rather than the opaque cursor used elsewhere in this API: the\noperator console shows \"X–Y of Z\" and lets you jump to a page, neither of which a cursor can\nexpress, and a campaign set is bounded per customer rather than by audience.",
        "parameters": [
          {
            "name": "campaignId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "phase",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/CampaignLifecycle"
              }
            }
          },
          {
            "name": "createdBy",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "publishedBy",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tag",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "realm",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "createdAfter",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "createdBefore",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "publishedAfter",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "publishedBefore",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/CampaignSortField"
            }
          },
          {
            "name": "descending",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": true
            }
          },
          {
            "name": "includeArchived",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CampaignSummaryDtoCampaignPageDto"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/campaigns/{campaignId}/{version}": {
      "get": {
        "tags": [
          "Campaign"
        ],
        "summary": "Load a specific version's graph.",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CampaignGraphDto"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Campaign"
        ],
        "summary": "Discard an unpublished Draft. 409 once a version has been published.",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/campaigns/{campaignId}/{version}/status": {
      "get": {
        "tags": [
          "Campaign"
        ],
        "summary": "The version's current phase (drives the operator's post-command polling).",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CampaignStatusDto"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/campaigns/{campaignId}/{version}/funnel": {
      "get": {
        "tags": [
          "Campaign"
        ],
        "summary": "The version's send funnel — per send node, the count of every stage, split into the settled\ntotal and the slice still being rolled up. Read off the runtime's own funnel documents (§9b), so\nthese are the campaign's numbers, not an analytics derivative. 404 when the version has no graph.\n\n`live=false` answers from the sealed counters alone: one query instead of two, with\n`pending` reported as zero. Worth asking for on any view that is not watching a campaign\nin flight, since the pending slice is the half that scans the collection the event firehose is\nwriting to.",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "live",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": true
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CampaignFunnelDto"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/campaigns/{campaignId}/{version}/wind-down": {
      "post": {
        "tags": [
          "Campaign"
        ],
        "summary": "Stop admitting new players; the ones already in finish (→ WindingDown). 409 if not running.",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/campaigns/{campaignId}/archive": {
      "post": {
        "tags": [
          "Campaign"
        ],
        "summary": "Archive a whole campaign: the list leaves it out unless `includeArchived=true`. 409 while\nany version is a draft, in the queue or running; 404 when the campaign has no version.",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/campaigns/{campaignId}/unarchive": {
      "post": {
        "tags": [
          "Campaign"
        ],
        "summary": "Bring an archived campaign back to the list. 404 when the campaign has no version.",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers": {
      "post": {
        "tags": [
          "Customer"
        ],
        "summary": "Create a new customer (org) and automatically activate it.",
        "requestBody": {
          "description": "Customer creation request.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewCustomerRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NewCustomerRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NewCustomerRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NewCustomerResponse"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Customer"
        ],
        "summary": "List all customers visible to the requesting user.",
        "parameters": [
          {
            "name": "showHiddenRealms",
            "in": "query",
            "description": "Whether to include hidden realms in the response.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomersResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/verify": {
      "post": {
        "tags": [
          "Customer"
        ],
        "summary": "Create a new customer and hold it in a pending state until email verification is\ncomplete.",
        "requestBody": {
          "description": "Customer creation request.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewCustomerRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NewCustomerRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NewCustomerRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NewCustomerResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/activate": {
      "put": {
        "tags": [
          "Customer"
        ],
        "summary": "Activate a pending customer account. Returns an HTML redirect page to the portal.",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}": {
      "get": {
        "tags": [
          "Customer"
        ],
        "summary": "Get a specific customer by ID.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "The customer ID to look up.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "showHiddenRealms",
            "in": "query",
            "description": "Whether to include hidden realms in the response.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerView"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/admin-view": {
      "get": {
        "tags": [
          "Customer"
        ],
        "summary": "Get the full admin view of a customer (includes all fields).",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "The customer ID to look up.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "showHiddenRealms",
            "in": "query",
            "description": "Whether to include hidden realms in the response.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Customer"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/stripe/subscription": {
      "get": {
        "tags": [
          "Customer"
        ],
        "summary": "Get the current Stripe subscription tier for a customer.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "ID of the customer.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StripeSubscriptionResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/realms/{realmId}": {
      "put": {
        "tags": [
          "Customer"
        ],
        "summary": "Update the hidden or archive status of a realm.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "ID of the customer that owns the realm.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "realmId",
            "in": "path",
            "description": "ID of the realm to update.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Realm status update request.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRealmRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRealmRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRealmRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyMessage"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Customer"
        ],
        "summary": "Get a specific realm by customer and realm ID.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "ID of the customer.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "realmId",
            "in": "path",
            "description": "ID of the realm to retrieve.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RealmView"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Customer"
        ],
        "summary": "Archive (soft-delete) a realm.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "ID of the customer that owns the realm.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "realmId",
            "in": "path",
            "description": "ID of the realm to archive.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyMessage"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/config": {
      "get": {
        "tags": [
          "Customer"
        ],
        "summary": "Get the customer-level realm configuration.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "ID of the customer to retrieve config for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConfigResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Customer"
        ],
        "summary": "Replace the entire customer-level configuration.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "ID of the customer.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Replacement configuration values.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigSaveRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigSaveRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigSaveRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyMessage"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "Customer"
        ],
        "summary": "Apply incremental changes to the customer-level configuration.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "ID of the customer.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Config change request with keys to add, update, or remove.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigChangeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigChangeRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigChangeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyMessage"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/config": {
      "get": {
        "tags": [
          "Customer"
        ],
        "summary": "Get the configuration of the realm or zone addressed by the scope header. The\nkind-neutral sibling of the realm-routed config endpoints.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConfigResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Customer"
        ],
        "summary": "Replace the entire configuration of the realm or zone addressed by the scope\nheader.",
        "requestBody": {
          "description": "Replacement configuration values.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigSaveRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigSaveRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigSaveRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyMessage"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "Customer"
        ],
        "summary": "Apply incremental changes to the configuration of the realm or zone addressed by\nthe scope header.",
        "requestBody": {
          "description": "Config change request with keys to add, update, or remove.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigChangeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigChangeRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigChangeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyMessage"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/games": {
      "get": {
        "tags": [
          "Customer"
        ],
        "summary": "List all games (top-level realms) for a customer.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "ID of the customer.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "showHiddenRealms",
            "in": "query",
            "description": "Whether to include hidden realms.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetGamesResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Customer"
        ],
        "summary": "Create a new game (top-level realm) under a customer.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "ID of the customer to create the game under.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Game creation request.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewGameRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NewGameRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NewGameRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RealmView"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/games/{gameId}": {
      "get": {
        "tags": [
          "Customer"
        ],
        "summary": "Get all realms under a specific game.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "ID of the customer.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "gameId",
            "in": "path",
            "description": "ID of the game realm to retrieve realms for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "showHiddenRealms",
            "in": "query",
            "description": "Whether to include hidden realms.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetGamesResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Customer"
        ],
        "summary": "Update the realm hierarchy for a game (add/remove/reorder child realms).",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "ID of the customer.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "gameId",
            "in": "path",
            "description": "ID of the game realm to update.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Updated realm hierarchy.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGameHierarchyRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGameHierarchyRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGameHierarchyRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyMessage"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/realms": {
      "post": {
        "tags": [
          "Customer"
        ],
        "summary": "Create a new realm under a customer's game.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "ID of the customer to create the realm under.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Realm creation request.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRealmRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRealmRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRealmRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyMessage"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/realms/{realmId}/rename": {
      "put": {
        "tags": [
          "Customer"
        ],
        "summary": "Rename a realm.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "ID of the customer that owns the realm.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "realmId",
            "in": "path",
            "description": "ID of the realm to rename.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Rename request with the new name.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RenameRealmRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RenameRealmRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RenameRealmRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyMessage"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/realms/{realmId}/config": {
      "get": {
        "tags": [
          "Customer"
        ],
        "summary": "Get the configuration for a specific realm.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "ID of the customer.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "realmId",
            "in": "path",
            "description": "ID of the realm to retrieve config for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConfigResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Customer"
        ],
        "summary": "Replace the entire configuration of a realm.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "ID of the customer.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "realmId",
            "in": "path",
            "description": "ID of the realm to update.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Replacement configuration values.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigSaveRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigSaveRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigSaveRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyMessage"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "Customer"
        ],
        "summary": "Apply incremental changes to a realm's configuration.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "ID of the customer.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "realmId",
            "in": "path",
            "description": "ID of the realm to update.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Config change request with keys to add, update, or remove.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigChangeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigChangeRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigChangeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyMessage"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/realms/{realmId}/client-defaults": {
      "get": {
        "tags": [
          "Customer"
        ],
        "summary": "Get the client-facing realm configuration defaults.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "ID of the customer.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "realmId",
            "in": "path",
            "description": "ID of the realm.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RealmConfiguration"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/realms/{realmId}/promotion": {
      "post": {
        "tags": [
          "Customer"
        ],
        "summary": "Promote content and the Beamo manifest from a source realm into the destination realm. The manifest travels whole under `Microservices` or part by\npart under `Services`, `PortalExtensions`, `Schemas` and `Bundles`;\neither way one manifest is posted, the destination's with the selected parts replaced by\nthe source's (an active entry only the destination has must be archived there first, or\nthe post is refused with `MissingReferences`). Omitting the selection promotes\ncontent and the whole manifest.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "ID of the customer.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "realmId",
            "in": "path",
            "description": "ID of the realm to promote into.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Promotion request specifying source realm and what to promote.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PromoteRealmRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PromoteRealmRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PromoteRealmRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoteRealmResponse"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Customer"
        ],
        "summary": "Preview what would be promoted from one realm to another without applying changes.\n`Microservices` reports the two manifests as one checksum row; `Services`,\n`PortalExtensions`, `Schemas` and `Bundles` report every source entry\nagainst its destination counterpart. Omitting the selection previews content and the\nwhole manifest.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "ID of the customer.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "realmId",
            "in": "path",
            "description": "ID of the destination realm.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sourceRealmId",
            "in": "query",
            "description": "ID of the source realm.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "promotables",
            "in": "query",
            "description": "Comma-separated promotable types to include: Content, Microservices, Services,\nPortalExtensions, Schemas, Bundles. Unknown names are ignored; omitted means content and\nthe whole manifest.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contentIds",
            "in": "query",
            "description": "Comma-separated list of content IDs to filter by.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoteRealmResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/aliases/{alias}": {
      "get": {
        "tags": [
          "Customer"
        ],
        "summary": "Check whether a customer alias is available.",
        "parameters": [
          {
            "name": "alias",
            "in": "path",
            "description": "The alias to check.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AliasAvailableResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/data-bindings/{kind}": {
      "get": {
        "tags": [
          "DataBinding"
        ],
        "summary": "List every binding for a kind, in the caller's scope (realm or zone).",
        "parameters": [
          {
            "name": "kind",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListDataBindingsResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/data-bindings/{kind}/{key}": {
      "get": {
        "tags": [
          "DataBinding"
        ],
        "summary": "Get a single binding by kind + key.",
        "parameters": [
          {
            "name": "kind",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataBinding"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "DataBinding"
        ],
        "summary": "Set or update a binding — points `key` at `namespace` in the given `mode`.",
        "parameters": [
          {
            "name": "kind",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetDataBindingRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetDataBindingRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetDataBindingRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "DataBinding"
        ],
        "summary": "Remove a binding — the key reverts to internal (no row).",
        "parameters": [
          {
            "name": "kind",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/datasets": {
      "get": {
        "tags": [
          "Dataset"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListDatasetsResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Dataset"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDatasetRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDatasetRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDatasetRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasetView"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/datasets/{datasetId}": {
      "get": {
        "tags": [
          "Dataset"
        ],
        "parameters": [
          {
            "name": "datasetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasetView"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "Dataset"
        ],
        "parameters": [
          {
            "name": "datasetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDatasetRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDatasetRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDatasetRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasetView"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Dataset"
        ],
        "parameters": [
          {
            "name": "datasetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/datasets/{datasetId}/transfer-target": {
      "get": {
        "tags": [
          "Dataset"
        ],
        "parameters": [
          {
            "name": "datasetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasetTransferTargetResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/datasets/{datasetId}/identity": {
      "put": {
        "tags": [
          "Dataset"
        ],
        "summary": "Where the source system's player identities are; required by the accounts join.",
        "parameters": [
          {
            "name": "datasetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetDatasetIdentityRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetDatasetIdentityRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetDatasetIdentityRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasetView"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Dataset"
        ],
        "parameters": [
          {
            "name": "datasetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasetView"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/datasets/connectors": {
      "post": {
        "tags": [
          "DatasetConnector"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateConnectorRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateConnectorRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateConnectorRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasetKeyView"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/datasets/{datasetId}/connector/mapping": {
      "put": {
        "tags": [
          "DatasetConnector"
        ],
        "summary": "From here on every batch is published as it lands; the batches landed before are the\nbackfill, handed to the same live path by the message published here. Saved again: the\nfiles a round already covered stay covered.",
        "parameters": [
          {
            "name": "datasetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsEventsImportSpec"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsEventsImportSpec"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsEventsImportSpec"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasetView"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/datasets/{datasetId}/connector/events": {
      "post": {
        "tags": [
          "DatasetConnector"
        ],
        "summary": "A JSON array of objects, with `Authorization: ConnectorKey {key}`. An\n`Idempotency-Key` header names the batch: before the mapping a retry lands over its\nown file, after it a batch that already landed is not landed again. With\n`?root=name`, each element is read from the object under that property of it.",
        "parameters": [
          {
            "name": "datasetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "root",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "413": {
            "description": "Content Too Large",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "202": {
            "description": "Accepted"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "security": [
          {
            "connectorKey": [ ]
          }
        ]
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/datasets/{datasetId}/connector/firehose": {
      "post": {
        "tags": [
          "DatasetConnector"
        ],
        "summary": "Firehose's HTTP endpoint body and response shape. Never rejects a batch for its content:\na Pipe with a Kafka source has no dead letter and blocks its partition on anything but 200.\nWith `?root=name`, each record is read from the object under that property of it (a\nPipe's `{\"record\": <$.body>}`, the one form that keeps a JSON body's quotes).",
        "parameters": [
          {
            "name": "datasetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "root",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FirehoseRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/FirehoseRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/FirehoseRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FirehoseResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "firehoseKey": [ ]
          }
        ]
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/datasets/{datasetId}/files": {
      "get": {
        "tags": [
          "DatasetFile"
        ],
        "parameters": [
          {
            "name": "datasetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "state",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/DatasetFileState"
            }
          },
          {
            "name": "after",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListDatasetFilesResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "DatasetFile"
        ],
        "parameters": [
          {
            "name": "datasetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterDatasetFileRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterDatasetFileRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterDatasetFileRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasetFileUploadResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/datasets/{datasetId}/files/{fileId}": {
      "get": {
        "tags": [
          "DatasetFile"
        ],
        "parameters": [
          {
            "name": "datasetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fileId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasetFile"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "DatasetFile"
        ],
        "parameters": [
          {
            "name": "datasetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fileId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/datasets/{datasetId}/files/{fileId}/parts/{partNumber}/upload-url": {
      "post": {
        "tags": [
          "DatasetFile"
        ],
        "parameters": [
          {
            "name": "datasetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fileId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "partNumber",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasetFilePartUploadUrlResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/datasets/{datasetId}/files/{fileId}/complete": {
      "post": {
        "tags": [
          "DatasetFile"
        ],
        "parameters": [
          {
            "name": "datasetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fileId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CompleteDatasetFileUploadRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CompleteDatasetFileUploadRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CompleteDatasetFileUploadRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasetFile"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/datasets/{datasetId}/imports/preview": {
      "get": {
        "tags": [
          "DatasetImport"
        ],
        "parameters": [
          {
            "name": "datasetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "target",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImportPreviewResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/datasets/{datasetId}/imports": {
      "get": {
        "tags": [
          "DatasetImport"
        ],
        "parameters": [
          {
            "name": "datasetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "after",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListImportsResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/datasets/{datasetId}/imports/{importId}": {
      "get": {
        "tags": [
          "DatasetImport"
        ],
        "summary": "The import. While it is Running the response also carries `progress`, what the ETL\njob last reported (its phase and the tasks of the Spark stage it is in), and the read\ncompletes the import as soon as the job has written its result, without waiting for the\nrun's terminal event. Poll this alone to follow an import.",
        "parameters": [
          {
            "name": "datasetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "importId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImportResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/datasets/{datasetId}/imports/{importId}/id-parts": {
      "get": {
        "tags": [
          "DatasetImport"
        ],
        "summary": "The id parts of the accounts stage, with progress and errors per part.",
        "parameters": [
          {
            "name": "datasetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "importId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListImportIdPartsResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/datasets/{datasetId}/imports/analytics-events": {
      "post": {
        "tags": [
          "DatasetImport"
        ],
        "summary": "Imports the dataset's files not yet imported into `analytics.events`.",
        "parameters": [
          {
            "name": "datasetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsEventsImportSpec"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsEventsImportSpec"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsEventsImportSpec"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasetImport"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/datasets/{datasetId}/imports/{importId}/cancel": {
      "post": {
        "tags": [
          "DatasetImport"
        ],
        "parameters": [
          {
            "name": "datasetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "importId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasetImport"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/datasets/{datasetId}/kit": {
      "get": {
        "tags": [
          "DatasetKit"
        ],
        "parameters": [
          {
            "name": "datasetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SourceKit"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/datasets/{datasetId}/kit/key": {
      "get": {
        "tags": [
          "DatasetKit"
        ],
        "parameters": [
          {
            "name": "datasetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasetKeyView"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/datasets/{datasetId}/kit/key/rotate": {
      "post": {
        "tags": [
          "DatasetKit"
        ],
        "parameters": [
          {
            "name": "datasetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RotateKeyRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RotateKeyRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RotateKeyRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasetKeyView"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/datasets/{datasetId}/kit/key/previous": {
      "delete": {
        "tags": [
          "DatasetKit"
        ],
        "parameters": [
          {
            "name": "datasetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasetView"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/datasets/{datasetId}/kit/files/{name}": {
      "put": {
        "tags": [
          "DatasetKit"
        ],
        "summary": "A kit's file for this source, the body as sent, a stack template usually; replaces one of the same name.",
        "parameters": [
          {
            "name": "datasetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasetView"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/datasets/{datasetId}/kit/revoke": {
      "post": {
        "tags": [
          "DatasetKit"
        ],
        "summary": "Revokes the key, and the source with it, for good: it takes no new data and starts no\nimport. What it brought stays.",
        "parameters": [
          {
            "name": "datasetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasetView"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/datasets/{datasetId}/transfer": {
      "get": {
        "tags": [
          "DatasetTransfer"
        ],
        "summary": "One page of the dataset's runs, newest first, each with its files counted by state: 50\nunless `limit` says otherwise; `after` is the `next` of the page before.",
        "parameters": [
          {
            "name": "datasetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "after",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListTransfersResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/datasets/{datasetId}/transfer/files": {
      "post": {
        "tags": [
          "DatasetTransfer"
        ],
        "summary": "Registers a file. The `Idempotency-Key` header names the source object, so the same\nobject is the same file: one already in is returned in its state, one still\n`AwaitingUpload` is to be uploaded from part 1. It carries the id of the run going,\nif one is: the key is enough, a run is not required.",
        "parameters": [
          {
            "name": "datasetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterDatasetFileRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterDatasetFileRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterDatasetFileRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasetFileUploadResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "security": [
          {
            "connectorKey": [ ]
          }
        ]
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/datasets/{datasetId}/transfer/files/{fileId}/parts/{partNumber}/upload-url": {
      "post": {
        "tags": [
          "DatasetTransfer"
        ],
        "parameters": [
          {
            "name": "datasetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fileId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "partNumber",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasetFilePartUploadUrlResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "security": [
          {
            "connectorKey": [ ]
          }
        ]
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/datasets/{datasetId}/transfer/files/{fileId}/complete": {
      "post": {
        "tags": [
          "DatasetTransfer"
        ],
        "parameters": [
          {
            "name": "datasetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fileId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CompleteDatasetFileUploadRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CompleteDatasetFileUploadRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CompleteDatasetFileUploadRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasetFile"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "security": [
          {
            "connectorKey": [ ]
          }
        ]
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/datasets/{datasetId}/transfer/report": {
      "post": {
        "tags": [
          "DatasetTransfer"
        ],
        "summary": "A run's state, expected totals, execution id, counts and errors: whichever are given.\n`Running` starts a run, `Finished` or `Failed` ends the one going.",
        "parameters": [
          {
            "name": "datasetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TransferReportRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TransferReportRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TransferReportRequest"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "security": [
          {
            "connectorKey": [ ]
          }
        ]
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/scm/github": {
      "get": {
        "tags": [
          "GitHubSignIn"
        ],
        "summary": "Whether this environment offers \"Sign in with GitHub\".",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GitHubSignInInfoResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/scm/github/sign-in": {
      "post": {
        "tags": [
          "GitHubSignIn"
        ],
        "summary": "Start signing in: the GitHub URL to open, for the caller only.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StartGitHubSignInRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/StartGitHubSignInRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/StartGitHubSignInRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StartGitHubSignInResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "503": {
            "description": "Service Unavailable"
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/scm/github/sign-in/complete": {
      "post": {
        "tags": [
          "GitHubSignIn"
        ],
        "summary": "Finish signing in with what GitHub returned. Only the account that started the\nsign-in, in the same scope, can finish it.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CompleteGitHubSignInRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CompleteGitHubSignInRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CompleteGitHubSignInRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScmHostTokenResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "503": {
            "description": "Service Unavailable"
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/lobbies": {
      "get": {
        "tags": [
          "Lobby"
        ],
        "summary": "Query for active lobbies",
        "parameters": [
          {
            "name": "Skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "MatchType",
            "in": "query",
            "schema": {
              "type": "string",
              "x-beamable-semantic-type": "ContentId"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LobbyQueryResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Lobby"
        ],
        "summary": "Create a lobby. A leader is not necessary to create a lobby.",
        "requestBody": {
          "description": "The create lobby request.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateLobby"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateLobby"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateLobby"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Lobby"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Lobby"
        ],
        "summary": "Exposes the internal \"SetLobby\" behavior as an Admin only endpoint.",
        "requestBody": {
          "description": "The lobby to create or replace.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Lobby"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Lobby"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Lobby"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SetLobbyResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/lobbies/{id}": {
      "get": {
        "tags": [
          "Lobby"
        ],
        "summary": "Get the current status of a lobby by id.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The lobby id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Lobby"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Lobby"
        ],
        "summary": "Join a lobby",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Id of the lobby",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "The join lobby request. Includes tags.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JoinLobby"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/JoinLobby"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/JoinLobby"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Lobby"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Lobby"
        ],
        "summary": "Remove the requested player from the lobby. The host is able to remove anyone. Others\nmay\nonly remove themselves without error.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Id of the lobby",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Request including the player requested to remove",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveFromLobby"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveFromLobby"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveFromLobby"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Acknowledge"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/lobbies/passcode": {
      "put": {
        "tags": [
          "Lobby"
        ],
        "summary": "Join a lobby by passcode.",
        "requestBody": {
          "description": "The join lobby request. Includes tags.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JoinLobby"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/JoinLobby"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/JoinLobby"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Lobby"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/lobbies/{id}/metadata": {
      "put": {
        "tags": [
          "Lobby"
        ],
        "summary": "Update the properties of a lobby",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Id of the lobby",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "The update lobby request.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateLobby"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateLobby"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateLobby"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Lobby"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/lobbies/{id}/tags": {
      "put": {
        "tags": [
          "Lobby"
        ],
        "summary": "Add the request tags to the requested player.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Id of the lobby",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Includes the player ID and tags to add.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddTags"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddTags"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddTags"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Lobby"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Lobby"
        ],
        "summary": "Remove the request tags from the requested player.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Id of the lobby",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Includes the player ID and the tags to remove.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveTags"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveTags"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveTags"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Lobby"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/lobbies/{id}/server": {
      "post": {
        "tags": [
          "Lobby"
        ],
        "summary": "Invoke the Lobby actor to make the federated game server request.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Id of the lobby",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Includes an optional matchtype",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateFederatedGameServer"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateFederatedGameServer"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateFederatedGameServer"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/mailbox/publish": {
      "post": {
        "tags": [
          "Mailbox"
        ],
        "summary": "Publish a message to a player mailbox, channel mailbox, or realm broadcast.",
        "requestBody": {
          "description": "Message request. Use PlayerId for player mailbox, Channel for channel mailbox,\nor RealmId for realm broadcast.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MessageRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/MessageRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/MessageRequest"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/matchmaking/matches/{id}": {
      "get": {
        "tags": [
          "Match"
        ],
        "summary": "Fetch a match by ID.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Match ID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Match"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/message-rail/messages": {
      "post": {
        "tags": [
          "MessageRail"
        ],
        "summary": "Enqueue a message send request into the staging queue for a rail Federation.",
        "requestBody": {
          "description": "The send request (targets, federation, attribution, delivery limit).",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendMessagesRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SendMessagesRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SendMessagesRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SendMessagesResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/message-rail/funnel": {
      "post": {
        "tags": [
          "MessageRail"
        ],
        "summary": "Report a downstream funnel stage for one recipient (§H0). This is how a rail whose engagement\nsignal arrives OUT OF BAND gets it counted: an email open pixel, or an in-game mail marked read\ndays after it was delivered.\n\nPush does not need this — the handset echoes the send stamp back on its own analytics\nevent — but email and in-game have no handset, which is why their Delivered/Opened columns were\nstructurally always zero.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReportRailFunnelStageRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ReportRailFunnelStageRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ReportRailFunnelStageRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Accepted"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/message-rail/open/{token}.gif": {
      "get": {
        "tags": [
          "MessageRail"
        ],
        "summary": "The email tracking endpoint (§H4). One handler for every out-of-band stage: the pixel route\nrecords a `beam_opened` and returns a 1x1 GIF, and `?s=beam_clicked` records a click and\nredirects to the button the send node authored.\n\nAnonymous by necessity — the fetch comes from a mail client or the browser it opened, so\nthe token carries its own scope. Every fetch emits its stage, so five opens are five\n`beam_opened` events: the campaign funnel records an outreach's stage once, and anything\ncounting the raw events should count distinct outreach ids.\nOmitting `s` means `beam_opened`, which is what keeps pixel URLs already sitting\nin delivered inboxes working — but only ones minted since the stage names moved into the\n`beam_` namespace. An older URL carries `?s=Clicked`, which is no longer reportable\nand answers with the pixel. Adding a stage never needs a new route or a token change.\n<b>Read email opens as an upper bound.</b> Gmail and most corporate mail proxy and\npre-fetch images, and Apple Mail Privacy Protection fetches them unconditionally, so an email\nopen is not comparable to a push open.",
        "parameters": [
          {
            "name": "token",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "s",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "204": {
            "description": "No Content"
          },
          "302": {
            "description": "Found"
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/message-rail/t/{token}": {
      "get": {
        "tags": [
          "MessageRail"
        ],
        "summary": "The email tracking endpoint (§H4). One handler for every out-of-band stage: the pixel route\nrecords a `beam_opened` and returns a 1x1 GIF, and `?s=beam_clicked` records a click and\nredirects to the button the send node authored.\n\nAnonymous by necessity — the fetch comes from a mail client or the browser it opened, so\nthe token carries its own scope. Every fetch emits its stage, so five opens are five\n`beam_opened` events: the campaign funnel records an outreach's stage once, and anything\ncounting the raw events should count distinct outreach ids.\nOmitting `s` means `beam_opened`, which is what keeps pixel URLs already sitting\nin delivered inboxes working — but only ones minted since the stage names moved into the\n`beam_` namespace. An older URL carries `?s=Clicked`, which is no longer reportable\nand answers with the pixel. Adding a stage never needs a new route or a token change.\n<b>Read email opens as an upper bound.</b> Gmail and most corporate mail proxy and\npre-fetch images, and Apple Mail Privacy Protection fetches them unconditionally, so an email\nopen is not comparable to a push open.",
        "parameters": [
          {
            "name": "token",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "s",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "204": {
            "description": "No Content"
          },
          "302": {
            "description": "Found"
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/message-rail/staging": {
      "get": {
        "tags": [
          "MessageRail"
        ],
        "summary": "Retrieve the current staging-queue state, grouped per Federation.",
        "parameters": [
          {
            "name": "trackId",
            "in": "query",
            "description": "Optional track id to filter staged items.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "federationId",
            "in": "query",
            "description": "Optional federation id to filter.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "externalSystemTrackId",
            "in": "query",
            "description": "Optional originating-system id to filter.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetStagingStateResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/message-rail/register": {
      "post": {
        "tags": [
          "MessageRail"
        ],
        "summary": "Register the requesting player with a rail Federation (e.g. store a push device token). The\nrequest is dispatched to the customer microservice implementing request's\nFederationId. A player may only register themselves unless privileged (non-Guest).",
        "requestBody": {
          "description": "Federation id, target player, and federation-specific registration data.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterUserWithMessageRailRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterUserWithMessageRailRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterUserWithMessageRailRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MessageRailRegistrationResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "503": {
            "description": "Service Unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/message-rail/unregister": {
      "post": {
        "tags": [
          "MessageRail"
        ],
        "summary": "Unregister the requesting player from a rail Federation. A player may only unregister\nthemselves unless privileged (non-Guest).",
        "requestBody": {
          "description": "Federation id and target player.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterUserWithMessageRailRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterUserWithMessageRailRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterUserWithMessageRailRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MessageRailRegistrationResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "503": {
            "description": "Service Unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/offers/grants": {
      "post": {
        "tags": [
          "Offer"
        ],
        "summary": "Entitle players to offers, one hand-out per grant asked. Server-to-server: the campaign runtime\ngrants on its own path, and this route is for operators and integrations doing the same out of\nband, many players at once.",
        "description": "The grants go through the offer registry under their batch's manual origin, so they are visible,\nexpire and end like any campaign grant. Each provider is asked in calls of\nBeamableShared.Services.Offer.OfferGatewayOptions.MaxGrantsPerCall, at its own pace. A grant is visible once its\nresult answers success; a retriable one is asked for again by repeating it with its key.",
        "requestBody": {
          "description": "The grants: provider, player, offer and idempotency key each; optional batch, expiry (in the\nfuture) and metadata.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GrantOffersRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GrantOffersRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GrantOffersRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GrantOffersResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Offer"
        ],
        "summary": "A player's offers, newest first, in pages. Client-callable under the same self-only rule as\nM:BeamableGateway.Controllers.OfferController.RedeemGrant(System.String,BeamableShared.Services.Offer.RedeemOfferRequest).",
        "description": "Read from the offer registry, so every provider's grants come in one call. Each provider is asked\nonly whether its Granted offers are available by its own rules; one that does not answer in\nBeamableShared.Services.Offer.OfferGatewayOptions.AvailabilityTimeoutMs does not hold up the page — its offers are\nlisted without its rules, and a redeem still meets them. The campaign's gate is folded in on\nevery read, which is what lets an offer a player did not yet qualify for unlock the moment they\ndo.",
        "parameters": [
          {
            "name": "playerId",
            "in": "query",
            "description": "The player. Must be the caller unless privileged.",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "states",
            "in": "query",
            "description": "Which states to return, repeated (`states=Granted&states=Redeemed`) or comma-separated.\nOmitted means what the player can still use: Granted and Claiming.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/OfferGrantState"
              }
            }
          },
          {
            "name": "federationId",
            "in": "query",
            "description": "Only this provider's offers.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "The `next` of the previous page.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlayerOffersPage"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/offers/grants/revocations": {
      "post": {
        "tags": [
          "Offer"
        ],
        "summary": "Withdraw unredeemed grants (offer pulled, granted by mistake). A grant is not erased: it stays\nin the registry as `Revoked`, so it no longer lists by default, and its provider is told\nby the revoke worker, at the provider's pace. One being redeemed finishes its redeem and comes\nback expired if refused. Safe to repeat.",
        "description": "A revocation is recorded, not a grant deleted, so the batch is created as a collection of\nrevocations: a `DELETE` cannot carry the list in a body, and the query string bounds it.",
        "requestBody": {
          "description": "The grants to withdraw, as returned when they were created.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RevokeGrantsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RevokeGrantsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RevokeGrantsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RevokeGrantsResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/offers/condition-attributes": {
      "get": {
        "tags": [
          "Offer"
        ],
        "summary": "The attributes an offer's condition can read in the request's realm: the platform vocabulary\nplus the realm's own discovered stat keys. Advisory — a condition may name any stat key.",
        "description": "Scoped by `Campaigns:Read` rather than this controller's resource: its reader is the\ncampaign builder, where an operator authors a condition, and authoring one hands nothing out.",
        "parameters": [
          {
            "name": "refresh",
            "in": "query",
            "description": "Re-read instead of serving the cached catalog, after writing a stat.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OfferConditionAttribute"
                  }
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/offers/grants/on-hold": {
      "get": {
        "tags": [
          "Offer"
        ],
        "summary": "The realm's grants on hold: a redeem whose delivery was never answered, past the window in which\nthe realm's config lets its provider be asked again, for a provider the realm's config gives the\nambiguous outcome `Hold`. Each stays in progress, neither redeemable again nor expiring,\nuntil it is resolved (M:BeamableGateway.Controllers.OfferController.ResolveGrants(BeamableShared.Services.Offer.ResolveGrantsRequest)). One page at a time, oldest delivery first.",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "description": "Most grants in one page.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 100
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "The `next` of the previous page.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OnHoldGrantsResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/offers/grants/resolutions": {
      "post": {
        "tags": [
          "Offer"
        ],
        "summary": "Settle redeems whose delivery was never answered, typically ones on hold, once someone has\nchecked the provider's service: delivered records the redeem (its group's forfeit included),\notherwise the grant goes back to the player. Only a grant being redeemed is resolved.",
        "requestBody": {
          "description": "Each grant and what the operator found.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveGrantsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveGrantsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveGrantsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResolveGrantsResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/offers/grants/redemptions": {
      "post": {
        "tags": [
          "Offer"
        ],
        "summary": "A provider reporting redeems its players made in the provider's own service, outside Beamable.\nEach grant is recorded as redeemed and its group's forfeit applied; the campaign's gate never\napplied to that redeem. One that had already ended here (revoked, expired) is redeemed anyway\nand marked so; one not yet shown to the player is left alone and answers\nBeamableShared.Services.Offer.ReportOfferRedeemedResult.NotYetVisible, to be reported again. Safe to repeat.",
        "description": "The redeems already happened, so this records them rather than asking for them: unlike\nM:BeamableGateway.Controllers.OfferController.RedeemGrant(System.String,BeamableShared.Services.Offer.RedeemOfferRequest), the provider is not called and nothing is delivered.",
        "requestBody": {
          "description": "The provider, and each player and grant as the provider was handed them.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReportGrantsRedeemedRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ReportGrantsRedeemedRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ReportGrantsRedeemedRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportGrantsRedeemedResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/offers/origins/{originId}": {
      "delete": {
        "tags": [
          "Offer"
        ],
        "summary": "Close a batch of manual grants in this realm: every grant of it not yet redeemed expires now.\nOne being redeemed finishes its redeem. Safe to repeat.",
        "description": "Only the operator's own batches (BeamableShared.Services.Offer.GrantOfferRequest.OriginId), and only in the\nrequest's realm: a campaign's grants are closed by the campaign, and a batch name is free text\nthat two realms may both use.",
        "parameters": [
          {
            "name": "originId",
            "in": "path",
            "description": "The batch, as its grants named it.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RevokeOfferOriginResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/offers/grants/{grantId}/redeem": {
      "post": {
        "tags": [
          "Offer"
        ],
        "summary": "Redeem a grant. Client-callable: a player may only redeem their own grant unless privileged\n(non-Guest).",
        "description": "The grant is claimed in the registry first, so two redeems cannot both deliver it, and only then\nis the campaign's gate checked, on fresh stats, by the same evaluator the list uses — a locked\noffer and a refused redeem can never disagree. Repeating a redeem is safe: a redeemed grant\nanswers success again, and one whose delivery is unresolved answers\nBeamableShared.Federation.Offer.OfferContract.PendingStatus until it can be asked again.",
        "parameters": [
          {
            "name": "grantId",
            "in": "path",
            "description": "The grant to redeem.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The player and the provider's own parameters.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RedeemOfferRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RedeemOfferRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RedeemOfferRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedeemOfferResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtoError"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/parties": {
      "post": {
        "tags": [
          "Party"
        ],
        "summary": "Create a party for the current player.",
        "requestBody": {
          "description": "Argument to pass to the party actor to initialize state.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateParty"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateParty"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateParty"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Party"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Party"
        ],
        "summary": "Exposes the internal \"SetParty\" behavior as an Admin only endpoint.",
        "requestBody": {
          "description": "The party to create or replace.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Party"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Party"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Party"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Party"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/parties/{id}/metadata": {
      "put": {
        "tags": [
          "Party"
        ],
        "summary": "Updates party state.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Id of the party",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Argument to pass to the party actor to update state.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateParty"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateParty"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateParty"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Party"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/parties/{id}": {
      "get": {
        "tags": [
          "Party"
        ],
        "summary": "Return the status of a party.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Id of the party",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Party"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Party"
        ],
        "summary": "Join a party",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Id of the party",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "The list of player tags when joining the party",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PartyMemberTags"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PartyMemberTags"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PartyMemberTags"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Party"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/parties/{id}/promote": {
      "put": {
        "tags": [
          "Party"
        ],
        "summary": "Promote a party member to leader.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Id of the party",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Player to promote to leader",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PromoteNewLeader"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PromoteNewLeader"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PromoteNewLeader"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Party"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/parties/{id}/invite": {
      "post": {
        "tags": [
          "Party"
        ],
        "summary": "Invite a player to a party",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Id of the party",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Player to invite to the party",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InviteToParty"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InviteToParty"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InviteToParty"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      },
      "delete": {
        "tags": [
          "Party"
        ],
        "summary": "Cancel party invitation.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Id of the party",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Player to be uninvited",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CancelInviteToParty"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CancelInviteToParty"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CancelInviteToParty"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/parties/{id}/members": {
      "delete": {
        "tags": [
          "Party"
        ],
        "summary": "Remove the requested player from the party. The leader is able to remove anyone. Others may\nonly remove themselves without error.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Id of the party",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "The leave party request",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeaveParty"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/LeaveParty"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/LeaveParty"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/parties/{id}/tags": {
      "put": {
        "tags": [
          "Party"
        ],
        "summary": "Update the tags for the player.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Id of the party",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Tags to update for the player.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePartyTags"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePartyTags"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePartyTags"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Party"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/players/{playerId}/lobbies": {
      "get": {
        "tags": [
          "PlayerLobby"
        ],
        "summary": "Fetch the requested player's lobby information",
        "parameters": [
          {
            "name": "playerId",
            "in": "path",
            "description": "Player Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Lobby"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "PlayerLobby"
        ],
        "summary": "If the requested player is in a lobby, remove the player",
        "parameters": [
          {
            "name": "playerId",
            "in": "path",
            "description": "Player Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/players/{playerId}/parties": {
      "get": {
        "tags": [
          "PlayerParty"
        ],
        "summary": "Fetch the requested player's party information",
        "parameters": [
          {
            "name": "playerId",
            "in": "path",
            "description": "Player Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Party"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "PlayerParty"
        ],
        "summary": "If the requested player is in a party, remove the player",
        "parameters": [
          {
            "name": "playerId",
            "in": "path",
            "description": "Player Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/players/{playerId}/parties/invites": {
      "get": {
        "tags": [
          "PlayerParty"
        ],
        "summary": "Return list of party invites for player.",
        "parameters": [
          {
            "name": "playerId",
            "in": "path",
            "description": "PlayerId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyInvitesForPlayerResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/players/{playerId}/party/invites": {
      "get": {
        "tags": [
          "PlayerParty"
        ],
        "summary": "Return list of party invites for player.",
        "parameters": [
          {
            "name": "playerId",
            "in": "path",
            "description": "PlayerId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartyInvitesForPlayerResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/players/{playerId}/presence": {
      "put": {
        "tags": [
          "PlayerPresence"
        ],
        "summary": "Submit a heartbeat to mark the requesting player as online.",
        "parameters": [
          {
            "name": "playerId",
            "in": "path",
            "description": "The player ID to heartbeat. Must match the authenticated player.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      },
      "get": {
        "tags": [
          "PlayerPresence"
        ],
        "summary": "Get the current online status of a player.",
        "parameters": [
          {
            "name": "playerId",
            "in": "path",
            "description": "Player ID to retrieve online status for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OnlineStatus"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/players/{playerId}/presence/status": {
      "put": {
        "tags": [
          "PlayerPresence"
        ],
        "summary": "Set a custom presence status for the requesting player.",
        "parameters": [
          {
            "name": "playerId",
            "in": "path",
            "description": "The player ID to update. Must match the authenticated player.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Presence status to set.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetPresenceStatusRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetPresenceStatusRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetPresenceStatusRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OnlineStatus"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/realms/{realmId}/players/{playerId}/segments": {
      "get": {
        "tags": [
          "PlayerSegments"
        ],
        "summary": "The zone segments the player is in, in the realm, read from the zone's buckets.",
        "parameters": [
          {
            "name": "realmId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "playerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "customerId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PlayerSegmentInfo"
                  }
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/players/{playerId}/sessions": {
      "get": {
        "tags": [
          "PlayerSession"
        ],
        "summary": "Get session history for a player.",
        "parameters": [
          {
            "name": "playerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "month",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "year",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionHistoryResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/players/{playerId}/sessions/client": {
      "get": {
        "tags": [
          "PlayerSession"
        ],
        "summary": "Get session history for the requesting player (client endpoint).",
        "parameters": [
          {
            "name": "playerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "month",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "year",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionClientHistoryResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/players/{playerId}/stats": {
      "get": {
        "tags": [
          "PlayerStats"
        ],
        "parameters": [
          {
            "name": "playerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "domain",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "game"
            }
          },
          {
            "name": "visibility",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/StatsVisibility"
            }
          },
          {
            "name": "keys",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetStatsResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "PlayerStats"
        ],
        "parameters": [
          {
            "name": "playerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "domain",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "game"
            }
          },
          {
            "name": "visibility",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/StatsVisibility"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetStatsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetStatsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetStatsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommonResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "PlayerStats"
        ],
        "parameters": [
          {
            "name": "playerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "domain",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "game"
            }
          },
          {
            "name": "visibility",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/StatsVisibility"
            }
          },
          {
            "name": "keys",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommonResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/players/{playerId}/matchmaking/tickets": {
      "get": {
        "tags": [
          "PlayerTicket"
        ],
        "summary": "Fetch the requested player's active Ticket information",
        "parameters": [
          {
            "name": "playerId",
            "in": "path",
            "description": "Player Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketQueryResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/presence/recent": {
      "get": {
        "tags": [
          "Presence"
        ],
        "summary": "List the realm's players, most recently online first. Accurate to within a few\nminutes, since presence is only saved periodically.",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "description": "How many players to return; capped at 100.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecentlyOnlineResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/presence/query": {
      "post": {
        "tags": [
          "Presence"
        ],
        "summary": "Query the online status for a batch of players.",
        "requestBody": {
          "description": "Query containing the player IDs to look up.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OnlineStatusQuery"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/OnlineStatusQuery"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/OnlineStatusQuery"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlayersStatusResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/realms/{realmId}/secrets/values/{key}": {
      "get": {
        "tags": [
          "RealmSecrets"
        ],
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "realmId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetRealmSecretResponse"
                }
              }
            }
          }
        },
        "deprecated": true
      },
      "put": {
        "tags": [
          "RealmSecrets"
        ],
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "realmId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PutRealmSecretRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PutRealmSecretRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PutRealmSecretRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Acknowledge"
                }
              }
            }
          }
        },
        "deprecated": true
      },
      "delete": {
        "tags": [
          "RealmSecrets"
        ],
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "realmId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Acknowledge"
                }
              }
            }
          }
        },
        "deprecated": true
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/realms/{realmId}/secrets/values": {
      "get": {
        "tags": [
          "RealmSecrets"
        ],
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "realmId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RealmSecretInfoCursorPagedResult"
                }
              }
            }
          }
        },
        "deprecated": true
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/realms/{realmId}/secrets/data-keys": {
      "get": {
        "tags": [
          "RealmSecrets"
        ],
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "realmId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RealmDataKeyInfoCursorPagedResult"
                }
              }
            }
          }
        },
        "deprecated": true
      },
      "post": {
        "tags": [
          "RealmSecrets"
        ],
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "realmId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RotateRealmDataKeyResponse"
                }
              }
            }
          }
        },
        "deprecated": true
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/realms/{realmId}/secrets/audit-logs": {
      "get": {
        "tags": [
          "RealmSecrets"
        ],
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "realmId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SecretKey",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "AccountId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PlayerId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RealmSecretsAuditInfoCursorPagedResult"
                }
              }
            }
          }
        },
        "deprecated": true
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/scheduler/job": {
      "post": {
        "tags": [
          "Scheduler"
        ],
        "summary": "Create or update a job definition.",
        "requestBody": {
          "description": "Job definition to create or update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JobDefinitionSaveRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/JobDefinitionSaveRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/JobDefinitionSaveRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JobDefinitionView"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/internal/scheduler/job": {
      "post": {
        "tags": [
          "Scheduler"
        ],
        "summary": "Create or update a job definition.",
        "requestBody": {
          "description": "Job definition to create or update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JobDefinitionSaveRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/JobDefinitionSaveRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/JobDefinitionSaveRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JobDefinitionView"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/scheduler/jobs": {
      "get": {
        "tags": [
          "Scheduler"
        ],
        "summary": "List job definitions for the current realm. DEPRECATED: Use jobs-paged instead.",
        "parameters": [
          {
            "name": "source",
            "in": "query",
            "description": "Optional source filter.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "query",
            "description": "Optional name filter.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Maximum number of results. Cannot exceed 10000.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1000
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/JobDefinition"
                  }
                }
              }
            }
          }
        },
        "deprecated": true
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/scheduler/jobs-paged": {
      "get": {
        "tags": [
          "Scheduler"
        ],
        "summary": "List job definitions for the current realm with cursor-based pagination.",
        "parameters": [
          {
            "name": "source",
            "in": "query",
            "description": "Optional source filter.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "query",
            "description": "Optional name filter.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "onlyUnique",
            "in": "query",
            "description": "When true, only returns unique jobs.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "Pagination cursor from a previous response.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JobDefinitionViewCursorPagedResult"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/scheduler/jobs/suspended": {
      "get": {
        "tags": [
          "Scheduler"
        ],
        "summary": "List suspended job definitions with cursor-based pagination.",
        "parameters": [
          {
            "name": "from",
            "in": "query",
            "description": "Return jobs suspended from this datetime. Mutually exclusive with cursor.",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "Pagination cursor from a previous response. Mutually exclusive with from.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JobDefinitionViewCursorPagedResult"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/scheduler/job/{jobId}": {
      "get": {
        "tags": [
          "Scheduler"
        ],
        "summary": "Get a single job definition by ID.",
        "parameters": [
          {
            "name": "jobId",
            "in": "path",
            "description": "ID of the job to retrieve.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JobDefinitionView"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Scheduler"
        ],
        "summary": "Delete a job definition and remove it from the scheduler.",
        "parameters": [
          {
            "name": "jobId",
            "in": "path",
            "description": "ID of the job to delete.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/scheduler/job/{jobId}/activity": {
      "get": {
        "tags": [
          "Scheduler"
        ],
        "summary": "List activity records for a specific job. DEPRECATED: Use job/{jobId}/activity-paged instead.",
        "parameters": [
          {
            "name": "jobId",
            "in": "path",
            "description": "ID of the job to retrieve activity for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Maximum number of results. Cannot exceed 10000.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1000
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/JobActivity"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "deprecated": true
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/scheduler/job/{jobId}/activity-paged": {
      "get": {
        "tags": [
          "Scheduler"
        ],
        "summary": "List activity records for a specific job with cursor-based pagination.",
        "parameters": [
          {
            "name": "jobId",
            "in": "path",
            "description": "ID of the job to retrieve activity for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "Pagination cursor from a previous response.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JobActivityViewCursorPagedResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/scheduler/jobs/activity-paged": {
      "get": {
        "tags": [
          "Scheduler"
        ],
        "summary": "List activity records across all jobs in the realm with cursor-based pagination.",
        "parameters": [
          {
            "name": "cursor",
            "in": "query",
            "description": "Pagination cursor from a previous response.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JobActivityViewCursorPagedResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/scheduler/job/{jobId}/next-executions": {
      "get": {
        "tags": [
          "Scheduler"
        ],
        "summary": "Preview the next scheduled execution times for a job.",
        "parameters": [
          {
            "name": "jobId",
            "in": "path",
            "description": "ID of the job to compute schedules for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "Start time for the schedule preview. Defaults to now.",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Maximum number of executions to return. Cannot exceed 1000.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 200
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "format": "date-time"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/scheduler/job/{jobId}/cancel": {
      "put": {
        "tags": [
          "Scheduler"
        ],
        "summary": "Cancel a job's triggers, preventing future executions without deleting the job definition.",
        "parameters": [
          {
            "name": "jobId",
            "in": "path",
            "description": "ID of the job to cancel.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/secrets/values/{key}": {
      "get": {
        "tags": [
          "Secrets"
        ],
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetRealmSecretResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Secrets"
        ],
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PutRealmSecretRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PutRealmSecretRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PutRealmSecretRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Acknowledge"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Secrets"
        ],
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Acknowledge"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/secrets/values": {
      "get": {
        "tags": [
          "Secrets"
        ],
        "parameters": [
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RealmSecretInfoCursorPagedResult"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/secrets/data-keys": {
      "get": {
        "tags": [
          "Secrets"
        ],
        "parameters": [
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RealmDataKeyInfoCursorPagedResult"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Secrets"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RotateRealmDataKeyResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/secrets/audit-logs": {
      "get": {
        "tags": [
          "Secrets"
        ],
        "parameters": [
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SecretKey",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "AccountId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PlayerId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RealmSecretsAuditInfoCursorPagedResult"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/sessions": {
      "post": {
        "tags": [
          "Session"
        ],
        "summary": "Start a session for a player. Used by old clients whose POST /basic/session\nis forwarded by the Scala proxy.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StartSessionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/StartSessionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/StartSessionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "deprecated": true
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/sessions/heartbeat": {
      "post": {
        "tags": [
          "Session"
        ],
        "summary": "Legacy session heartbeat. Bridges into the actor presence system\nso old clients that don't use WebSocket presence pings appear online.",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "deprecated": true
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/sessions/status": {
      "get": {
        "tags": [
          "Session"
        ],
        "summary": "Legacy online status endpoint. Handles GET /sessions/status forwarded\nby the Scala proxy for old clients that query online status via the\nsession service rather than the presence API.",
        "parameters": [
          {
            "name": "playerIds",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "intervalSecs",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "deprecated": true
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/scm/connections": {
      "get": {
        "tags": [
          "SourceControl"
        ],
        "summary": "The scope's connections, by name; with `ids`, just those, in that order (404\nif any is missing).",
        "parameters": [
          {
            "name": "ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "uuid"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListScmConnectionsResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "SourceControl"
        ],
        "summary": "Register a repository for the zone (each user then adds their own token).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScmConnectionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ScmConnectionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ScmConnectionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScmConnection"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "SourceControl"
        ],
        "summary": "Remove several connections and their tokens; 404 if any is missing.",
        "parameters": [
          {
            "name": "ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "uuid"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Acknowledge"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/scm/connections/{connectionId}": {
      "get": {
        "tags": [
          "SourceControl"
        ],
        "summary": "One connection; says whether the caller's token is set, never the token.",
        "parameters": [
          {
            "name": "connectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScmConnection"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "SourceControl"
        ],
        "summary": "Replace a connection's settings. Users' tokens are untouched.",
        "parameters": [
          {
            "name": "connectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScmConnectionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ScmConnectionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ScmConnectionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScmConnection"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "SourceControl"
        ],
        "summary": "Remove a connection and every user's token for it.",
        "parameters": [
          {
            "name": "connectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Acknowledge"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/scm/connections/batch": {
      "post": {
        "tags": [
          "SourceControl"
        ],
        "summary": "Register several repositories at once; all or none are created.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateScmConnectionsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateScmConnectionsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateScmConnectionsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListScmConnectionsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "SourceControl"
        ],
        "summary": "Replace several connections' settings; all or none change.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateScmConnectionsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateScmConnectionsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateScmConnectionsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListScmConnectionsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/scm/connections/{connectionId}/token": {
      "put": {
        "tags": [
          "SourceControl"
        ],
        "summary": "Save (or replace) YOUR token for a connection — always the caller's own; there\nis no way to set another user's. Write-only: no public route returns it. Needs\nonly read access, since it changes nothing anyone else sees.",
        "parameters": [
          {
            "name": "connectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetScmTokenRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetScmTokenRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetScmTokenRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScmConnection"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "SourceControl"
        ],
        "summary": "Remove YOUR token for a connection.",
        "parameters": [
          {
            "name": "connectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScmConnection"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/scm/hosts/{host}/token": {
      "get": {
        "tags": [
          "SourceControl"
        ],
        "summary": "Whether YOU have a token for a Git host (e.g. `github.com`). A host token\nserves every connection on that host that has no token of its own, so one token\ncovers all the repositories it can reach.",
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScmHostTokenResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "SourceControl"
        ],
        "summary": "Save (or replace) YOUR token for a Git host. Always the caller's own; write-only,\nlike a connection token. Needs only read access.",
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetScmTokenRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetScmTokenRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetScmTokenRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScmHostTokenResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "SourceControl"
        ],
        "summary": "Remove YOUR token for a Git host.",
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScmHostTokenResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/scm/hosts/{host}/repositories": {
      "get": {
        "tags": [
          "SourceControlOperations"
        ],
        "summary": "The repositories the caller's saved token for a host reaches.",
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListScmRepositoriesResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/scm/repositories/inspect": {
      "post": {
        "tags": [
          "SourceControlOperations"
        ],
        "summary": "A repository's name, default branch and Beamable folders, before connecting it.\nNothing is stored, including a token sent with the request.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InspectScmRepositoryRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InspectScmRepositoryRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InspectScmRepositoryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScmRepositoryInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/scm/connections/{connectionId}/test": {
      "post": {
        "tags": [
          "SourceControlOperations"
        ],
        "summary": "Whether the caller's token can read the connection's default branch.",
        "parameters": [
          {
            "name": "connectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TestScmConnectionResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/scm/connections/{connectionId}/snapshot": {
      "post": {
        "tags": [
          "SourceControlOperations"
        ],
        "summary": "The connection's repository at a ref, as a short-lived download link.",
        "parameters": [
          {
            "name": "connectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScmSnapshotRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ScmSnapshotRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ScmSnapshotRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScmSnapshotResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/scm/connections/{connectionId}/archive": {
      "post": {
        "tags": [
          "SourceControlOperations"
        ],
        "summary": "The connection's repository at a commit, as a tar.gz streamed from the host, for\nhosts whose archives need the token (a snapshot's `archiveThroughGateway`).\nPassed through as it arrives: nothing is buffered or stored.",
        "parameters": [
          {
            "name": "connectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScmArchiveRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ScmArchiveRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ScmArchiveRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/gzip": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/scm/connections/{connectionId}/publish": {
      "post": {
        "tags": [
          "SourceControlOperations"
        ],
        "summary": "Commits on top of a snapshot's commit, as a new branch under the connection's\nprefix, and a pull request unless `pullRequest` is false.",
        "parameters": [
          {
            "name": "connectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScmPublishRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ScmPublishRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ScmPublishRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScmPublishResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/stats/keys": {
      "get": {
        "tags": [
          "Stats"
        ],
        "summary": "The first few distinct stat keys of a player namespace (`game.private`) starting\nwith prefix, each with one sampled value; for an editor's key\nsuggestions. Index order, so the prefix is case-sensitive.",
        "parameters": [
          {
            "name": "namespace",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "prefix",
            "in": "query",
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListStatKeysResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/stats/{itemType}/{id}": {
      "get": {
        "tags": [
          "Stats"
        ],
        "parameters": [
          {
            "name": "itemType",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "domain",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "game"
            }
          },
          {
            "name": "visibility",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/StatsVisibility"
            }
          },
          {
            "name": "keys",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetStatsResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Stats"
        ],
        "parameters": [
          {
            "name": "itemType",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "domain",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "visibility",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/StatsVisibility"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetStatsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetStatsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetStatsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommonResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Stats"
        ],
        "parameters": [
          {
            "name": "itemType",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "domain",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "visibility",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/StatsVisibility"
            }
          },
          {
            "name": "keys",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommonResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/stats/subscription": {
      "put": {
        "tags": [
          "Stats"
        ],
        "summary": "Subscribe a service to stat change notifications.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StatsSubscribeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/StatsSubscribeRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/StatsSubscribeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommonResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Stats"
        ],
        "summary": "Unsubscribe a service from stat change notifications.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StatsUnsubscribeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/StatsUnsubscribeRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/StatsUnsubscribeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommonResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/stats/batch": {
      "post": {
        "tags": [
          "Stats"
        ],
        "summary": "Batch get stats for multiple targets.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchGetRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchGetRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BatchGetRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BatchGetStatsResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Stats"
        ],
        "summary": "Batch write stats for multiple targets.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchWriteRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchWriteRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BatchWriteRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommonResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/stats/players/batch": {
      "post": {
        "tags": [
          "Stats"
        ],
        "summary": "Read one namespace's stats for many players in one call, straight from storage. Unlike\n`POST stats/batch` it never activates an actor or creates a document, returns one result\nper distinct player in request order, and caps the request at\nBeamableShared.Services.Stats.StatsService.MaxBatchPlayerIds distinct players.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PlayersBatchGetRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PlayersBatchGetRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PlayersBatchGetRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlayersBatchGetResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/stats/query": {
      "post": {
        "tags": [
          "Stats"
        ],
        "summary": "Query for objects by stat criteria. Returns matching object IDs.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StatsSearchRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/StatsSearchRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/StatsSearchRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StatsSearchResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/stats/query/extended": {
      "post": {
        "tags": [
          "Stats"
        ],
        "summary": "Query for objects by stat criteria. Returns matching object IDs\nwith their stat values, optionally filtered by statKeys.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StatsSearchExtendedRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/StatsSearchExtendedRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/StatsSearchExtendedRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StatsSearchExtendedResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/matchmaking/tickets": {
      "get": {
        "tags": [
          "Ticket"
        ],
        "summary": "Query for active tickets",
        "parameters": [
          {
            "name": "Players",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "x-beamable-semantic-type": "Gamertag"
            }
          },
          {
            "name": "IncludeInactive",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketQueryResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Ticket"
        ],
        "summary": "Create a ticket representing 1 or more players to be matched\nwith others.",
        "requestBody": {
          "description": "Ticket reservation request specifying players and match types.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketReservationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketReservationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TicketReservationRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketReservationResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/matchmaking/tickets/{id}": {
      "get": {
        "tags": [
          "Ticket"
        ],
        "summary": "Fetch a ticket by ID.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Ticket ID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Ticket"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Ticket"
        ],
        "summary": "Cancel a pending ticket. If no ticket with the id exists, this will\nstill return a 204.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Ticket ID to cancel.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/stats/virtual": {
      "get": {
        "tags": [
          "VirtualStats"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListVirtualStatsResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "VirtualStats"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveVirtualStatRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveVirtualStatRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SaveVirtualStatRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VirtualStatDefinition"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/stats/virtual/validate": {
      "post": {
        "tags": [
          "VirtualStats"
        ],
        "summary": "The findings of M:BeamableShared.Services.Stats.Virtual.VirtualStatsService.Validate(BeamableShared.Services.Stats.StatsNamespace,System.String,System.String,BeamableShared.Utils.RealmInfo) as data: always 200, for an editor to poll.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateVirtualStatRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateVirtualStatRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateVirtualStatRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidateVirtualStatResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/stats/virtual/{visibility}/{key}": {
      "put": {
        "tags": [
          "VirtualStats"
        ],
        "parameters": [
          {
            "name": "visibility",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/StatsVisibility"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateVirtualStatRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateVirtualStatRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateVirtualStatRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VirtualStatDefinition"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "VirtualStats"
        ],
        "parameters": [
          {
            "name": "visibility",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/StatsVisibility"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/stats/virtual/{visibility}/{key}/{playerId}": {
      "get": {
        "tags": [
          "VirtualStats"
        ],
        "parameters": [
          {
            "name": "visibility",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/StatsVisibility"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "playerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetVirtualStatsResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/stats/virtual/backfill": {
      "post": {
        "tags": [
          "VirtualStats"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BackfillRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BackfillRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BackfillRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Accepted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StartJobResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/stats/virtual/recompute": {
      "post": {
        "tags": [
          "VirtualStats"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecomputeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RecomputeRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RecomputeRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Accepted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StartJobResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/stats/virtual/jobs": {
      "get": {
        "tags": [
          "VirtualStats"
        ],
        "parameters": [
          {
            "name": "importId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListJobsResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/stats/virtual/jobs/{id}": {
      "get": {
        "tags": [
          "VirtualStats"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VirtualStatJobView"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/stats/virtual/jobs/{id}/cancel": {
      "post": {
        "tags": [
          "VirtualStats"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VirtualStatJobView"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/workflow/{executionId}/status": {
      "get": {
        "tags": [
          "Workflow"
        ],
        "parameters": [
          {
            "name": "executionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowStatusResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/workflow/{executionId}/cancel": {
      "post": {
        "tags": [
          "Workflow"
        ],
        "parameters": [
          {
            "name": "executionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CancelWorkflowRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CancelWorkflowRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CancelWorkflowRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Acknowledge"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/workflow/{executionId}/restart": {
      "post": {
        "tags": [
          "Workflow"
        ],
        "parameters": [
          {
            "name": "executionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Acknowledge"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/zones": {
      "get": {
        "tags": [
          "Zones"
        ],
        "summary": "List the zones of a customer that are visible to the caller. Customer-level\nAdmins see every zone; other callers only see zones on which their effective\nzone role is at least Tester.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "ID of the customer.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ZonesResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Zones"
        ],
        "summary": "Create a new zone under a customer.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "ID of the customer to create the zone under.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Zone creation request.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateZoneRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateZoneRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateZoneRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ZoneView"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/zones/{zoneId}": {
      "get": {
        "tags": [
          "Zones"
        ],
        "summary": "Get a specific zone by customer and zone ID.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "ID of the customer.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "description": "ID of the zone to retrieve.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ZoneView"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Zones"
        ],
        "summary": "Archive (soft-delete) a zone. Blocked while any realm is bound to the zone.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "ID of the customer that owns the zone.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "description": "ID of the zone to archive.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyMessage"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/zones/{zoneId}/rename": {
      "put": {
        "tags": [
          "Zones"
        ],
        "summary": "Rename a zone.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "ID of the customer that owns the zone.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "description": "ID of the zone to rename.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Rename request with the new name.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RenameZoneRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RenameZoneRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RenameZoneRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyMessage"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/zones/{zoneId}/roles/{accountId}": {
      "put": {
        "tags": [
          "Zones"
        ],
        "summary": "Set the zone-scoped role of an account.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "ID of the customer that owns the zone.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "description": "ID of the zone the role is scoped to.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "accountId",
            "in": "path",
            "description": "ID of the account to grant the role to.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The role to set.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetZoneRoleRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetZoneRoleRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetZoneRoleRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyMessage"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Zones"
        ],
        "summary": "Remove the zone-scoped role of an account. The zone's default role (if any)\napplies afterwards.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "ID of the customer that owns the zone.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "description": "ID of the zone the role is scoped to.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "accountId",
            "in": "path",
            "description": "ID of the account to remove the role from.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyMessage"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/realms/{realmId}/zone": {
      "put": {
        "tags": [
          "Zones"
        ],
        "summary": "Bind a realm to a zone, or unbind it when no zone ID is given. A realm has at\nmost one zone and defaults to none.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "ID of the customer.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "realmId",
            "in": "path",
            "description": "ID of the realm to bind.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Binding request with the zone ID, or null to unbind.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetRealmZoneRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetRealmZoneRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetRealmZoneRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SetRealmZoneResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/zones/{zoneId}/promotion": {
      "post": {
        "tags": [
          "Zones"
        ],
        "summary": "Promote parts of the Beamo manifest (`Services` with their storages,\n`PortalExtensions`, `Schemas`, `Bundles`; `Microservices` names all\nfour, reported as one row) from a source zone into the destination zone. However many parts are named, one\nmanifest is posted: the destination's with those parts replaced by the source's (an active\nentry only the destination has must be archived there first, or the post is refused with\n`MissingReferences`). Zone→zone only.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "ID of the customer.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "description": "ID of the zone to promote into.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Promotion request specifying the source zone and, optionally, which types to promote\n(all when omitted).",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PromoteZoneRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PromoteZoneRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PromoteZoneRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoteZoneResponse"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Zones"
        ],
        "summary": "Preview what a zone→zone promotion would change, without applying it.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "ID of the customer.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "description": "ID of the destination zone.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sourceZoneId",
            "in": "query",
            "description": "ID of the source zone.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "promotables",
            "in": "query",
            "description": "Comma-separated promotable types to include: Services, PortalExtensions, Schemas, Bundles\n(Microservices names all four, reported as one whole-manifest row). Unknown names are\nignored; omitted means all four parts.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoteZoneResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/zones/{zoneId}/segments": {
      "get": {
        "tags": [
          "Zones"
        ],
        "summary": "The zone's segments: with `ids`, those (an id with no segment left out, no cursor);\notherwise a page in id order, in `state` or every state, `limit` at a time (1 to\n1,000; default 50), with `tags` those carrying all of them, and with `managedBy`\nordinary ones (`none`), every system-managed one (`any`) or one system's. Each comes\nwith its counts; `include` adds any of authors, overrides, dependents and icon (its\nimage; without it, only its hash) (comma-separated).",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "state",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SegmentState"
            }
          },
          {
            "name": "include",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          },
          {
            "name": "tags",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "managedBy",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SegmentResponseCursorPagedResult"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Zones"
        ],
        "summary": "Creates a zone segment: a rule, or none (its members are then its overrides).",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSegmentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSegmentRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSegmentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SegmentResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/zones/{zoneId}/segments/{segmentId}": {
      "put": {
        "tags": [
          "Zones"
        ],
        "summary": "Updates a zone segment; a rule or realms change makes a new version, decided by its sync.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "segmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSegmentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSegmentRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSegmentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SegmentResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/zones/{zoneId}/segments/states": {
      "post": {
        "tags": [
          "Zones"
        ],
        "summary": "Moves segments to a state (Active, Disabled or Archived), each on its own: per segment, the\nsegment as written or why it wasn't.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetSegmentStatesRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetSegmentStatesRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetSegmentStatesRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SegmentResultsResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/zones/{zoneId}/segments/overrides": {
      "post": {
        "tags": [
          "Zones"
        ],
        "summary": "Queues overrides, per (segment, realm): players to include, to exclude and to clear of\neither; written by jobs in the order asked. Per item, queued or why it wasn't.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SegmentOverridesRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SegmentOverridesRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SegmentOverridesRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SegmentOverridesResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/zones/{zoneId}/segments/{segmentId}/icon": {
      "put": {
        "tags": [
          "Zones"
        ],
        "summary": "Sets a segment's icon: a PNG or WebP image, at most 32 KB and 256x256 pixels. A label: anyone\nwho may write segments may change it, a system's segment included.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "segmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetSegmentIconRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetSegmentIconRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetSegmentIconRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SegmentResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Zones"
        ],
        "summary": "Removes a segment's icon.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "segmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SegmentResponse"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Zones"
        ],
        "summary": "A segment's icon, as the image itself; its hash is the ETag, so a reader holding it gets 304\nuntil the icon changes. 404 when the segment has none.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "segmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/zones/{zoneId}/segments/tags": {
      "get": {
        "tags": [
          "Zones"
        ],
        "summary": "The tags of the zone's segments that aren't archived, each with how many carry it.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SegmentTagsResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/zones/{zoneId}/segments/{segmentId}/release": {
      "post": {
        "tags": [
          "Zones"
        ],
        "summary": "Makes a system-managed segment an ordinary one, for when its system is gone.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "segmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SegmentResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/zones/{zoneId}/segments/properties": {
      "post": {
        "tags": [
          "Zones"
        ],
        "summary": "Segments' property values from their rollups: per property stat over each of the segment's\nrealms and the zone, in the stat's own units, the extremes' holders as accounts.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SegmentPropertiesRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SegmentPropertiesRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SegmentPropertiesRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SegmentPropertiesResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/zones/{zoneId}/segments/aggregates": {
      "post": {
        "tags": [
          "Zones"
        ],
        "summary": "Aggregates of stored stats over segment sets (rules of segment references: and, or, not),\neach set on its own: its members, its stats' values and a sample of its members per realm;\nor why it was refused.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SegmentSetsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SegmentSetsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SegmentSetsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SegmentSetsResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/zones/{zoneId}/segments/history/flow": {
      "post": {
        "tags": [
          "Zones"
        ],
        "summary": "A flow over the zone's analytics events: per day or hour, segment and realm, the entries, exits\nand rebuilds, as a presigned URL to the result CSV. The query runs within the request's\ndeadline (X-BEAM-TIMEOUT); past it, 504, and asking again within a few minutes reattaches to it.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SegmentFlowRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SegmentFlowRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SegmentFlowRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SegmentHistoryResult"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/zones/{zoneId}/segments/history/players": {
      "post": {
        "tags": [
          "Zones"
        ],
        "summary": "A player's segment history in a realm of the zone: its entries and exits, newest first, each\nentry with when its stay ended, and the realm's rebuilds; run as a flow is.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SegmentPlayerHistoryRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SegmentPlayerHistoryRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SegmentPlayerHistoryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SegmentHistoryResult"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/zones/{zoneId}/segments/preview": {
      "post": {
        "tags": [
          "Zones"
        ],
        "summary": "Previews candidate rules, each on its own: per realm its members, exact from the zone's bits\nor from every player, or estimated from a sample with its 95% interval; a sample of matching\nplayer ids; an existing segment's overrides applied when asked. Up to 10 rules a call.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SegmentPreviewRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SegmentPreviewRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SegmentPreviewRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SegmentPreviewResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/zones/{zoneId}/segments/stats": {
      "get": {
        "tags": [
          "Zones"
        ],
        "summary": "The zone's stat catalog: how it stores each stat its properties read.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ZoneStatsCatalogResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Zones"
        ],
        "summary": "Sets stats in the zone's catalog (kind and precision) and removes others, each stat on its\nown: per stat, written or why not.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ZoneStatsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ZoneStatsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ZoneStatsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ZoneStatsResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/zones/{zoneId}/segments/jobs": {
      "post": {
        "tags": [
          "Zones"
        ],
        "summary": "Queues rescans of segments (each decided again at its active version) and reconciles of\nrealms (repairing what the buckets lost or drifted from Mongo): per item, queued or why not.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SegmentJobsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SegmentJobsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SegmentJobsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SegmentJobsResponse"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Zones"
        ],
        "summary": "The zone's latest jobs, newest first, `limit` of them (1 to 1,000; default 50): a\nsegment's, or without `segmentId`, the zone's own (reconciles, realm syncs, crossings).",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "segmentId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SegmentJobResponse"
                  }
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/zones/{zoneId}/segments/attributes": {
      "get": {
        "tags": [
          "Zones"
        ],
        "summary": "The attribute vocabulary a rule can reference: the platform catalog plus the stat keys\ndiscovered over the zone's realms, or `realmId`'s alone; filtered as a realm's is\n(`namespace`, `domain`, `visibility`, `custom`); `refresh` re-samples.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "realmId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "namespace",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "domain",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "visibility",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "custom",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "refresh",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SegmentAttribute"
                  }
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/zones/{zoneId}/segments/audit-logs": {
      "get": {
        "tags": [
          "Zones"
        ],
        "summary": "The zone's audit trail, newest first: its segments' and its stat catalog's changes.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SegmentId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "AccountId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SegmentAuditInfoCursorPagedResult"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/zones/{zoneId}/segments/memberships": {
      "post": {
        "tags": [
          "Zones"
        ],
        "summary": "Players' memberships in one of the zone's realms: per player, the given segments it's a\nmember of, or every segment it's a member of when none are given.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SegmentMembershipQueryRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SegmentMembershipQueryRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SegmentMembershipQueryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MembershipQueryResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/zones/{zoneId}/segments/counts": {
      "post": {
        "tags": [
          "Zones"
        ],
        "summary": "Segments' unique accounts and members per realm; a segment the zone doesn't hold is left out.",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SegmentCountsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SegmentCountsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SegmentCountsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SegmentCountsResponse"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "/api/customers/{customerId}/zones/{zoneId}/segments/{segmentId}/members": {
      "get": {
        "tags": [
          "Zones"
        ],
        "summary": "A page of a segment's members: in `realmId` with their player ids there, or over the\nzone (accounts) without it. `limit` sets the page size (1 to 1,000; default 50).",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "segmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "realmId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SegmentMemberCursorPagedResult"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "X-BEAM-SCOPE",
          "in": "header",
          "description": "Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-GAMERTAG",
          "in": "header",
          "description": "Override the playerId of the requester. This is only necessary when not using a JWT bearer token.",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "X-BEAM-TIMEOUT",
          "in": "header",
          "description": "Set the request timeout in seconds. Defaults to 10 seconds.",
          "schema": {
            "type": "integer"
          }
        }
      ]
    }
  },
  "components": {
    "schemas": {
      "Account": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "createdTimeMillis": {
            "type": "integer",
            "format": "int64"
          },
          "updatedTimeMillis": {
            "type": "integer",
            "format": "int64"
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "passwordRaw": {
            "type": "string",
            "nullable": true,
            "writeOnly": true
          },
          "gamerTags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RealmAssociation"
            }
          },
          "thirdParties": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ThirdPartyAssociation"
            }
          },
          "external": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExternalIdentity"
            },
            "nullable": true
          },
          "userName": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "language": {
            "type": "string",
            "nullable": true
          },
          "roleString": {
            "type": "string",
            "nullable": true
          },
          "roles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RoleAssociation"
            },
            "nullable": true
          },
          "zoneRoles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ZoneRoleAssociation"
            },
            "nullable": true
          },
          "deviceIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "realmId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AccountAvailableResponse": {
        "type": "object",
        "properties": {
          "available": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "AccountPiiResponse": {
        "type": "object",
        "properties": {
          "account": {
            "$ref": "#/components/schemas/Account"
          },
          "stats": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StatsResponse"
            }
          },
          "paymentAudits": { }
        },
        "additionalProperties": false,
        "description": "The PII dump: the account, its player's stats, payment audits."
      },
      "AccountPlayerView": {
        "required": [
          "deviceIds",
          "id",
          "scopes",
          "thirdPartyAppAssociations"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "language": {
            "type": "string",
            "nullable": true
          },
          "scopes": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "thirdPartyAppAssociations": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "deviceIds": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "external": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExternalIdentity"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AccountPortalView": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "language": {
            "type": "string",
            "nullable": true
          },
          "thirdPartyAppAssociations": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "roleString": {
            "type": "string",
            "nullable": true
          },
          "roles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RoleMappingView"
            },
            "nullable": true
          },
          "external": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExternalIdentity"
            },
            "nullable": true
          },
          "scopes": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "AccountPortalViewCursorPagedResult": {
        "type": "object",
        "properties": {
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccountPortalView"
            }
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          },
          "freshnessTimestamp": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AccountRegistration": {
        "required": [
          "email",
          "password"
        ],
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "password": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "AccountRolesReport": {
        "type": "object",
        "properties": {
          "accountId": {
            "type": "integer",
            "format": "int64"
          },
          "email": {
            "type": "string"
          },
          "realms": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RealmRolesReport"
            }
          }
        },
        "additionalProperties": false
      },
      "AccountSearchResponse": {
        "type": "object",
        "properties": {
          "accounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Account"
            }
          }
        },
        "additionalProperties": false
      },
      "AccountUpdate": {
        "type": "object",
        "properties": {
          "userName": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "language": {
            "type": "string",
            "nullable": true
          },
          "deviceId": {
            "type": "string",
            "nullable": true
          },
          "thirdParty": {
            "type": "string",
            "nullable": true
          },
          "token": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Acknowledge": {
        "type": "object",
        "additionalProperties": false
      },
      "AcquireBundleRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "AcquisitionPlanResponse": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "canAcquire": {
            "type": "boolean"
          },
          "refusals": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "missingHardDependencies": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "suggestedDependencies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SuggestedDependency"
            }
          },
          "warnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "AcquisitionView": {
        "type": "object",
        "properties": {
          "bundle": {
            "type": "string"
          },
          "acquiredAt": {
            "type": "string",
            "format": "date-time"
          },
          "acquiredBy": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ActivationStatus": {
        "enum": [
          "PENDING",
          "ACTIVATED"
        ],
        "type": "string"
      },
      "AddTags": {
        "type": "object",
        "properties": {
          "playerId": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "Gamertag"
          },
          "tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Tag"
            },
            "nullable": true
          },
          "replace": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "AddressFamily": {
        "enum": [
          "Unspecified",
          "Unix",
          "InterNetwork",
          "ImpLink",
          "Pup",
          "Chaos",
          "NS",
          "Iso",
          "Ecma",
          "DataKit",
          "Ccitt",
          "Sna",
          "DecNet",
          "DataLink",
          "Lat",
          "HyperChannel",
          "AppleTalk",
          "NetBios",
          "VoiceView",
          "FireFox",
          "Banyan",
          "Atm",
          "InterNetworkV6",
          "Cluster",
          "Ieee12844",
          "Irda",
          "NetworkDesigners",
          "Max",
          "Packet",
          "ControllerAreaNetwork",
          "Unknown"
        ],
        "type": "string"
      },
      "AdminAccountUpdate": {
        "type": "object",
        "properties": {
          "userName": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "language": {
            "type": "string",
            "nullable": true
          },
          "deviceId": {
            "type": "string",
            "nullable": true
          },
          "thirdParty": {
            "type": "string",
            "nullable": true
          },
          "token": {
            "type": "string",
            "nullable": true
          },
          "external": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExternalIdentity"
            },
            "nullable": true
          },
          "gamerTagAssoc": {
            "$ref": "#/components/schemas/RealmAssociation"
          }
        },
        "additionalProperties": false
      },
      "AdvisorySeverity": {
        "enum": [
          "Low",
          "Medium",
          "High",
          "Critical"
        ],
        "type": "string"
      },
      "AliasAvailableResponse": {
        "required": [
          "alias",
          "available"
        ],
        "type": "object",
        "properties": {
          "alias": {
            "type": "string"
          },
          "available": {
            "type": "boolean"
          },
          "customerId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AnalyticsDeletionStatus": {
        "type": "object",
        "properties": {
          "state": {
            "type": "string"
          },
          "stateChangeReason": {
            "type": "string",
            "nullable": true
          },
          "dataScannedBytes": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AnalyticsEventEntry": {
        "type": "object",
        "properties": {
          "event": {
            "type": "string"
          },
          "builtIn": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "AnalyticsEventsFields": {
        "required": [
          "actTime",
          "event",
          "eventId",
          "scope",
          "source"
        ],
        "type": "object",
        "properties": {
          "scope": {
            "$ref": "#/components/schemas/ImportExpression"
          },
          "eventId": {
            "$ref": "#/components/schemas/ImportExpression"
          },
          "playerId": {
            "$ref": "#/components/schemas/ImportExpression"
          },
          "accountId": {
            "$ref": "#/components/schemas/ImportExpression"
          },
          "actTime": {
            "$ref": "#/components/schemas/ImportExpression"
          },
          "source": {
            "$ref": "#/components/schemas/ImportExpression"
          },
          "event": {
            "$ref": "#/components/schemas/ImportExpression"
          }
        },
        "additionalProperties": false
      },
      "AnalyticsEventsImportSpec": {
        "required": [
          "fields"
        ],
        "type": "object",
        "properties": {
          "mapAccounts": {
            "type": "boolean"
          },
          "fileIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "fields": {
            "$ref": "#/components/schemas/AnalyticsEventsFields"
          },
          "ignore": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "AnalyticsFindingKind": {
        "enum": [
          "UnknownEvent",
          "UnexpectedKey",
          "TypeMismatch",
          "MissingRequired",
          "ValueNotAllowed",
          "InvalidIdentifier"
        ],
        "type": "string"
      },
      "AnalyticsFindingOrigin": {
        "required": [
          "kind"
        ],
        "type": "object",
        "properties": {
          "kind": {
            "$ref": "#/components/schemas/AnalyticsFindingOriginKind"
          },
          "id": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AnalyticsFindingOriginKind": {
        "enum": [
          "Analytics",
          "Import",
          "Connector"
        ],
        "type": "string"
      },
      "AnalyticsGateBodyDto": {
        "type": "object",
        "properties": {
          "filter": {
            "$ref": "#/components/schemas/GoalPredicateDto"
          },
          "observePid": {
            "type": "string"
          },
          "maxWaitMs": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AnalyticsPreviewColumn": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "AnalyticsPreviewResponse": {
        "type": "object",
        "properties": {
          "queryExecutionId": {
            "type": "string",
            "nullable": true
          },
          "columns": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AnalyticsPreviewColumn"
            }
          },
          "rows": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        },
        "additionalProperties": false
      },
      "AnalyticsQueryRequest": {
        "type": "object",
        "properties": {
          "sql": {
            "type": "string",
            "nullable": true
          },
          "skipCache": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "description": "skipCache runs the query afresh instead of reattaching to an identical one started in the last ten minutes, a failed one included."
      },
      "AnalyticsRowsDeletion": {
        "required": [
          "queryExecutionId"
        ],
        "type": "object",
        "properties": {
          "queryExecutionId": {
            "type": "string"
          },
          "startedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "AnalyticsSchemaFindingView": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/AnalyticsFindingKind"
          },
          "expected": {
            "type": "string",
            "nullable": true
          },
          "observed": {
            "type": "object",
            "additionalProperties": {
              "type": "integer",
              "format": "int64"
            }
          },
          "count": {
            "type": "integer",
            "format": "int64"
          },
          "firstSeen": {
            "type": "string",
            "format": "date-time"
          },
          "lastSeen": {
            "type": "string",
            "format": "date-time"
          },
          "origins": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AnalyticsFindingOrigin"
            }
          },
          "resolvedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "resolvedByManifestId": {
            "type": "string",
            "nullable": true
          },
          "rowsDeletion": {
            "$ref": "#/components/schemas/AnalyticsRowsDeletion"
          }
        },
        "additionalProperties": false
      },
      "AnalyticsSchemaFindingsEvent": {
        "type": "object",
        "properties": {
          "event": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/AnalyticsSchemaFindingsStatus"
          },
          "count": {
            "type": "integer",
            "format": "int64"
          },
          "firstSeen": {
            "type": "string",
            "format": "date-time"
          },
          "lastSeen": {
            "type": "string",
            "format": "date-time"
          },
          "findings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AnalyticsSchemaFindingView"
            }
          },
          "document": {
            "$ref": "#/components/schemas/JsonNode"
          },
          "presence": {
            "type": "object",
            "additionalProperties": {
              "type": "number",
              "format": "double"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AnalyticsSchemaFindingsStatus": {
        "enum": [
          "Missing",
          "Drifted",
          "Invalid",
          "Resolved"
        ],
        "type": "string"
      },
      "ApplyInstallationRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "tag": {
            "type": "string",
            "nullable": true
          },
          "componentGroups": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "realms": {
            "$ref": "#/components/schemas/InstalledBundleRealms"
          },
          "autoUpdate": {
            "type": "boolean",
            "nullable": true
          },
          "uninstall": {
            "type": "boolean"
          },
          "detach": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "hash": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ApplyInstallationResponse": {
        "type": "object",
        "properties": {
          "bundle": {
            "type": "string"
          },
          "change": {
            "$ref": "#/components/schemas/InstallationChange"
          },
          "installation": {
            "$ref": "#/components/schemas/InstallationView"
          },
          "results": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/InstallationSite"
            }
          },
          "warnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "AttachExternalIdentityResponse": {
        "type": "object",
        "properties": {
          "result": {
            "type": "string"
          },
          "challengeToken": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AuthCode": {
        "required": [
          "accountId",
          "code",
          "redirectUri"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "accountId": {
            "type": "integer",
            "format": "int64"
          },
          "redirectUri": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "scopes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "ttl": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AuthCodeRequest": {
        "type": "object",
        "properties": {
          "accountId": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "AccountId"
          },
          "redirectUri": {
            "type": "string",
            "nullable": true
          },
          "scopes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "customerId": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "Cid"
          },
          "realmId": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "Pid"
          },
          "context": {
            "$ref": "#/components/schemas/ContextInfo"
          }
        },
        "additionalProperties": false
      },
      "AuthResponse": {
        "type": "object",
        "properties": {
          "accessToken": {
            "type": "string",
            "nullable": true
          },
          "refreshToken": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AuthorDto": {
        "type": "object",
        "properties": {
          "accountId": {
            "type": "string"
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "kind": {
            "$ref": "#/components/schemas/AuthorKind"
          }
        },
        "additionalProperties": false
      },
      "AuthorKind": {
        "enum": [
          "User",
          "System"
        ],
        "type": "string"
      },
      "AuthorizationCodeAuthRequest": {
        "type": "object",
        "properties": {
          "clientId": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "redirectUri": {
            "type": "string",
            "nullable": true
          },
          "scope": {
            "type": "string",
            "nullable": true
          },
          "customerId": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "Cid"
          },
          "realmId": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "Pid"
          },
          "context": {
            "$ref": "#/components/schemas/ContextInfo"
          }
        },
        "additionalProperties": false
      },
      "AvailableRolesResponse": {
        "type": "object",
        "properties": {
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "BackfillRequest": {
        "type": "object",
        "properties": {
          "importId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "BatchAccountsPlayer": {
        "required": [
          "playerId"
        ],
        "type": "object",
        "properties": {
          "playerId": {
            "type": "integer",
            "format": "int64"
          },
          "account": {
            "$ref": "#/components/schemas/Account"
          },
          "stats": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BatchAccountsStat"
            }
          }
        },
        "additionalProperties": false
      },
      "BatchAccountsRequest": {
        "required": [
          "playerIds"
        ],
        "type": "object",
        "properties": {
          "playerIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            }
          },
          "filter": {
            "$ref": "#/components/schemas/StatsSearchRequest"
          },
          "includeAccount": {
            "type": "boolean"
          },
          "stats": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BatchAccountsStats"
            }
          }
        },
        "additionalProperties": false
      },
      "BatchAccountsResponse": {
        "required": [
          "filteredOut",
          "notFound",
          "players"
        ],
        "type": "object",
        "properties": {
          "players": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BatchAccountsPlayer"
            }
          },
          "filteredOut": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            }
          },
          "notFound": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            }
          }
        },
        "additionalProperties": false
      },
      "BatchAccountsStat": {
        "required": [
          "domain",
          "key",
          "value",
          "visibility"
        ],
        "type": "object",
        "properties": {
          "domain": {
            "type": "string"
          },
          "visibility": {
            "$ref": "#/components/schemas/StatsVisibility"
          },
          "key": {
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/StatsValue"
          }
        },
        "additionalProperties": false
      },
      "BatchAccountsStats": {
        "required": [
          "domain",
          "visibility"
        ],
        "type": "object",
        "properties": {
          "domain": {
            "type": "string"
          },
          "visibility": {
            "$ref": "#/components/schemas/StatsVisibility"
          },
          "keys": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "BatchGetItem": {
        "required": [
          "target"
        ],
        "type": "object",
        "properties": {
          "target": {
            "$ref": "#/components/schemas/StatsTarget"
          },
          "keys": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BatchGetRequest": {
        "required": [
          "requests"
        ],
        "type": "object",
        "properties": {
          "requests": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BatchGetItem"
            }
          }
        },
        "additionalProperties": false
      },
      "BatchGetStatsResponse": {
        "required": [
          "results"
        ],
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetStatsResponse"
            }
          }
        },
        "additionalProperties": false
      },
      "BatchState": {
        "required": [
          "analyticsTrackRefs",
          "batchKey",
          "externalSystemTrackIds",
          "trackIds"
        ],
        "type": "object",
        "properties": {
          "batchKey": {
            "type": "string"
          },
          "gamerTagsCount": {
            "type": "integer",
            "format": "int32"
          },
          "timeLeftForNextBatchSeconds": {
            "type": "integer",
            "format": "int64"
          },
          "extraDataFed": {
            "nullable": true
          },
          "deliveryLimitTimeSeconds": {
            "type": "integer",
            "format": "int64"
          },
          "delaySeconds": {
            "type": "integer",
            "format": "int64"
          },
          "releaseAtUnixSeconds": {
            "type": "integer",
            "format": "int64"
          },
          "deliveryDeadlineUnixSeconds": {
            "type": "integer",
            "format": "int64"
          },
          "trackIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "externalSystemTrackIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "analyticsTrackRefs": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "BatchWriteItem": {
        "required": [
          "request",
          "target"
        ],
        "type": "object",
        "properties": {
          "target": {
            "$ref": "#/components/schemas/StatsTarget"
          },
          "request": {
            "$ref": "#/components/schemas/SetStatsRequest"
          }
        },
        "additionalProperties": false
      },
      "BatchWriteRequest": {
        "required": [
          "requests"
        ],
        "type": "object",
        "properties": {
          "requests": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BatchWriteItem"
            }
          }
        },
        "additionalProperties": false
      },
      "BinaryContentDefinition": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "checksum": {
            "type": "string"
          },
          "uploadContentType": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "BinaryContentUploadUrl": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "uri": {
            "type": "string"
          },
          "uploadUri": {
            "type": "string"
          },
          "uploadMethod": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "BlockingDependency": {
        "type": "object",
        "properties": {
          "bundle": {
            "type": "string"
          },
          "min": {
            "type": "integer",
            "format": "int64"
          },
          "max": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BoolListValue": {
        "type": "object",
        "properties": {
          "values": {
            "type": "array",
            "items": {
              "type": "boolean"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BoundDto": {
        "type": "object",
        "properties": {
          "value": {
            "type": "string"
          },
          "inclusive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "BundleComponent": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/BundleComponentKind"
          },
          "site": {
            "$ref": "#/components/schemas/BundleSite"
          },
          "sourceAvailable": {
            "type": "boolean"
          },
          "sourceArchive": {
            "type": "string",
            "nullable": true
          },
          "service": {
            "$ref": "#/components/schemas/ServiceReference"
          },
          "storage": {
            "$ref": "#/components/schemas/ServiceStorageReference"
          },
          "extension": {
            "$ref": "#/components/schemas/PortalExtensionReference"
          },
          "schema": {
            "$ref": "#/components/schemas/SchemaReference"
          },
          "mounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BundleMount"
            }
          },
          "imageRepository": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BundleComponentGroup": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "components": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "enabledByDefault": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "BundleComponentKind": {
        "enum": [
          "Service",
          "Storage",
          "Extension",
          "Schema"
        ],
        "type": "string"
      },
      "BundleContentView": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "checksum": {
            "type": "string"
          },
          "components": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BundleComponent"
            }
          },
          "componentGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BundleComponentGroup"
            }
          },
          "dependencies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BundleDep"
            }
          }
        },
        "additionalProperties": false
      },
      "BundleDep": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/BundleDependencyKind"
          },
          "min": {
            "type": "integer",
            "format": "int64"
          },
          "max": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BundleDependencyKind": {
        "enum": [
          "Hard",
          "Soft"
        ],
        "type": "string"
      },
      "BundleListing": {
        "type": "object",
        "properties": {
          "displayName": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "iconUrl": {
            "type": "string",
            "nullable": true
          },
          "docsUrl": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BundleMount": {
        "type": "object",
        "properties": {
          "page": {
            "type": "string",
            "nullable": true
          },
          "site": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BundleNoticeKind": {
        "enum": [
          "Deprecation",
          "SecurityAdvisory",
          "KnownIssue",
          "Retirement",
          "Announcement"
        ],
        "type": "string"
      },
      "BundleNoticeResponse": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "notice": {
            "$ref": "#/components/schemas/BundleNoticeView"
          },
          "installationsOutsideOrg": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "BundleNoticeSource": {
        "enum": [
          "Publisher",
          "Beamable"
        ],
        "type": "string"
      },
      "BundleNoticeView": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/BundleNoticeKind"
          },
          "source": {
            "$ref": "#/components/schemas/BundleNoticeSource"
          },
          "minVersion": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "maxVersion": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "endOfSupport": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "endOfLife": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "severity": {
            "$ref": "#/components/schemas/AdvisorySeverity"
          },
          "advisoryId": {
            "type": "string",
            "nullable": true
          },
          "updateBy": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "acquisitionsEnd": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "message": {
            "type": "string"
          },
          "link": {
            "type": "string",
            "nullable": true
          },
          "replacementVersion": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "replacementTag": {
            "type": "string",
            "nullable": true
          },
          "resolvedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/VersionStatus"
          }
        },
        "additionalProperties": false
      },
      "BundleRelease": {
        "type": "object",
        "properties": {
          "bundleName": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "format": "int64"
          },
          "checksum": {
            "type": "string"
          },
          "publishedAt": {
            "type": "string",
            "format": "date-time"
          },
          "publishedBy": {
            "type": "string",
            "nullable": true
          },
          "yanked": {
            "type": "boolean"
          },
          "yankedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "yankedBy": {
            "type": "string",
            "nullable": true
          },
          "compatibleSince": {
            "type": "object",
            "additionalProperties": {
              "type": "integer",
              "format": "int64"
            }
          },
          "irreversibleDataChange": {
            "type": "boolean"
          },
          "images": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "sourceArchives": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/SourceArchiveSize"
            }
          }
        },
        "additionalProperties": false
      },
      "BundleSite": {
        "enum": [
          "Realm",
          "Zone"
        ],
        "type": "string"
      },
      "BundleSummaryView": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "ownerCid": {
            "type": "string"
          },
          "visibility": {
            "$ref": "#/components/schemas/BundleVisibility"
          },
          "listing": {
            "$ref": "#/components/schemas/BundleListing"
          },
          "autoUpdateRequired": {
            "type": "boolean"
          },
          "latestVersion": {
            "type": "integer",
            "format": "int64"
          },
          "tags": {
            "type": "object",
            "additionalProperties": {
              "type": "integer",
              "format": "int64"
            }
          },
          "latestMounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BundleMount"
            }
          },
          "notices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BundleNoticeView"
            }
          }
        },
        "additionalProperties": false
      },
      "BundleSummaryViewCursorPagedResult": {
        "type": "object",
        "properties": {
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BundleSummaryView"
            }
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          },
          "freshnessTimestamp": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BundleUpdateRun": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "bundle": {
            "type": "string"
          },
          "trigger": {
            "$ref": "#/components/schemas/UpdateTrigger"
          },
          "noticeId": {
            "type": "string",
            "nullable": true
          },
          "version": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "state": {
            "$ref": "#/components/schemas/UpdateRunState"
          },
          "lease": {
            "$ref": "#/components/schemas/UpdateRunLease"
          },
          "attempts": {
            "type": "integer",
            "format": "int32"
          },
          "failures": {
            "type": "integer",
            "format": "int32"
          },
          "pausedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "BundleVisibility": {
        "enum": [
          "Private",
          "Public"
        ],
        "type": "string"
      },
      "CallerInfo": {
        "type": "object",
        "properties": {
          "accountId": {
            "type": "string",
            "nullable": true
          },
          "playerId": {
            "type": "string",
            "nullable": true
          },
          "ipAddress": {
            "$ref": "#/components/schemas/IPAddress"
          },
          "clientId": {
            "type": "string",
            "nullable": true
          },
          "system": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CampaignAuditDto": {
        "type": "object",
        "properties": {
          "createdBy": {
            "$ref": "#/components/schemas/AuthorDto"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "lastUpdatedBy": {
            "$ref": "#/components/schemas/AuthorDto"
          },
          "lastUpdatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBySystem": {
            "type": "string"
          },
          "publishedBy": {
            "$ref": "#/components/schemas/AuthorDto"
          },
          "publishedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "submittedBy": {
            "$ref": "#/components/schemas/AuthorDto"
          },
          "submittedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "reviewedBy": {
            "$ref": "#/components/schemas/AuthorDto"
          },
          "reviewedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "reviewNote": {
            "type": "string",
            "nullable": true
          },
          "overrodeConflicts": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CampaignChangeErrorDto": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "node": {
            "type": "string",
            "nullable": true
          },
          "edge": {
            "type": "string",
            "nullable": true
          },
          "goalLabel": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CampaignConditionDto": {
        "type": "object",
        "properties": {
          "payload": {
            "type": "string"
          },
          "lockedMessage": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CampaignConfigDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "options": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "acceptedRealms": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "maxDrainDurationMs": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "startAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "endAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CampaignFunnelDto": {
        "type": "object",
        "properties": {
          "campaignId": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "format": "int32"
          },
          "nodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CampaignNodeFunnelDto"
            }
          }
        },
        "additionalProperties": false
      },
      "CampaignGraphDto": {
        "type": "object",
        "properties": {
          "campaignId": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "format": "int32"
          },
          "config": {
            "$ref": "#/components/schemas/CampaignConfigDto"
          },
          "nodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GraphNodeDto"
            }
          },
          "edges": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GraphEdgeDto"
            }
          },
          "audit": {
            "$ref": "#/components/schemas/CampaignAuditDto"
          }
        },
        "additionalProperties": false
      },
      "CampaignLifecycle": {
        "enum": [
          "Draft",
          "Launching",
          "Active",
          "WindingDown",
          "Halting",
          "Inactive",
          "Proposed",
          "Rejected",
          "Superseded",
          "Scheduled",
          "Cancelled"
        ],
        "type": "string"
      },
      "CampaignNodeFunnelDto": {
        "type": "object",
        "properties": {
          "node": {
            "type": "string"
          },
          "stages": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/CampaignStageFunnelDto"
            }
          }
        },
        "additionalProperties": false
      },
      "CampaignOfferDelivery": {
        "enum": [
          "AllOrNothing",
          "AtLeastOne",
          "BestEffort"
        ],
        "type": "string"
      },
      "CampaignOfferDto": {
        "type": "object",
        "properties": {
          "entryId": {
            "type": "string"
          },
          "offerId": {
            "type": "string"
          },
          "federationId": {
            "type": "string"
          },
          "label": {
            "type": "string",
            "nullable": true
          },
          "invalidatesEntryIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "condition": {
            "$ref": "#/components/schemas/CampaignConditionDto"
          },
          "extraData": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "durationMs": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "required": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CampaignOfferGroupDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "memberEntryIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "mode": {
            "$ref": "#/components/schemas/CampaignOfferGroupMode"
          },
          "label": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CampaignOfferGroupMode": {
        "enum": [
          "All",
          "Exclusive"
        ],
        "type": "string"
      },
      "CampaignSortField": {
        "enum": [
          "CreatedAt",
          "PublishedAt",
          "LastUpdatedAt",
          "Name",
          "CampaignId"
        ],
        "type": "string"
      },
      "CampaignStageFunnelDto": {
        "type": "object",
        "properties": {
          "sealed": {
            "type": "integer",
            "format": "int64"
          },
          "pending": {
            "type": "integer",
            "format": "int64"
          },
          "lagging": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CampaignStatusDto": {
        "type": "object",
        "properties": {
          "campaignId": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "format": "int32"
          },
          "phase": {
            "$ref": "#/components/schemas/CampaignLifecycle"
          }
        },
        "additionalProperties": false
      },
      "CampaignSummaryDto": {
        "type": "object",
        "properties": {
          "campaignId": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string"
          },
          "phase": {
            "$ref": "#/components/schemas/CampaignLifecycle"
          },
          "createdBy": {
            "$ref": "#/components/schemas/AuthorDto"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "publishedBy": {
            "$ref": "#/components/schemas/AuthorDto"
          },
          "publishedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "submittedBy": {
            "$ref": "#/components/schemas/AuthorDto"
          },
          "submittedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "reviewedBy": {
            "$ref": "#/components/schemas/AuthorDto"
          },
          "reviewedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "startAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "endAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "archived": {
            "type": "boolean"
          },
          "acceptedRealms": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "queueCheck": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QueueConflictDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CampaignSummaryDtoCampaignPageDto": {
        "type": "object",
        "properties": {
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CampaignSummaryDto"
            }
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "skip": {
            "type": "integer",
            "format": "int32"
          },
          "limit": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "CancelInviteToParty": {
        "type": "object",
        "properties": {
          "playerId": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "Gamertag"
          }
        },
        "additionalProperties": false
      },
      "CancelWorkflowRequest": {
        "type": "object",
        "properties": {
          "reason": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ChallengeSolution": {
        "type": "object",
        "properties": {
          "challengeToken": {
            "type": "string",
            "nullable": true
          },
          "solution": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClientAnalyticsEvent": {
        "type": "object",
        "properties": {
          "e": {
            "type": "string",
            "nullable": true
          },
          "p": {
            "type": "object",
            "additionalProperties": { },
            "nullable": true
          },
          "time": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "id": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CommentPullRequestRequest": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "CommonResponse": {
        "type": "object",
        "properties": {
          "result": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "CompleteDatasetFileUploadRequest": {
        "type": "object",
        "properties": {
          "parts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DatasetFilePart"
            }
          }
        },
        "additionalProperties": false
      },
      "CompleteGitHubSignInRequest": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "state": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ComponentChange": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "change": {
            "$ref": "#/components/schemas/ComponentChangeKind"
          }
        },
        "additionalProperties": false
      },
      "ComponentChangeKind": {
        "enum": [
          "Add",
          "Upgrade",
          "Archive",
          "Keep",
          "Detach"
        ],
        "type": "string"
      },
      "ComponentOrigin": {
        "type": "object",
        "properties": {
          "bundle": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "format": "int64"
          },
          "componentGroups": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "override": {
            "$ref": "#/components/schemas/ComponentOverride"
          }
        },
        "additionalProperties": false
      },
      "ComponentOverride": {
        "type": "object",
        "properties": {
          "since": {
            "type": "string",
            "format": "date-time"
          },
          "by": {
            "type": "string",
            "nullable": true
          },
          "connectionId": {
            "type": "string",
            "format": "uuid"
          },
          "baseVersion": {
            "type": "integer",
            "format": "int64"
          },
          "bundleBuild": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ConfigChangeRequest": {
        "type": "object",
        "properties": {
          "upserts": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "deletes": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ConfigResponse": {
        "type": "object",
        "properties": {
          "config": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "ConfigSaveRequest": {
        "type": "object",
        "properties": {
          "config": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "ConnectionStringResponse": {
        "type": "object",
        "properties": {
          "connectionString": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ConnectorState": {
        "enum": [
          "Unmapped",
          "Connected",
          "Mapped"
        ],
        "type": "string"
      },
      "ContextInfo": {
        "type": "object",
        "properties": {
          "platform": {
            "type": "string",
            "nullable": true
          },
          "device": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContextRuleFilter": {
        "type": "object",
        "properties": {
          "playerIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            }
          },
          "playerIdOperationType": {
            "$ref": "#/components/schemas/PlayerRuleOperationType"
          },
          "paths": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "pathsOperationType": {
            "$ref": "#/components/schemas/PathRuleOperationType"
          }
        },
        "additionalProperties": false
      },
      "CreateBundleNoticeRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/BundleNoticeKind"
          },
          "minVersion": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "maxVersion": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "endOfSupport": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "endOfLife": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "severity": {
            "$ref": "#/components/schemas/AdvisorySeverity"
          },
          "advisoryId": {
            "type": "string",
            "nullable": true
          },
          "updateBy": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "acquisitionsEnd": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "message": {
            "type": "string"
          },
          "link": {
            "type": "string",
            "nullable": true
          },
          "replacementVersion": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "replacementTag": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateBundleRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "visibility": {
            "$ref": "#/components/schemas/BundleVisibility"
          },
          "listing": {
            "$ref": "#/components/schemas/BundleListing"
          },
          "autoUpdateRequired": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CreateConnectorRequest": {
        "required": [
          "kit",
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "kit": {
            "$ref": "#/components/schemas/CreateKitRequest"
          }
        },
        "additionalProperties": false
      },
      "CreateDatasetRequest": {
        "required": [
          "format",
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "format": {
            "$ref": "#/components/schemas/DatasetFormat"
          },
          "csvOptions": {
            "$ref": "#/components/schemas/DatasetCsvOptions"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "identity": {
            "$ref": "#/components/schemas/SetDatasetIdentityRequest"
          },
          "kit": {
            "$ref": "#/components/schemas/CreateKitRequest"
          }
        },
        "additionalProperties": false
      },
      "CreateElevatedAccountRequest": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "role": {
            "type": "string",
            "nullable": true
          },
          "initProperties": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateFederatedGameServer": {
        "type": "object",
        "properties": {
          "matchType": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "ContentId"
          }
        },
        "additionalProperties": false
      },
      "CreateGuestRequest": {
        "type": "object",
        "properties": {
          "initProperties": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateKitRequest": {
        "required": [
          "kind"
        ],
        "type": "object",
        "properties": {
          "kind": {
            "type": "string"
          },
          "settings": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateLobby": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "restriction": {
            "$ref": "#/components/schemas/LobbyRestriction"
          },
          "matchType": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "ContentId"
          },
          "playerTags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Tag"
            },
            "nullable": true
          },
          "passcodeLength": {
            "type": "integer",
            "format": "int32"
          },
          "maxPlayers": {
            "type": "integer",
            "format": "int32"
          },
          "data": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateParty": {
        "type": "object",
        "properties": {
          "restriction": {
            "type": "string",
            "nullable": true
          },
          "leader": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "Gamertag"
          },
          "maxSize": {
            "type": "integer",
            "format": "int32"
          },
          "memberTags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Tag"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateRealmRequest": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "plan": {
            "type": "string",
            "nullable": true
          },
          "sharded": {
            "type": "boolean",
            "nullable": true
          },
          "parent": {
            "type": "string",
            "nullable": true
          },
          "zoneId": {
            "type": "string",
            "nullable": true
          },
          "isHidden": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateScmConnectionsRequest": {
        "type": "object",
        "properties": {
          "connections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScmConnectionRequest"
            }
          }
        },
        "additionalProperties": false
      },
      "CreateSegmentRequest": {
        "type": "object",
        "properties": {
          "rule": {
            "$ref": "#/components/schemas/Rule"
          },
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "realms": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "propertyStats": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "propertyExtremes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "trackTenure": {
            "type": "boolean",
            "nullable": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "managedBy": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateZoneRequest": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "plan": {
            "type": "string",
            "nullable": true
          },
          "defaultRole": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CronTrigger": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string"
          },
          "expression": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "Customer": {
        "required": [
          "customerId",
          "name"
        ],
        "type": "object",
        "properties": {
          "customerId": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "type": "string"
          },
          "alias": {
            "type": "string",
            "nullable": true
          },
          "realms": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Realm"
            }
          },
          "zones": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Zone"
            }
          },
          "accounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Account"
            },
            "readOnly": true,
            "deprecated": true
          },
          "paymentStatus": {
            "$ref": "#/components/schemas/PaymentStatus"
          },
          "activationStatus": {
            "$ref": "#/components/schemas/ActivationStatus"
          },
          "contact": {
            "type": "string",
            "nullable": true
          },
          "stripeCustomerId": {
            "type": "string",
            "nullable": true
          },
          "requiresCustomTier": {
            "type": "boolean"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "config": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "CustomerView": {
        "required": [
          "customerId",
          "name"
        ],
        "type": "object",
        "properties": {
          "customerId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "alias": {
            "type": "string",
            "nullable": true
          },
          "realms": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RealmView"
            }
          }
        },
        "additionalProperties": false
      },
      "CustomersResponse": {
        "type": "object",
        "properties": {
          "customers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Customer"
            }
          }
        },
        "additionalProperties": false
      },
      "DataBinding": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "namespace": {
            "type": "string"
          },
          "mode": {
            "$ref": "#/components/schemas/DataBindingMode"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedBy": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DataBindingMode": {
        "enum": [
          "Materialized",
          "Virtualized"
        ],
        "type": "string"
      },
      "DataPoint": {
        "required": [
          "value"
        ],
        "type": "object",
        "properties": {
          "timeStamp": {
            "type": "string",
            "format": "date-time"
          },
          "value": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "DatabaseMeasurement": {
        "required": [
          "name",
          "units"
        ],
        "type": "object",
        "properties": {
          "dataPoints": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DataPoint"
            }
          },
          "name": {
            "type": "string"
          },
          "units": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "DatabaseMeasurements": {
        "required": [
          "databaseName"
        ],
        "type": "object",
        "properties": {
          "databaseName": {
            "type": "string"
          },
          "granularity": {
            "type": "string",
            "nullable": true
          },
          "groupId": {
            "type": "string",
            "nullable": true
          },
          "hostId": {
            "type": "string",
            "nullable": true
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Link"
            }
          },
          "measurements": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DatabaseMeasurement"
            },
            "nullable": true
          },
          "processId": {
            "type": "string",
            "nullable": true
          },
          "start": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "end": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DatasetColumn": {
        "required": [
          "name",
          "sourceType",
          "status"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "sourceType": {
            "type": "string"
          },
          "catalogType": {
            "type": "string",
            "nullable": true
          },
          "suggestedType": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/DatasetColumnStatus"
          }
        },
        "additionalProperties": false
      },
      "DatasetColumnStatus": {
        "enum": [
          "Mapped",
          "Unmapped",
          "Conflicted"
        ],
        "type": "string"
      },
      "DatasetConnector": {
        "type": "object",
        "properties": {
          "state": {
            "$ref": "#/components/schemas/ConnectorState"
          },
          "spec": {
            "$ref": "#/components/schemas/AnalyticsEventsImportSpec"
          },
          "requestsReceived": {
            "type": "integer",
            "format": "int64"
          },
          "requestsRepeated": {
            "type": "integer",
            "format": "int64"
          },
          "bytesReceived": {
            "type": "integer",
            "format": "int64"
          },
          "lastReceivedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lastBatchAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "eventsPublished": {
            "type": "integer",
            "format": "int64"
          },
          "rowsDropped": {
            "type": "integer",
            "format": "int64"
          },
          "recordsSkipped": {
            "type": "integer",
            "format": "int64"
          },
          "recent": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": {
                "$ref": "#/components/schemas/JsonNode"
              }
            }
          }
        },
        "additionalProperties": false
      },
      "DatasetCsvOptions": {
        "type": "object",
        "properties": {
          "delimiter": {
            "type": "string",
            "nullable": true
          },
          "quote": {
            "type": "string",
            "nullable": true
          },
          "escape": {
            "type": "string",
            "nullable": true
          },
          "timestampFormat": {
            "type": "string",
            "nullable": true
          },
          "dateFormat": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DatasetFile": {
        "required": [
          "datasetId",
          "s3Key",
          "sizeBytes",
          "source"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "datasetId": {
            "type": "string"
          },
          "s3Key": {
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/DatasetFileSource"
          },
          "transferId": {
            "type": "string",
            "nullable": true
          },
          "importedBy": {
            "type": "string",
            "nullable": true
          },
          "originalName": {
            "type": "string",
            "nullable": true
          },
          "label": {
            "type": "string",
            "nullable": true
          },
          "sizeBytes": {
            "type": "integer",
            "format": "int64"
          },
          "partSizeBytes": {
            "type": "integer",
            "format": "int64"
          },
          "checksum": {
            "type": "string",
            "nullable": true
          },
          "declaredSchema": {
            "$ref": "#/components/schemas/FileSchema"
          },
          "schema": {
            "$ref": "#/components/schemas/FileSchema"
          },
          "uploadId": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "$ref": "#/components/schemas/DatasetFileState"
          },
          "discardedKey": {
            "type": "string",
            "nullable": true
          },
          "error": {
            "$ref": "#/components/schemas/DatasetFileError"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "DatasetFileError": {
        "required": [
          "reason"
        ],
        "type": "object",
        "properties": {
          "reason": {
            "type": "string"
          },
          "detail": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DatasetFilePart": {
        "type": "object",
        "properties": {
          "partNumber": {
            "type": "integer",
            "format": "int32"
          },
          "eTag": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "DatasetFilePartUploadUrlResponse": {
        "type": "object",
        "properties": {
          "partNumber": {
            "type": "integer",
            "format": "int32"
          },
          "uploadUrl": {
            "type": "string"
          },
          "uploadUrlExpiresAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "DatasetFileSource": {
        "enum": [
          "Api",
          "Transfer"
        ],
        "type": "string"
      },
      "DatasetFileState": {
        "enum": [
          "AwaitingUpload",
          "Uploaded",
          "Ready",
          "Invalid"
        ],
        "type": "string"
      },
      "DatasetFileUploadResponse": {
        "type": "object",
        "properties": {
          "file": {
            "$ref": "#/components/schemas/DatasetFile"
          },
          "partCount": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "DatasetFilesView": {
        "type": "object",
        "properties": {
          "counts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FileStateCount"
            }
          },
          "imported": {
            "type": "integer",
            "format": "int64"
          },
          "latestTransfer": {
            "$ref": "#/components/schemas/LatestTransfer"
          }
        },
        "additionalProperties": false
      },
      "DatasetFormat": {
        "enum": [
          "Parquet",
          "Csv",
          "Json"
        ],
        "type": "string"
      },
      "DatasetIdentity": {
        "required": [
          "externalIdColumn"
        ],
        "type": "object",
        "properties": {
          "externalIdColumn": {
            "type": "string"
          },
          "emailColumn": {
            "type": "string",
            "nullable": true
          },
          "providerService": {
            "type": "string"
          },
          "providerNamespace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "DatasetImport": {
        "required": [
          "datasetId",
          "operation",
          "target"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "datasetId": {
            "type": "string"
          },
          "target": {
            "type": "string"
          },
          "state": {
            "$ref": "#/components/schemas/DatasetImportState"
          },
          "operation": {
            "$ref": "#/components/schemas/DatasetImportOperation"
          },
          "stages": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/ImportStageState"
            }
          },
          "runner": {
            "$ref": "#/components/schemas/DatasetImportRunner"
          },
          "executions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ImportExecution"
            }
          },
          "transitions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ImportTransitionRecord"
            }
          },
          "startedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "finishedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "result": {
            "$ref": "#/components/schemas/ImportResult"
          },
          "error": {
            "$ref": "#/components/schemas/DatasetImportError"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "DatasetImportError": {
        "required": [
          "reason"
        ],
        "type": "object",
        "properties": {
          "reason": {
            "type": "string"
          },
          "detail": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DatasetImportIdPart": {
        "required": [
          "importId",
          "outputKey",
          "partNo",
          "sourceKey"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "importId": {
            "type": "string"
          },
          "partNo": {
            "type": "integer",
            "format": "int32"
          },
          "sourceKey": {
            "type": "string"
          },
          "sourceBytes": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "outputKey": {
            "type": "string"
          },
          "outputBytes": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "state": {
            "$ref": "#/components/schemas/DatasetImportIdPartState"
          },
          "attempts": {
            "type": "integer",
            "format": "int32"
          },
          "counts": {
            "$ref": "#/components/schemas/IdMappingCounts"
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IdPartError"
            }
          },
          "error": {
            "$ref": "#/components/schemas/DatasetImportError"
          },
          "doneAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "DatasetImportIdPartState": {
        "enum": [
          "Pending",
          "Done",
          "Failed"
        ],
        "type": "string"
      },
      "DatasetImportOperation": {
        "type": "object",
        "additionalProperties": false
      },
      "DatasetImportRunner": {
        "type": "object",
        "additionalProperties": false
      },
      "DatasetImportState": {
        "enum": [
          "Submitted",
          "PreparingAccounts",
          "Running",
          "Succeeded",
          "Failed",
          "Cancelled"
        ],
        "type": "string"
      },
      "DatasetImportSummary": {
        "type": "object",
        "properties": {
          "latest": {
            "$ref": "#/components/schemas/DatasetImport"
          },
          "eventsWritten": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "DatasetKeyView": {
        "type": "object",
        "properties": {
          "dataset": {
            "$ref": "#/components/schemas/DatasetView"
          },
          "key": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "DatasetKit": {
        "required": [
          "kind"
        ],
        "type": "object",
        "properties": {
          "kind": {
            "type": "string"
          },
          "settings": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "files": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "revokedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "previousKeyExpiresAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DatasetSchema": {
        "type": "object",
        "properties": {
          "columns": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DatasetColumn"
            }
          }
        },
        "additionalProperties": false
      },
      "DatasetState": {
        "enum": [
          "Created",
          "Queryable"
        ],
        "type": "string"
      },
      "DatasetTransferTargetResponse": {
        "type": "object",
        "properties": {
          "bucket": {
            "type": "string"
          },
          "prefix": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "DatasetTransferView": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "state": {
            "$ref": "#/components/schemas/TransferState"
          },
          "expectedFiles": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "expectedBytes": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "execution": {
            "type": "string",
            "nullable": true
          },
          "error": {
            "type": "string",
            "nullable": true
          },
          "skippedFiles": {
            "type": "integer",
            "format": "int64"
          },
          "failedFiles": {
            "type": "integer",
            "format": "int64"
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TransferError"
            }
          },
          "startedAt": {
            "type": "string",
            "format": "date-time"
          },
          "finishedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DatasetView": {
        "required": [
          "files",
          "format",
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "format": {
            "$ref": "#/components/schemas/DatasetFormat"
          },
          "csvOptions": {
            "$ref": "#/components/schemas/DatasetCsvOptions"
          },
          "identity": {
            "$ref": "#/components/schemas/DatasetIdentity"
          },
          "kit": {
            "$ref": "#/components/schemas/DatasetKit"
          },
          "connector": {
            "$ref": "#/components/schemas/DatasetConnector"
          },
          "files": {
            "$ref": "#/components/schemas/DatasetFilesView"
          },
          "state": {
            "$ref": "#/components/schemas/DatasetState"
          },
          "schema": {
            "$ref": "#/components/schemas/DatasetSchema"
          },
          "schemaVersion": {
            "type": "integer",
            "format": "int32"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "DecoratorRefDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "decoratorType": {
            "type": "string"
          },
          "config": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "DeleteAnalyticsRowsRequest": {
        "type": "object",
        "properties": {
          "event": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/AnalyticsFindingKind"
          }
        },
        "additionalProperties": false
      },
      "DeleteAnalyticsRowsResponse": {
        "type": "object",
        "properties": {
          "queryExecutionId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "DeleteRegistrationRequest": {
        "type": "object",
        "properties": {
          "routingKey": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DependencyBlockKind": {
        "enum": [
          "Missing",
          "OutOfRange",
          "Realms",
          "Dependent"
        ],
        "type": "string"
      },
      "DependencyBlocker": {
        "type": "object",
        "properties": {
          "kind": {
            "$ref": "#/components/schemas/DependencyBlockKind"
          },
          "bundle": {
            "type": "string"
          },
          "min": {
            "type": "integer",
            "format": "int64"
          },
          "max": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "installedVersion": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DependencyStatus": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/BundleDependencyKind"
          },
          "min": {
            "type": "integer",
            "format": "int64"
          },
          "max": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "acquired": {
            "type": "boolean"
          },
          "installedVersion": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "inRange": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "DeviceIdAuthRequest": {
        "type": "object",
        "properties": {
          "deviceId": {
            "type": "string",
            "nullable": true
          },
          "scope": {
            "type": "string",
            "nullable": true
          },
          "customerId": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "Cid"
          },
          "realmId": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "Pid"
          },
          "context": {
            "$ref": "#/components/schemas/ContextInfo"
          }
        },
        "additionalProperties": false
      },
      "DoubleListValue": {
        "type": "object",
        "properties": {
          "values": {
            "type": "array",
            "items": {
              "type": "number",
              "format": "double"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DurationUnit": {
        "enum": [
          "Milliseconds",
          "Seconds",
          "Minutes"
        ],
        "type": "string"
      },
      "EmailChange": {
        "type": "object",
        "properties": {
          "newEmail": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "EmailUpdateConfirmation": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "password": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "EmailUpdateRequest": {
        "type": "object",
        "properties": {
          "newEmail": {
            "type": "string"
          },
          "codeType": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EmptyMessage": {
        "type": "object",
        "additionalProperties": false
      },
      "EntryBodyDto": {
        "type": "object",
        "properties": {
          "trigger": {
            "$ref": "#/components/schemas/EntryTriggerDto"
          },
          "requalify": {
            "$ref": "#/components/schemas/RequalifyDto"
          }
        },
        "additionalProperties": false
      },
      "EntryTriggerDto": {
        "type": "object",
        "properties": {
          "kind": {
            "$ref": "#/components/schemas/EntryTriggerKind"
          },
          "segment": {
            "type": "string",
            "nullable": true
          },
          "event": {
            "type": "string",
            "nullable": true
          },
          "windowMs": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EntryTriggerKind": {
        "enum": [
          "AutoSegment",
          "Event",
          "Inaction"
        ],
        "type": "string"
      },
      "ExactTrigger": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string"
          },
          "executeAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "ExtensionContentReference": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "contentId": {
            "type": "string"
          },
          "version": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ExternalAuthRequest": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "nullable": true
          },
          "providerNamespace": {
            "type": "string",
            "nullable": true
          },
          "token": {
            "type": "string",
            "nullable": true
          },
          "challengeSolution": {
            "$ref": "#/components/schemas/ChallengeSolution"
          },
          "scope": {
            "type": "string",
            "nullable": true
          },
          "customerId": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "Cid"
          },
          "realmId": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "Pid"
          },
          "context": {
            "$ref": "#/components/schemas/ContextInfo"
          }
        },
        "additionalProperties": false
      },
      "ExternalAuthResponse": {
        "type": "object",
        "properties": {
          "accessToken": {
            "type": "string",
            "nullable": true
          },
          "refreshToken": {
            "type": "string",
            "nullable": true
          },
          "challengeToken": {
            "type": "string",
            "nullable": true
          },
          "expiresInMs": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "ExternalIdentity": {
        "type": "object",
        "properties": {
          "providerService": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          },
          "providerNamespace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ExternalIdentityRequest": {
        "type": "object",
        "properties": {
          "providerService": {
            "type": "string"
          },
          "externalToken": {
            "type": "string"
          },
          "providerNamespace": {
            "type": "string",
            "nullable": true
          },
          "challengeSolution": {
            "$ref": "#/components/schemas/ChallengeSolution"
          }
        },
        "additionalProperties": false
      },
      "FederationRegistration": {
        "type": "object",
        "properties": {
          "serviceName": {
            "type": "string"
          },
          "routingKey": {
            "type": "string",
            "nullable": true
          },
          "federation": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SupportedFederation"
            },
            "nullable": true
          },
          "trafficFilterEnabled": {
            "type": "boolean",
            "nullable": true
          },
          "ttl": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FederationRegistrationResponse": {
        "type": "object",
        "properties": {
          "registrations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FederationRegistration"
            }
          }
        },
        "additionalProperties": false
      },
      "FederationStagingState": {
        "required": [
          "batches"
        ],
        "type": "object",
        "properties": {
          "batches": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BatchState"
            }
          }
        },
        "additionalProperties": false
      },
      "FederationType": {
        "enum": [
          "IFederatedLogin",
          "IFederatedInventory",
          "IFederatedCommerce",
          "IFederatedGameServer",
          "IFederatedPlayerInit",
          "IFederatedMessageRail",
          "IFederatedVirtualOffer"
        ],
        "type": "string"
      },
      "FileColumn": {
        "required": [
          "name",
          "sourceType"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "sourceType": {
            "type": "string"
          },
          "suggestedType": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FileSchema": {
        "required": [
          "columns"
        ],
        "type": "object",
        "properties": {
          "columns": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FileColumn"
            }
          }
        },
        "additionalProperties": false
      },
      "FileStateCount": {
        "type": "object",
        "properties": {
          "state": {
            "$ref": "#/components/schemas/DatasetFileState"
          },
          "files": {
            "type": "integer",
            "format": "int64"
          },
          "bytes": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "FirehoseRecord": {
        "type": "object",
        "properties": {
          "data": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "FirehoseRequest": {
        "type": "object",
        "properties": {
          "requestId": {
            "type": "string"
          },
          "timestamp": {
            "type": "integer",
            "format": "int64"
          },
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FirehoseRecord"
            }
          }
        },
        "additionalProperties": false
      },
      "FirehoseResponse": {
        "type": "object",
        "properties": {
          "requestId": {
            "type": "string"
          },
          "timestamp": {
            "type": "integer",
            "format": "int64"
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetAllServiceLoggingContexts": {
        "type": "object",
        "properties": {
          "contexts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceLoggingContext"
            }
          }
        },
        "additionalProperties": false
      },
      "GetAnalyticsEventsResponse": {
        "type": "object",
        "properties": {
          "events": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AnalyticsEventEntry"
            }
          }
        },
        "additionalProperties": false
      },
      "GetAnalyticsSchemaFindingsResponse": {
        "type": "object",
        "properties": {
          "events": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AnalyticsSchemaFindingsEvent"
            }
          }
        },
        "additionalProperties": false
      },
      "GetGamesResponse": {
        "type": "object",
        "properties": {
          "realms": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RealmView"
            }
          }
        },
        "additionalProperties": false
      },
      "GetManifestContentUrlsRequest": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ManifestContentItem"
            }
          },
          "expirationSeconds": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetManifestContentUrlsResponse": {
        "type": "object",
        "properties": {
          "urls": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ManifestContentUrl"
            }
          }
        },
        "additionalProperties": false
      },
      "GetManifestsResponse": {
        "type": "object",
        "properties": {
          "manifests": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Manifest"
            }
          }
        },
        "additionalProperties": false
      },
      "GetMetricsRequest": {
        "type": "object",
        "properties": {
          "metricName": {
            "type": "string"
          },
          "startTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "endTime": {
            "type": "string",
            "format": "date-time"
          },
          "period": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetPullRequestResponse": {
        "type": "object",
        "properties": {
          "pullRequest": {
            "$ref": "#/components/schemas/ProposedManifest"
          },
          "diff": {
            "$ref": "#/components/schemas/ManifestDiffResponse"
          }
        },
        "additionalProperties": false
      },
      "GetRealmSecretResponse": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetServiceSecretResponse": {
        "type": "object",
        "properties": {
          "secret": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "GetStagingStateResponse": {
        "required": [
          "perFederation"
        ],
        "type": "object",
        "properties": {
          "perFederation": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/FederationStagingState"
            }
          }
        },
        "additionalProperties": false
      },
      "GetStatsResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "stats": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/StatsValue"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetStatusResponse": {
        "type": "object",
        "properties": {
          "services": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceStatus"
            }
          },
          "isCurrent": {
            "type": "boolean"
          },
          "storageStatuses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceStorageStatus"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetTemplatesResponse": {
        "type": "object",
        "properties": {
          "templates": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceTemplateView"
            }
          }
        },
        "additionalProperties": false
      },
      "GetVirtualStatsResponse": {
        "type": "object",
        "properties": {
          "stats": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VirtualStatState"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GitHubSignInInfoResponse": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "installUrl": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GoalDto": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string"
          },
          "predicate": {
            "$ref": "#/components/schemas/GoalPredicateDto"
          },
          "observePid": {
            "type": "string"
          },
          "timerMs": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GoalPredicateDto": {
        "type": "object",
        "properties": {
          "kind": {
            "$ref": "#/components/schemas/GoalPredicateKind"
          },
          "event": {
            "type": "string",
            "nullable": true
          },
          "withinMs": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "predicates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GoalPredicateDto"
            },
            "nullable": true
          },
          "properties": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PropertyBoundDto"
            },
            "nullable": true
          },
          "propertiesMode": {
            "$ref": "#/components/schemas/PropertyBoundsMode"
          },
          "observePid": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GoalPredicateKind": {
        "enum": [
          "EventOccurred",
          "EventAbsent",
          "AllOf",
          "AnyOf"
        ],
        "type": "string"
      },
      "GrantOfferRequest": {
        "required": [
          "federationId",
          "idempotencyKey",
          "offerId",
          "playerId"
        ],
        "type": "object",
        "properties": {
          "federationId": {
            "type": "string"
          },
          "playerId": {
            "type": "integer",
            "format": "int64"
          },
          "offerId": {
            "type": "string"
          },
          "originId": {
            "type": "string",
            "nullable": true
          },
          "idempotencyKey": {
            "type": "string"
          },
          "expiresAtUnixSeconds": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GrantOfferResult": {
        "required": [
          "grantId"
        ],
        "type": "object",
        "properties": {
          "grantId": {
            "type": "string"
          },
          "success": {
            "type": "boolean"
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "retriable": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "GrantOffersRequest": {
        "type": "object",
        "properties": {
          "grants": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GrantOfferRequest"
            }
          }
        },
        "additionalProperties": false
      },
      "GrantOffersResult": {
        "type": "object",
        "properties": {
          "grants": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GrantOfferResult"
            }
          }
        },
        "additionalProperties": false
      },
      "GrantResolution": {
        "required": [
          "delivered",
          "grantId"
        ],
        "type": "object",
        "properties": {
          "grantId": {
            "type": "string"
          },
          "delivered": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "GraphEdgeDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "from": {
            "type": "string"
          },
          "outcome": {
            "type": "string"
          },
          "to": {
            "type": "string"
          },
          "decorators": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DecoratorRefDto"
            }
          }
        },
        "additionalProperties": false
      },
      "GraphNodeDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "lane": {
            "type": "string",
            "nullable": true
          },
          "body": {
            "$ref": "#/components/schemas/NodeBodyDto"
          },
          "outcomes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NodeOutcomeDto"
            }
          },
          "incomingDecorators": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DecoratorRefDto"
            }
          },
          "outgoingDecorators": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DecoratorRefDto"
            }
          }
        },
        "additionalProperties": false
      },
      "GuestAuthRequest": {
        "type": "object",
        "properties": {
          "scope": {
            "type": "string",
            "nullable": true
          },
          "customerId": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "Cid"
          },
          "realmId": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "Pid"
          },
          "context": {
            "$ref": "#/components/schemas/ContextInfo"
          },
          "initProperties": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HttpCall": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string"
          },
          "uri": {
            "type": "string"
          },
          "method": {
            "type": "string"
          },
          "headers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StringStringKeyValuePair"
            },
            "nullable": true
          },
          "body": {
            "type": "string",
            "nullable": true
          },
          "contentType": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IPAddress": {
        "type": "object",
        "properties": {
          "addressFamily": {
            "$ref": "#/components/schemas/AddressFamily"
          },
          "scopeId": {
            "type": "integer",
            "format": "int64"
          },
          "isIPv6Multicast": {
            "type": "boolean",
            "readOnly": true
          },
          "isIPv6LinkLocal": {
            "type": "boolean",
            "readOnly": true
          },
          "isIPv6SiteLocal": {
            "type": "boolean",
            "readOnly": true
          },
          "isIPv6Teredo": {
            "type": "boolean",
            "readOnly": true
          },
          "isIPv6UniqueLocal": {
            "type": "boolean",
            "readOnly": true
          },
          "isIPv4MappedToIPv6": {
            "type": "boolean",
            "readOnly": true
          },
          "address": {
            "type": "integer",
            "format": "int64",
            "deprecated": true
          }
        },
        "additionalProperties": false
      },
      "IdMappingCounts": {
        "type": "object",
        "properties": {
          "ids": {
            "type": "integer",
            "format": "int64"
          },
          "accountsCreated": {
            "type": "integer",
            "format": "int64"
          },
          "accountsUpdated": {
            "type": "integer",
            "format": "int64"
          },
          "gamerTagsAdded": {
            "type": "integer",
            "format": "int64"
          },
          "emailsSkipped": {
            "type": "integer",
            "format": "int64"
          },
          "errors": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "IdPartError": {
        "required": [
          "externalId",
          "message"
        ],
        "type": "object",
        "properties": {
          "externalId": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ImportEventSummary": {
        "required": [
          "event"
        ],
        "type": "object",
        "properties": {
          "scope": {
            "type": "string",
            "nullable": true
          },
          "event": {
            "type": "string"
          },
          "count": {
            "type": "integer",
            "format": "int64"
          },
          "params": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ImportParamSummary"
            }
          }
        },
        "additionalProperties": false
      },
      "ImportExecution": {
        "required": [
          "by",
          "kind",
          "purpose",
          "ref",
          "request"
        ],
        "type": "object",
        "properties": {
          "kind": {
            "type": "string"
          },
          "purpose": {
            "type": "string"
          },
          "ref": {
            "type": "string"
          },
          "by": {
            "type": "string"
          },
          "request": {
            "$ref": "#/components/schemas/ImportExecutionRequest"
          },
          "submittedAt": {
            "type": "string",
            "format": "date-time"
          },
          "finishedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "state": {
            "type": "string"
          },
          "stats": {
            "$ref": "#/components/schemas/ImportExecutionStats"
          },
          "error": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ImportExecutionRequest": {
        "type": "object",
        "additionalProperties": false
      },
      "ImportExecutionStats": {
        "type": "object",
        "additionalProperties": false
      },
      "ImportExpression": {
        "type": "object",
        "properties": {
          "column": {
            "type": "string",
            "nullable": true
          },
          "constant": {
            "type": "string",
            "nullable": true
          },
          "generate": {
            "$ref": "#/components/schemas/ImportGenerator"
          },
          "format": {
            "type": "string",
            "nullable": true
          },
          "lookup": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "sameAs": {
            "type": "string",
            "nullable": true
          },
          "prefix": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ImportFileResult": {
        "required": [
          "key"
        ],
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "sourceRows": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "rowsUnmatched": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "rowsUnmapped": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "rowsInvalidEvent": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ImportGenerator": {
        "enum": [
          "Uuid"
        ],
        "type": "string"
      },
      "ImportInvalidEvent": {
        "required": [
          "event"
        ],
        "type": "object",
        "properties": {
          "scope": {
            "type": "string",
            "nullable": true
          },
          "event": {
            "type": "string"
          },
          "count": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "ImportParamSummary": {
        "required": [
          "key",
          "kind"
        ],
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "count": {
            "type": "integer",
            "format": "int64"
          },
          "kind": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ImportPreviewResponse": {
        "type": "object",
        "properties": {
          "due": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DatasetFile"
            }
          },
          "imported": {
            "type": "integer",
            "format": "int64"
          },
          "remaining": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "ImportProgress": {
        "type": "object",
        "properties": {
          "phase": {
            "type": "string",
            "nullable": true
          },
          "startedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "stage": {
            "type": "string",
            "nullable": true
          },
          "tasksTotal": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "tasksCompleted": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "tasksActive": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "sourceRows": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "rowsUnmapped": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "rowsUnmatched": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "fraction": {
            "type": "number",
            "format": "double",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ImportResponse": {
        "type": "object",
        "properties": {
          "import": {
            "$ref": "#/components/schemas/DatasetImport"
          },
          "progress": {
            "$ref": "#/components/schemas/ImportProgress"
          }
        },
        "additionalProperties": false
      },
      "ImportResult": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "nullable": true
          },
          "sourceRows": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "rowsUnmatched": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "rowsUnmapped": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "actTimeMin": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "actTimeMax": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "rowsWritten": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "params": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ImportFileResult"
            }
          },
          "eventsWritten": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "eventsSkipped": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "events": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ImportEventSummary"
            }
          },
          "eventsTruncated": {
            "type": "boolean"
          },
          "rowsInvalidEvent": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "invalidEventsByScope": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ImportInvalidEvent"
            }
          }
        },
        "additionalProperties": false
      },
      "ImportStageState": {
        "type": "object",
        "properties": {
          "attempt": {
            "type": "integer",
            "format": "int32"
          },
          "startedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "finishedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ImportTransitionRecord": {
        "required": [
          "by",
          "from",
          "to"
        ],
        "type": "object",
        "properties": {
          "from": {
            "$ref": "#/components/schemas/DatasetImportState"
          },
          "to": {
            "$ref": "#/components/schemas/DatasetImportState"
          },
          "at": {
            "type": "string",
            "format": "date-time"
          },
          "by": {
            "type": "string"
          },
          "reason": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InspectScmRepositoryRequest": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          },
          "token": {
            "type": "string",
            "nullable": true
          },
          "username": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InstallationChange": {
        "enum": [
          "Install",
          "Upgrade",
          "ComponentGroups",
          "Realms",
          "AutoUpdate",
          "Uninstall",
          "Reconcile",
          "Retry",
          "Override",
          "OverrideEnded",
          "Downgrade"
        ],
        "type": "string"
      },
      "InstallationDependenciesResponse": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "format": "int64"
          },
          "dependencies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DependencyStatus"
            }
          }
        },
        "additionalProperties": false
      },
      "InstallationHistoryResponse": {
        "type": "object",
        "properties": {
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InstallationHistoryView"
            }
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          },
          "freshnessTimestamp": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "bundle": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "InstallationHistoryView": {
        "type": "object",
        "properties": {
          "change": {
            "$ref": "#/components/schemas/InstallationChange"
          },
          "actor": {
            "type": "string"
          },
          "from": {
            "$ref": "#/components/schemas/InstallationTarget"
          },
          "to": {
            "$ref": "#/components/schemas/InstallationTarget"
          },
          "results": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/InstallationSite"
            }
          },
          "at": {
            "type": "string",
            "format": "date-time"
          },
          "override": {
            "$ref": "#/components/schemas/InstallationOverride"
          }
        },
        "additionalProperties": false
      },
      "InstallationNotice": {
        "type": "object",
        "properties": {
          "bundle": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "format": "int64"
          },
          "status": {
            "$ref": "#/components/schemas/VersionStatus"
          },
          "notice": {
            "$ref": "#/components/schemas/BundleNoticeView"
          },
          "replacementVersion": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "update": {
            "$ref": "#/components/schemas/InstallationUpdate"
          }
        },
        "additionalProperties": false
      },
      "InstallationOverride": {
        "type": "object",
        "properties": {
          "site": {
            "type": "string"
          },
          "component": {
            "type": "string"
          },
          "connectionId": {
            "type": "string",
            "format": "uuid"
          },
          "since": {
            "type": "string",
            "format": "date-time"
          },
          "by": {
            "type": "string",
            "nullable": true
          },
          "baseVersion": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "InstallationPlan": {
        "type": "object",
        "properties": {
          "bundle": {
            "type": "string"
          },
          "zoneId": {
            "type": "string"
          },
          "change": {
            "$ref": "#/components/schemas/InstallationChange"
          },
          "from": {
            "$ref": "#/components/schemas/InstallationTarget"
          },
          "to": {
            "$ref": "#/components/schemas/InstallationTarget"
          },
          "autoUpdateLocked": {
            "type": "boolean"
          },
          "sites": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SitePlan"
            }
          },
          "refusals": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "warnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "hash": {
            "type": "string"
          },
          "blockers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DependencyBlocker"
            }
          },
          "compatible": {
            "type": "boolean",
            "nullable": true
          },
          "detach": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "conflicts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameConflict"
            }
          }
        },
        "additionalProperties": false
      },
      "InstallationRealmMode": {
        "enum": [
          "None",
          "Some",
          "All"
        ],
        "type": "string"
      },
      "InstallationRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "tag": {
            "type": "string",
            "nullable": true
          },
          "componentGroups": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "realms": {
            "$ref": "#/components/schemas/InstalledBundleRealms"
          },
          "autoUpdate": {
            "type": "boolean",
            "nullable": true
          },
          "uninstall": {
            "type": "boolean"
          },
          "detach": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InstallationSite": {
        "type": "object",
        "properties": {
          "state": {
            "$ref": "#/components/schemas/InstallationSiteState"
          },
          "manifestId": {
            "type": "string",
            "nullable": true
          },
          "error": {
            "type": "string",
            "nullable": true
          },
          "at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "InstallationSiteState": {
        "enum": [
          "Pending",
          "Applied",
          "Failed"
        ],
        "type": "string"
      },
      "InstallationTarget": {
        "type": "object",
        "properties": {
          "version": {
            "type": "integer",
            "format": "int64"
          },
          "componentGroups": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "realms": {
            "$ref": "#/components/schemas/InstalledBundleRealms"
          },
          "autoUpdate": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "InstallationUpdate": {
        "type": "object",
        "properties": {
          "runId": {
            "type": "string"
          },
          "trigger": {
            "$ref": "#/components/schemas/UpdateTrigger"
          },
          "version": {
            "type": "integer",
            "format": "int64"
          },
          "state": {
            "$ref": "#/components/schemas/InstallationUpdateState"
          },
          "reason": {
            "type": "string",
            "nullable": true
          },
          "blockedBy": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BlockingDependency"
            },
            "nullable": true
          },
          "heldByOverrides": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "leaseUntil": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "InstallationUpdateState": {
        "enum": [
          "Waiting",
          "Applying",
          "Checking",
          "Updated",
          "Skipped",
          "RolledBack",
          "Failed"
        ],
        "type": "string"
      },
      "InstallationView": {
        "type": "object",
        "properties": {
          "bundle": {
            "type": "string"
          },
          "zoneId": {
            "type": "string"
          },
          "target": {
            "$ref": "#/components/schemas/InstallationTarget"
          },
          "uninstalling": {
            "type": "boolean"
          },
          "autoUpdateLocked": {
            "type": "boolean"
          },
          "sites": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/InstallationSite"
            }
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/VersionStatus"
          },
          "notice": {
            "$ref": "#/components/schemas/BundleNoticeView"
          },
          "update": {
            "$ref": "#/components/schemas/InstallationUpdate"
          },
          "overrides": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OverrideView"
            }
          },
          "notices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BundleNoticeView"
            }
          }
        },
        "additionalProperties": false
      },
      "InstallationViewCursorPagedResult": {
        "type": "object",
        "properties": {
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InstallationView"
            }
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          },
          "freshnessTimestamp": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InstalledBundle": {
        "type": "object",
        "properties": {
          "bundle": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "format": "int64"
          },
          "componentGroups": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "components": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "realms": {
            "$ref": "#/components/schemas/InstalledBundleRealms"
          }
        },
        "additionalProperties": false
      },
      "InstalledBundleRealms": {
        "type": "object",
        "properties": {
          "mode": {
            "$ref": "#/components/schemas/InstallationRealmMode"
          },
          "ids": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "Int32ListValue": {
        "type": "object",
        "properties": {
          "values": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Int64ListValue": {
        "type": "object",
        "properties": {
          "values": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InviteToParty": {
        "type": "object",
        "properties": {
          "playerId": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "Gamertag"
          }
        },
        "additionalProperties": false
      },
      "JobActivity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "jobId": {
            "type": "string"
          },
          "executionId": {
            "type": "string",
            "nullable": true
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "state": {
            "$ref": "#/components/schemas/JobState"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "jobName": {
            "type": "string"
          },
          "owner": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "JobActivityView": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "jobId": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "state": {
            "$ref": "#/components/schemas/JobState"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "jobName": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "JobActivityViewCursorPagedResult": {
        "type": "object",
        "properties": {
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/JobActivityView"
            }
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "JobAnalytics": {
        "type": "object",
        "properties": {
          "consecutiveFailures": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "JobDefinition": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "owner": {
            "type": "string"
          },
          "triggers": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/CronTrigger"
                },
                {
                  "$ref": "#/components/schemas/ExactTrigger"
                }
              ]
            }
          },
          "jobAction": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/HttpCall"
              },
              {
                "$ref": "#/components/schemas/PublishMessage"
              },
              {
                "$ref": "#/components/schemas/ServiceCall"
              }
            ]
          },
          "retryPolicy": {
            "$ref": "#/components/schemas/JobRetryPolicy"
          },
          "lastUpdate": {
            "type": "string",
            "format": "date-time"
          },
          "source": {
            "type": "string",
            "nullable": true
          },
          "nonce": {
            "type": "string",
            "nullable": true
          },
          "isUnique": {
            "type": "boolean"
          },
          "suspendedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "analytics": {
            "$ref": "#/components/schemas/JobAnalytics"
          }
        },
        "additionalProperties": false
      },
      "JobDefinitionSaveRequest": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "triggers": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/CronTrigger"
                },
                {
                  "$ref": "#/components/schemas/ExactTrigger"
                }
              ]
            }
          },
          "jobAction": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/HttpCall"
              },
              {
                "$ref": "#/components/schemas/PublishMessage"
              },
              {
                "$ref": "#/components/schemas/ServiceCall"
              }
            ]
          },
          "retryPolicy": {
            "$ref": "#/components/schemas/JobRetryPolicy"
          },
          "source": {
            "type": "string",
            "nullable": true
          },
          "isUnique": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "JobDefinitionView": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "triggers": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/CronTrigger"
                },
                {
                  "$ref": "#/components/schemas/ExactTrigger"
                }
              ]
            }
          },
          "jobAction": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/HttpCall"
              },
              {
                "$ref": "#/components/schemas/PublishMessage"
              },
              {
                "$ref": "#/components/schemas/ServiceCall"
              }
            ]
          },
          "retryPolicy": {
            "$ref": "#/components/schemas/JobRetryPolicy"
          },
          "lastUpdate": {
            "type": "string",
            "format": "date-time"
          },
          "source": {
            "type": "string",
            "nullable": true
          },
          "isUnique": {
            "type": "boolean"
          },
          "suspendedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "analytics": {
            "$ref": "#/components/schemas/JobAnalytics"
          },
          "owner": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "JobDefinitionViewCursorPagedResult": {
        "type": "object",
        "properties": {
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/JobDefinitionView"
            }
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "JobRetryPolicy": {
        "type": "object",
        "properties": {
          "maxRetryCount": {
            "type": "integer",
            "format": "int32"
          },
          "retryDelayMs": {
            "type": "integer",
            "format": "int32"
          },
          "useExponentialBackoff": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "JobState": {
        "enum": [
          "ENQUEUED",
          "DISPATCHED",
          "RUNNING",
          "DONE",
          "CANCELED",
          "SUSPENDED",
          "ERROR"
        ],
        "type": "string"
      },
      "JoinLobby": {
        "type": "object",
        "properties": {
          "tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Tag"
            },
            "nullable": true
          },
          "passcode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "JsonNode": {
        "type": "object",
        "properties": {
          "options": {
            "$ref": "#/components/schemas/JsonNodeOptions"
          },
          "parent": {
            "$ref": "#/components/schemas/JsonNode"
          },
          "root": {
            "$ref": "#/components/schemas/JsonNode"
          }
        },
        "additionalProperties": false
      },
      "JsonNodeOptions": {
        "type": "object",
        "properties": {
          "propertyNameCaseInsensitive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "JsonWebKey": {
        "type": "object",
        "properties": {
          "alg": {
            "type": "string",
            "nullable": true
          },
          "crv": {
            "type": "string",
            "nullable": true
          },
          "d": {
            "type": "string",
            "nullable": true
          },
          "dp": {
            "type": "string",
            "nullable": true
          },
          "dq": {
            "type": "string",
            "nullable": true
          },
          "e": {
            "type": "string",
            "nullable": true
          },
          "k": {
            "type": "string",
            "nullable": true
          },
          "key_ops": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true,
            "readOnly": true
          },
          "kid": {
            "type": "string",
            "nullable": true
          },
          "kty": {
            "type": "string",
            "nullable": true
          },
          "n": {
            "type": "string",
            "nullable": true
          },
          "oth": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true,
            "readOnly": true
          },
          "p": {
            "type": "string",
            "nullable": true
          },
          "q": {
            "type": "string",
            "nullable": true
          },
          "qi": {
            "type": "string",
            "nullable": true
          },
          "use": {
            "type": "string",
            "nullable": true
          },
          "x": {
            "type": "string",
            "nullable": true
          },
          "x5c": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true,
            "readOnly": true
          },
          "x5t": {
            "type": "string",
            "nullable": true
          },
          "x5t#S256": {
            "type": "string",
            "nullable": true
          },
          "x5u": {
            "type": "string",
            "nullable": true
          },
          "y": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": { }
      },
      "JsonWebKeySet": {
        "type": "object",
        "properties": {
          "keys": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/JsonWebKey"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": { }
      },
      "LatestTransfer": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "state": {
            "$ref": "#/components/schemas/TransferState"
          },
          "execution": {
            "type": "string",
            "nullable": true
          },
          "startedAt": {
            "type": "string",
            "format": "date-time"
          },
          "finishedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LeaveParty": {
        "type": "object",
        "properties": {
          "playerId": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "Gamertag"
          }
        },
        "additionalProperties": false
      },
      "LegacyAccessToken": {
        "type": "object",
        "properties": {
          "ttl": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "accountIdRaw": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "cid": {
            "type": "integer",
            "format": "int64"
          },
          "gamerTag": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "type": {
            "type": "string"
          },
          "expiresMs": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "deviceId": {
            "type": "string",
            "nullable": true
          },
          "platform": {
            "type": "string",
            "nullable": true
          },
          "token": {
            "type": "string"
          },
          "revoked": {
            "type": "boolean",
            "nullable": true
          },
          "customerId": {
            "type": "string",
            "readOnly": true
          },
          "gameId": {
            "type": "string",
            "nullable": true
          },
          "realmId": {
            "type": "string",
            "nullable": true
          },
          "accountId": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "playerId": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "LibraryEntry": {
        "type": "object",
        "properties": {
          "bundle": {
            "type": "string"
          },
          "acquired": {
            "type": "boolean"
          },
          "owned": {
            "type": "boolean"
          },
          "acquiredAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "installations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LibraryInstallation"
            }
          }
        },
        "additionalProperties": false
      },
      "LibraryEntryCursorPagedResult": {
        "type": "object",
        "properties": {
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LibraryEntry"
            }
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          },
          "freshnessTimestamp": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LibraryInstallation": {
        "type": "object",
        "properties": {
          "zoneId": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "format": "int64"
          },
          "uninstalling": {
            "type": "boolean"
          },
          "status": {
            "$ref": "#/components/schemas/VersionStatus"
          },
          "notice": {
            "$ref": "#/components/schemas/BundleNoticeView"
          },
          "update": {
            "$ref": "#/components/schemas/InstallationUpdate"
          },
          "notices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BundleNoticeView"
            }
          }
        },
        "additionalProperties": false
      },
      "Link": {
        "type": "object",
        "properties": {
          "href": {
            "type": "string"
          },
          "rel": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ListDataBindingsResponse": {
        "type": "object",
        "properties": {
          "bindings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DataBinding"
            }
          }
        },
        "additionalProperties": false
      },
      "ListDatasetFilesResponse": {
        "type": "object",
        "properties": {
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DatasetFile"
            }
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "next": {
            "type": "string",
            "nullable": true
          },
          "states": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FileStateCount"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ListDatasetsResponse": {
        "type": "object",
        "properties": {
          "datasets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DatasetView"
            }
          },
          "imports": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DatasetImportSummary"
            }
          }
        },
        "additionalProperties": false
      },
      "ListImportIdPartsResponse": {
        "type": "object",
        "properties": {
          "parts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DatasetImportIdPart"
            }
          }
        },
        "additionalProperties": false
      },
      "ListImportsResponse": {
        "type": "object",
        "properties": {
          "imports": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DatasetImport"
            }
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ListJobsResponse": {
        "type": "object",
        "properties": {
          "jobs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VirtualStatJobView"
            }
          }
        },
        "additionalProperties": false
      },
      "ListPullRequestsResponse": {
        "type": "object",
        "properties": {
          "pullRequests": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProposedManifest"
            }
          }
        },
        "additionalProperties": false
      },
      "ListReleasesResponse": {
        "type": "object",
        "properties": {
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BundleRelease"
            }
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          },
          "freshnessTimestamp": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "tags": {
            "type": "object",
            "additionalProperties": {
              "type": "integer",
              "format": "int64"
            }
          },
          "notices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BundleNoticeView"
            }
          }
        },
        "additionalProperties": false
      },
      "ListScmConnectionsResponse": {
        "type": "object",
        "properties": {
          "connections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScmConnection"
            }
          }
        },
        "additionalProperties": false
      },
      "ListScmRepositoriesResponse": {
        "type": "object",
        "properties": {
          "repositories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScmRepository"
            }
          }
        },
        "additionalProperties": false
      },
      "ListStatKeysResponse": {
        "type": "object",
        "properties": {
          "keys": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StatKey"
            }
          }
        },
        "additionalProperties": false
      },
      "ListTokensResponse": {
        "type": "object",
        "properties": {
          "tokens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RefreshTokenResponse"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ListTransfersResponse": {
        "type": "object",
        "properties": {
          "transfers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TransferStatus"
            }
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ListVirtualStatsResponse": {
        "type": "object",
        "properties": {
          "definitions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VirtualStatDefinition"
            }
          }
        },
        "additionalProperties": false
      },
      "Lobby": {
        "type": "object",
        "properties": {
          "lobbyId": {
            "type": "string",
            "nullable": true
          },
          "matchType": {
            "$ref": "#/components/schemas/MatchType"
          },
          "created": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "host": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "Gamertag"
          },
          "players": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LobbyPlayer"
            },
            "nullable": true
          },
          "passcode": {
            "type": "string",
            "nullable": true
          },
          "restriction": {
            "$ref": "#/components/schemas/LobbyRestriction"
          },
          "maxPlayers": {
            "type": "integer",
            "format": "int32"
          },
          "data": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LobbyPlayer": {
        "type": "object",
        "properties": {
          "playerId": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "Gamertag"
          },
          "tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Tag"
            },
            "nullable": true
          },
          "joined": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LobbyQueryResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Lobby"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LobbyRestriction": {
        "enum": [
          "Null",
          "Closed",
          "Open"
        ],
        "type": "string"
      },
      "LogContextRule": {
        "required": [
          "enabled",
          "logLevel",
          "ruleFilters"
        ],
        "type": "object",
        "properties": {
          "ruleId": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "author": {
            "$ref": "#/components/schemas/LogContextRuleAuthor"
          },
          "whoLastEdit": {
            "$ref": "#/components/schemas/LogContextRuleAuthor"
          },
          "createdAt": {
            "type": "integer",
            "format": "int64"
          },
          "updatedAt": {
            "type": "integer",
            "format": "int64"
          },
          "expiresAt": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "logLevel": {
            "$ref": "#/components/schemas/LogLevel"
          },
          "ruleFilters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContextRuleFilter"
            }
          }
        },
        "additionalProperties": false
      },
      "LogContextRuleAuthor": {
        "required": [
          "accountId"
        ],
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "nullable": true
          },
          "accountId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "LogLevel": {
        "enum": [
          "Trace",
          "Debug",
          "Information",
          "Warning",
          "Error",
          "Critical",
          "None"
        ],
        "type": "string"
      },
      "LogProvider": {
        "enum": [
          "Cloudwatch",
          "Clickhouse"
        ],
        "type": "string"
      },
      "Manifest": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "serviceReferences": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceReference"
            }
          },
          "created": {
            "type": "integer",
            "format": "int64"
          },
          "createdByAccountId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "checksum": {
            "type": "string",
            "readOnly": true
          },
          "comments": {
            "type": "string",
            "nullable": true
          },
          "storageReferences": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceStorageReference"
            }
          },
          "storageGroupId": {
            "type": "string",
            "nullable": true
          },
          "portalExtensionReferences": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PortalExtensionReference"
            }
          },
          "schemaReferences": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SchemaReference"
            }
          },
          "schemaVersion": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "installedBundles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InstalledBundle"
            },
            "nullable": true
          },
          "baseManifestId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ManifestChecksum": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "checksum": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "warnings": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ManifestContentItem": {
        "type": "object",
        "properties": {
          "contentId": {
            "type": "string"
          },
          "version": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ManifestContentUrl": {
        "type": "object",
        "properties": {
          "contentId": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ManifestDiffChange": {
        "enum": [
          "Added",
          "Changed",
          "Removed"
        ],
        "type": "string"
      },
      "ManifestDiffEntry": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "change": {
            "$ref": "#/components/schemas/ManifestDiffChange"
          }
        },
        "additionalProperties": false
      },
      "ManifestDiffResponse": {
        "type": "object",
        "properties": {
          "components": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ManifestDiffEntry"
            }
          }
        },
        "additionalProperties": false
      },
      "MarketplaceBundleResponse": {
        "type": "object",
        "properties": {
          "bundle": {
            "$ref": "#/components/schemas/BundleSummaryView"
          },
          "latestRelease": {
            "$ref": "#/components/schemas/BundleRelease"
          },
          "latestContent": {
            "$ref": "#/components/schemas/BundleContentView"
          }
        },
        "additionalProperties": false
      },
      "Match": {
        "type": "object",
        "properties": {
          "matchId": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "created": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "matchType": {
            "$ref": "#/components/schemas/MatchType"
          },
          "teams": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Team"
            },
            "nullable": true
          },
          "tickets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Ticket"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MatchType": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "ContentId"
          },
          "teams": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TeamContentProto"
            },
            "nullable": true
          },
          "waitAfterMinReachedSecs": {
            "type": "integer",
            "format": "int32"
          },
          "maxWaitDurationSecs": {
            "type": "integer",
            "format": "int32"
          },
          "matchingIntervalSecs": {
            "type": "integer",
            "format": "int32"
          },
          "federatedGameServerNamespace": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MembershipQueryResponse": {
        "required": [
          "results"
        ],
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlayerMembershipResult"
            }
          }
        },
        "additionalProperties": false
      },
      "MembershipSource": {
        "enum": [
          "Rule",
          "IncludeList"
        ],
        "type": "string"
      },
      "MergeRequest": {
        "type": "object",
        "properties": {
          "fromAccountId": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "MessageRailRegistrationResponse": {
        "type": "object",
        "properties": {
          "playerId": {
            "type": "string"
          },
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MessageRequest": {
        "type": "object",
        "properties": {
          "body": {
            "type": "string",
            "nullable": true
          },
          "pid": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "Pid"
          },
          "playerId": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "Gamertag"
          },
          "channel": {
            "type": "string",
            "nullable": true
          },
          "realmId": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "Pid"
          },
          "singleDelivery": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "NameConflict": {
        "type": "object",
        "properties": {
          "scope": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "bundle": {
            "type": "string",
            "nullable": true
          },
          "archived": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "NewCustomerRequest": {
        "required": [
          "email",
          "password",
          "realmName"
        ],
        "type": "object",
        "properties": {
          "realmName": {
            "type": "string"
          },
          "customerName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "hierarchy": {
            "type": "boolean"
          },
          "alias": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NewCustomerResponse": {
        "required": [
          "customerId",
          "name",
          "realmId",
          "realmName",
          "token"
        ],
        "type": "object",
        "properties": {
          "token": {
            "$ref": "#/components/schemas/AuthResponse"
          },
          "customerId": {
            "type": "string"
          },
          "realmId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "alias": {
            "type": "string",
            "nullable": true
          },
          "realmName": {
            "type": "string"
          },
          "activationPending": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "NewGameRequest": {
        "required": [
          "gameName"
        ],
        "type": "object",
        "properties": {
          "gameName": {
            "type": "string"
          },
          "isHidden": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NewVersionResponseDto": {
        "type": "object",
        "properties": {
          "version": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "NodeBodyDto": {
        "type": "object",
        "properties": {
          "kind": {
            "$ref": "#/components/schemas/NodeKind"
          },
          "entry": {
            "$ref": "#/components/schemas/EntryBodyDto"
          },
          "segment": {
            "$ref": "#/components/schemas/SegmentBodyDto"
          },
          "schedule": {
            "$ref": "#/components/schemas/ScheduleBodyDto"
          },
          "send": {
            "$ref": "#/components/schemas/SendBodyDto"
          },
          "analyticsGate": {
            "$ref": "#/components/schemas/AnalyticsGateBodyDto"
          },
          "customProperties": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NodeKind": {
        "enum": [
          "Entry",
          "Segment",
          "Schedule",
          "Send",
          "AnalyticsGate"
        ],
        "type": "string"
      },
      "NodeOutcomeDto": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "timing": {
            "$ref": "#/components/schemas/OutcomeTiming"
          }
        },
        "additionalProperties": false
      },
      "NodeState": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "$ref": "#/components/schemas/StatsValue"
          },
          "time": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "firstSeen": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NullValue": {
        "enum": [
          "NULL_VALUE"
        ],
        "type": "string"
      },
      "OfferAmount": {
        "required": [
          "symbol",
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "amount": {
            "type": "integer",
            "format": "int64"
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "properties": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "OfferConditionAttribute": {
        "required": [
          "computed",
          "description",
          "domain",
          "key",
          "namespace",
          "type",
          "visibility"
        ],
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "namespace": {
            "type": "string"
          },
          "domain": {
            "type": "string"
          },
          "visibility": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "unit": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string"
          },
          "computed": {
            "type": "boolean"
          },
          "custom": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "OfferGrantState": {
        "enum": [
          "Pending",
          "Granted",
          "Claiming",
          "Redeemed",
          "Revoked",
          "Expired",
          "Failed"
        ],
        "type": "string"
      },
      "OfferItem": {
        "required": [
          "offerId"
        ],
        "type": "object",
        "properties": {
          "offerId": {
            "type": "string"
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "cost": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OfferAmount"
            }
          },
          "rewards": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OfferAmount"
            }
          },
          "priceLabel": {
            "type": "string",
            "nullable": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "properties": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "OfferReason": {
        "required": [
          "code"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "properties": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "OnHoldGrant": {
        "required": [
          "federationId",
          "grantId",
          "offerId",
          "playerId"
        ],
        "type": "object",
        "properties": {
          "grantId": {
            "type": "string"
          },
          "playerId": {
            "type": "integer",
            "format": "int64"
          },
          "federationId": {
            "type": "string"
          },
          "offerId": {
            "type": "string"
          },
          "deliveryStartedAtUnixSeconds": {
            "type": "integer",
            "format": "int64"
          },
          "offer": {
            "$ref": "#/components/schemas/OfferItem"
          }
        },
        "additionalProperties": false
      },
      "OnHoldGrantsResult": {
        "type": "object",
        "properties": {
          "grants": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OnHoldGrant"
            }
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OnlineStatus": {
        "type": "object",
        "properties": {
          "online": {
            "type": "boolean"
          },
          "lastOnline": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "playerId": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "Gamertag"
          },
          "status": {
            "$ref": "#/components/schemas/PresenceStatus"
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OnlineStatusQuery": {
        "type": "object",
        "properties": {
          "playerIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "OpenIdConfigResponse": {
        "required": [
          "issuer",
          "jwks_uri"
        ],
        "type": "object",
        "properties": {
          "issuer": {
            "type": "string"
          },
          "jwks_uri": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "Operator": {
        "enum": [
          "OPERATOR_UNSPECIFIED",
          "EQ",
          "NEQ",
          "GT",
          "GTE",
          "LT",
          "LTE",
          "IN",
          "NOT_IN",
          "BETWEEN",
          "CONTAINS",
          "EXISTS",
          "NOT_EXISTS"
        ],
        "type": "string"
      },
      "OrderDirection": {
        "enum": [
          "Desc",
          "Asc"
        ],
        "type": "string"
      },
      "OtelAuthConfig": {
        "required": [
          "endpoint",
          "password",
          "username"
        ],
        "type": "object",
        "properties": {
          "endpoint": {
            "type": "string",
            "format": "uri"
          },
          "username": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OtelView": {
        "required": [
          "accountId",
          "name",
          "query"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "accountId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "query": {
            "type": "string"
          },
          "isPublic": {
            "type": "boolean"
          },
          "isFavorite": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "OtelViewsResponse": {
        "required": [
          "views"
        ],
        "type": "object",
        "properties": {
          "views": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OtelView"
            }
          }
        },
        "additionalProperties": false
      },
      "OutcomeTiming": {
        "enum": [
          "Immediate",
          "Delayed"
        ],
        "type": "string"
      },
      "OverrideDeclaration": {
        "type": "object",
        "properties": {
          "component": {
            "type": "string"
          },
          "connectionId": {
            "type": "string",
            "format": "uuid"
          },
          "remote": {
            "type": "string"
          },
          "baseVersion": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OverrideView": {
        "type": "object",
        "properties": {
          "site": {
            "type": "string"
          },
          "component": {
            "type": "string"
          },
          "connectionId": {
            "type": "string",
            "format": "uuid"
          },
          "since": {
            "type": "string",
            "format": "date-time"
          },
          "by": {
            "type": "string",
            "nullable": true
          },
          "baseVersion": {
            "type": "integer",
            "format": "int64"
          },
          "changedIn": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PANamespace": {
        "required": [
          "namespace",
          "type"
        ],
        "type": "object",
        "properties": {
          "namespace": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "PASlowQuery": {
        "required": [
          "line",
          "namespace"
        ],
        "type": "object",
        "properties": {
          "line": {
            "type": "string"
          },
          "namespace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "PASuggestedIndex": {
        "required": [
          "id",
          "impact",
          "index",
          "namespace",
          "weight"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "impact": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "index": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": {
                "type": "integer",
                "format": "int32"
              }
            }
          },
          "namespace": {
            "type": "string"
          },
          "weight": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "Party": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "restriction": {
            "type": "string",
            "nullable": true
          },
          "leader": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "Gamertag"
          },
          "members": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true,
            "x-beamable-semantic-type": "Gamertag"
          },
          "maxSize": {
            "type": "integer",
            "format": "int32"
          },
          "pendingInvites": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "created": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "membersTags": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/TagList"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PartyInvitation": {
        "type": "object",
        "properties": {
          "partyId": {
            "type": "string",
            "nullable": true
          },
          "invitedBy": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PartyInvitesForPlayerResponse": {
        "type": "object",
        "properties": {
          "invitations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PartyInvitation"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PartyMemberTags": {
        "type": "object",
        "properties": {
          "memberTags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Tag"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PasswordAuthRequest": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          },
          "scope": {
            "type": "string",
            "nullable": true
          },
          "customerId": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "Cid"
          },
          "realmId": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "Pid"
          },
          "context": {
            "$ref": "#/components/schemas/ContextInfo"
          }
        },
        "additionalProperties": false
      },
      "PasswordResetConfirmation": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "newPassword": {
            "type": "string"
          },
          "email": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PasswordResetRequest": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "codeType": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PathRuleOperationType": {
        "enum": [
          "Include",
          "Contain",
          "StartsWith",
          "EndsWith"
        ],
        "type": "string"
      },
      "PaymentStatus": {
        "enum": [
          "Free",
          "Paid",
          "Banned"
        ],
        "type": "string"
      },
      "PaymentTotal": {
        "type": "object",
        "properties": {
          "currency": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "PlacedBundle": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "listing": {
            "$ref": "#/components/schemas/BundleListing"
          },
          "latestVersion": {
            "type": "integer",
            "format": "int64"
          },
          "componentGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlacedComponentGroup"
            }
          },
          "owned": {
            "type": "boolean"
          },
          "acquired": {
            "type": "boolean"
          },
          "installation": {
            "$ref": "#/components/schemas/PlacedInstallation"
          }
        },
        "additionalProperties": false
      },
      "PlacedComponentGroup": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "extensions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "PlacedInstallation": {
        "type": "object",
        "properties": {
          "zoneId": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "format": "int64"
          },
          "componentGroupsOn": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "Placement": {
        "type": "object",
        "properties": {
          "page": {
            "type": "string",
            "nullable": true
          },
          "site": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PlacementBundles": {
        "type": "object",
        "properties": {
          "place": {
            "$ref": "#/components/schemas/Placement"
          },
          "bundles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlacedBundle"
            }
          }
        },
        "additionalProperties": false
      },
      "PlacementBundlesCursorPagedResult": {
        "type": "object",
        "properties": {
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlacementBundles"
            }
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          },
          "freshnessTimestamp": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PlayerMembershipResult": {
        "required": [
          "inSegments",
          "playerId"
        ],
        "type": "object",
        "properties": {
          "playerId": {
            "type": "integer",
            "format": "int64"
          },
          "inSegments": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "entered": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/SegmentEntered"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PlayerOffer": {
        "required": [
          "federationId",
          "grantId",
          "offerId",
          "state"
        ],
        "type": "object",
        "properties": {
          "grantId": {
            "type": "string"
          },
          "federationId": {
            "type": "string"
          },
          "offerId": {
            "type": "string"
          },
          "state": {
            "$ref": "#/components/schemas/OfferGrantState"
          },
          "grantedAtUnixSeconds": {
            "type": "integer",
            "format": "int64"
          },
          "expiresAtUnixSeconds": {
            "type": "integer",
            "format": "int64"
          },
          "offer": {
            "$ref": "#/components/schemas/OfferItem"
          },
          "available": {
            "type": "boolean"
          },
          "unavailableReasons": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OfferReason"
            }
          },
          "publicProperties": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "publicPropertiesTruncated": {
            "type": "boolean"
          },
          "providerStatus": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PlayerOffersPage": {
        "type": "object",
        "properties": {
          "offers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlayerOffer"
            }
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PlayerRuleOperationType": {
        "enum": [
          "Include",
          "GreaterThan",
          "LesserThan"
        ],
        "type": "string"
      },
      "PlayerSegmentInfo": {
        "required": [
          "segmentId",
          "sources"
        ],
        "type": "object",
        "properties": {
          "segmentId": {
            "type": "string"
          },
          "enteredAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "enteredBefore": {
            "type": "boolean"
          },
          "sources": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MembershipSource"
            }
          }
        },
        "additionalProperties": false
      },
      "PlayerStatsResult": {
        "required": [
          "playerId",
          "stats"
        ],
        "type": "object",
        "properties": {
          "playerId": {
            "type": "integer",
            "format": "int64"
          },
          "stats": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/StatsValue"
            }
          }
        },
        "additionalProperties": false
      },
      "PlayersBatchGetRequest": {
        "required": [
          "domain",
          "playerIds",
          "visibility"
        ],
        "type": "object",
        "properties": {
          "domain": {
            "type": "string"
          },
          "visibility": {
            "$ref": "#/components/schemas/StatsVisibility"
          },
          "playerIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            }
          },
          "keys": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PlayersBatchGetResponse": {
        "required": [
          "results"
        ],
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlayerStatsResult"
            }
          }
        },
        "additionalProperties": false
      },
      "PlayersStatusResponse": {
        "type": "object",
        "properties": {
          "playersStatus": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OnlineStatus"
            }
          }
        },
        "additionalProperties": false
      },
      "PortalExtensionReference": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "archived": {
            "type": "boolean"
          },
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExtensionContentReference"
            }
          },
          "attributes": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "dependencies": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "origin": {
            "$ref": "#/components/schemas/ComponentOrigin"
          },
          "checksum": {
            "type": "string",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "PortalSessionResponse": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "PostManifestRequest": {
        "type": "object",
        "properties": {
          "manifest": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceReference"
            }
          },
          "storageReferences": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceStorageReference"
            }
          },
          "portalExtensionReferences": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PortalExtensionReference"
            },
            "nullable": true
          },
          "schemaReferences": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SchemaReference"
            },
            "nullable": true
          },
          "comments": {
            "type": "string",
            "nullable": true
          },
          "autoDeploy": {
            "type": "boolean"
          },
          "schemaVersion": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "baseManifestId": {
            "type": "string",
            "nullable": true
          },
          "overrides": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OverrideDeclaration"
            },
            "nullable": true
          },
          "endOverrides": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PresenceStatus": {
        "enum": [
          "Visible",
          "Invisible",
          "Dnd",
          "Away"
        ],
        "type": "string"
      },
      "ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": { }
      },
      "Promotable": {
        "required": [
          "checksum",
          "createdAt"
        ],
        "type": "object",
        "properties": {
          "checksum": {
            "type": "string"
          },
          "createdAt": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "PromotableType": {
        "enum": [
          "Content",
          "Microservices",
          "Services",
          "PortalExtensions",
          "Schemas",
          "Bundles"
        ],
        "type": "string"
      },
      "PromoteBeamoManifestRequest": {
        "required": [
          "sourceRealmId"
        ],
        "type": "object",
        "properties": {
          "sourceRealmId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "PromoteNewLeader": {
        "type": "object",
        "properties": {
          "playerId": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "Gamertag"
          }
        },
        "additionalProperties": false
      },
      "PromoteRealmRequest": {
        "required": [
          "sourceRealmId"
        ],
        "type": "object",
        "properties": {
          "sourceRealmId": {
            "type": "string"
          },
          "promotions": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PromotableType"
            },
            "nullable": true
          },
          "contentManifestIds": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PromoteRealmResponse": {
        "required": [
          "sourceRealmId"
        ],
        "type": "object",
        "properties": {
          "sourceRealmId": {
            "type": "string"
          },
          "scopes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PromotionScope"
            }
          }
        },
        "additionalProperties": false
      },
      "PromoteZoneRequest": {
        "required": [
          "sourceZoneId"
        ],
        "type": "object",
        "properties": {
          "sourceZoneId": {
            "type": "string"
          },
          "promotions": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PromotableType"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PromoteZoneResponse": {
        "required": [
          "sourceZoneId"
        ],
        "type": "object",
        "properties": {
          "sourceZoneId": {
            "type": "string"
          },
          "scopes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PromotionScope"
            }
          }
        },
        "additionalProperties": false
      },
      "Promotion": {
        "required": [
          "destination",
          "id",
          "source"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Promotable"
          },
          "destination": {
            "$ref": "#/components/schemas/Promotable"
          },
          "kind": {
            "$ref": "#/components/schemas/ServiceEntryKind"
          },
          "warning": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PromotionScope": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "$ref": "#/components/schemas/PromotableType"
          },
          "promotions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Promotion"
            }
          }
        },
        "additionalProperties": false
      },
      "PropertyBoundDto": {
        "type": "object",
        "properties": {
          "propertyName": {
            "type": "string"
          },
          "min": {
            "$ref": "#/components/schemas/BoundDto"
          },
          "max": {
            "$ref": "#/components/schemas/BoundDto"
          },
          "setOp": {
            "$ref": "#/components/schemas/PropertySetOp"
          },
          "values": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "target": {
            "$ref": "#/components/schemas/PropertyBoundTarget"
          }
        },
        "additionalProperties": false
      },
      "PropertyBoundTarget": {
        "enum": [
          "Value",
          "Count"
        ],
        "type": "string"
      },
      "PropertyBoundsMode": {
        "enum": [
          "All",
          "Any"
        ],
        "type": "string"
      },
      "PropertySetOp": {
        "enum": [
          "ContainsAny",
          "ContainsAll",
          "ContainsNone",
          "IsOneOf",
          "IsNoneOf"
        ],
        "type": "string"
      },
      "ProposedManifest": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "created": {
            "type": "integer",
            "format": "int64"
          },
          "status": {
            "$ref": "#/components/schemas/PullRequestStatus"
          },
          "submittedByAccountId": {
            "type": "integer",
            "format": "int64"
          },
          "sourceScopeId": {
            "type": "string",
            "nullable": true
          },
          "proposed": {
            "$ref": "#/components/schemas/PostManifestRequest"
          },
          "comments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PullRequestComment"
            }
          },
          "resolvedByAccountId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "resolvedAt": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "lastApplyError": {
            "type": "string",
            "nullable": true
          },
          "resultManifestId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProtoError": {
        "type": "object",
        "properties": {
          "status": {
            "type": "integer",
            "format": "int32"
          },
          "error": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PublishMessage": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string"
          },
          "topic": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "persist": {
            "type": "boolean"
          },
          "headers": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PublishReleaseRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "components": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BundleComponent"
            }
          },
          "componentGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BundleComponentGroup"
            }
          },
          "dependencies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BundleDep"
            }
          },
          "compatibleSince": {
            "type": "object",
            "additionalProperties": {
              "type": "integer",
              "format": "int64"
            }
          },
          "irreversibleDataChange": {
            "type": "boolean"
          },
          "tag": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PublishReleaseResponse": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "format": "int64"
          },
          "checksum": {
            "type": "string"
          },
          "isNewVersion": {
            "type": "boolean"
          },
          "warnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "PullRequestComment": {
        "type": "object",
        "properties": {
          "accountId": {
            "type": "integer",
            "format": "int64"
          },
          "message": {
            "type": "string"
          },
          "created": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "PullRequestStatus": {
        "enum": [
          "Pending",
          "Approved",
          "Rejected",
          "Superseded"
        ],
        "type": "string"
      },
      "PutRealmSecretRequest": {
        "type": "object",
        "properties": {
          "value": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "QueryResponse": {
        "type": "object",
        "properties": {
          "queryId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "QueueCheckDto": {
        "type": "object",
        "properties": {
          "conflicts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QueueConflictDto"
            }
          }
        },
        "additionalProperties": false
      },
      "QueueConflictDto": {
        "type": "object",
        "properties": {
          "campaignId": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string"
          },
          "phase": {
            "$ref": "#/components/schemas/CampaignLifecycle"
          },
          "from": {
            "type": "string",
            "format": "date-time"
          },
          "to": {
            "type": "string",
            "format": "date-time"
          },
          "experiment": {
            "type": "boolean"
          },
          "blocking": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "Realm": {
        "required": [
          "name",
          "plan",
          "zoneId"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "secret": {
            "type": "string"
          },
          "plan": {
            "type": "string"
          },
          "sharded": {
            "type": "boolean",
            "nullable": true
          },
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "parent": {
            "type": "string",
            "nullable": true
          },
          "zoneId": {
            "type": "string"
          },
          "children": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "config": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "isArchived": {
            "type": "boolean",
            "nullable": true
          },
          "hidden": {
            "type": "boolean",
            "nullable": true
          },
          "bundlesReconcileAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "customCharts": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "deprecated": true
          }
        },
        "additionalProperties": false
      },
      "RealmAssociation": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string"
          },
          "gamerTag": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "RealmConfiguration": {
        "required": [
          "environment",
          "microserviceEcrUri",
          "microserviceUri",
          "portalUri",
          "storageBrowserUri",
          "websocketConfig"
        ],
        "type": "object",
        "properties": {
          "environment": {
            "type": "string"
          },
          "websocketConfig": {
            "$ref": "#/components/schemas/WebSocketConfiguration"
          },
          "microserviceUri": {
            "type": "string"
          },
          "microserviceEcrUri": {
            "type": "string"
          },
          "portalUri": {
            "type": "string"
          },
          "storageBrowserUri": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "RealmDataKeyInfo": {
        "required": [
          "createdAt",
          "id",
          "provider"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "provider": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "RealmDataKeyInfoCursorPagedResult": {
        "type": "object",
        "properties": {
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RealmDataKeyInfo"
            }
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          },
          "freshnessTimestamp": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RealmRolesReport": {
        "type": "object",
        "properties": {
          "realmName": {
            "type": "string"
          },
          "realmDisplayName": {
            "type": "string"
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "RealmSecretInfo": {
        "required": [
          "algorithm",
          "dataKeyId",
          "key",
          "updatedAt"
        ],
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "dataKeyId": {
            "type": "string"
          },
          "algorithm": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "RealmSecretInfoCursorPagedResult": {
        "type": "object",
        "properties": {
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RealmSecretInfo"
            }
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          },
          "freshnessTimestamp": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RealmSecretsAuditInfo": {
        "required": [
          "operation",
          "timestamp"
        ],
        "type": "object",
        "properties": {
          "operation": {
            "$ref": "#/components/schemas/RealmSecretsOperation"
          },
          "secretKey": {
            "type": "string",
            "nullable": true
          },
          "rc": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "RealmSecretsAuditInfoCursorPagedResult": {
        "type": "object",
        "properties": {
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RealmSecretsAuditInfo"
            }
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          },
          "freshnessTimestamp": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RealmSecretsOperation": {
        "enum": [
          "Get",
          "Put",
          "Delete",
          "RotateDataKey"
        ],
        "type": "string"
      },
      "RealmView": {
        "required": [
          "displayName",
          "realmId",
          "zoneId"
        ],
        "type": "object",
        "properties": {
          "displayName": {
            "type": "string"
          },
          "realmId": {
            "type": "string"
          },
          "customerId": {
            "type": "string",
            "nullable": true
          },
          "sharded": {
            "type": "boolean",
            "nullable": true
          },
          "zoneId": {
            "type": "string"
          },
          "parent": {
            "type": "string",
            "nullable": true
          },
          "children": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "archived": {
            "type": "boolean"
          },
          "secret": {
            "type": "string",
            "nullable": true
          },
          "hidden": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "RecentlyOnlineResponse": {
        "type": "object",
        "properties": {
          "playerIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "RecomputeRequest": {
        "type": "object",
        "properties": {
          "playerId": {
            "type": "string",
            "nullable": true
          },
          "visibility": {
            "$ref": "#/components/schemas/StatsVisibility"
          },
          "key": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RedeemOfferRequest": {
        "required": [
          "playerId"
        ],
        "type": "object",
        "properties": {
          "playerId": {
            "type": "integer",
            "format": "int64"
          },
          "params": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RedeemOfferResult": {
        "required": [
          "grantId"
        ],
        "type": "object",
        "properties": {
          "grantId": {
            "type": "string"
          },
          "success": {
            "type": "boolean"
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "$ref": "#/components/schemas/OfferGrantState"
          },
          "reason": {
            "$ref": "#/components/schemas/OfferReason"
          }
        },
        "additionalProperties": false
      },
      "RefreshToken": {
        "type": "object",
        "properties": {
          "ttl": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "accountIdRaw": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "cid": {
            "type": "integer",
            "format": "int64"
          },
          "gamerTag": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "type": {
            "type": "string"
          },
          "expiresMs": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "deviceId": {
            "type": "string",
            "nullable": true
          },
          "platform": {
            "type": "string",
            "nullable": true
          },
          "token": {
            "type": "string"
          },
          "revoked": {
            "type": "boolean",
            "nullable": true
          },
          "customerId": {
            "type": "string",
            "readOnly": true
          },
          "gameId": {
            "type": "string",
            "nullable": true
          },
          "realmId": {
            "type": "string",
            "nullable": true
          },
          "accountId": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "playerId": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "RefreshTokenAuthRequest": {
        "type": "object",
        "properties": {
          "refreshToken": {
            "type": "string",
            "nullable": true
          },
          "customerId": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "Cid"
          },
          "realmId": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "Pid"
          },
          "context": {
            "$ref": "#/components/schemas/ContextInfo"
          }
        },
        "additionalProperties": false
      },
      "RefreshTokenResponse": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string",
            "nullable": true
          },
          "created": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RegisterDatasetFileRequest": {
        "required": [
          "fileName",
          "sizeBytes"
        ],
        "type": "object",
        "properties": {
          "fileName": {
            "type": "string"
          },
          "sizeBytes": {
            "type": "integer",
            "format": "int64"
          },
          "checksum": {
            "type": "string",
            "nullable": true
          },
          "declaredSchema": {
            "$ref": "#/components/schemas/FileSchema"
          },
          "label": {
            "type": "string",
            "nullable": true
          },
          "partSizeBytes": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "RegisterUserWithMessageRailRequest": {
        "required": [
          "federationId",
          "playerId",
          "registrationData"
        ],
        "type": "object",
        "properties": {
          "federationId": {
            "type": "string"
          },
          "playerId": {
            "type": "string"
          },
          "registrationData": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "RejectRequestDto": {
        "type": "object",
        "properties": {
          "reason": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ReleaseContentResponse": {
        "type": "object",
        "properties": {
          "release": {
            "$ref": "#/components/schemas/BundleRelease"
          },
          "content": {
            "$ref": "#/components/schemas/BundleContentView"
          }
        },
        "additionalProperties": false
      },
      "ReleaseFile": {
        "type": "object",
        "properties": {
          "sha256": {
            "type": "string"
          },
          "md5": {
            "type": "string"
          },
          "contentType": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ReleaseFileTarget": {
        "type": "object",
        "properties": {
          "sha256": {
            "type": "string"
          },
          "stored": {
            "type": "boolean"
          },
          "uploadUrl": {
            "type": "string",
            "nullable": true
          },
          "uploadMethod": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ReleaseUploadTargetsRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "services": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReleaseFile"
            }
          }
        },
        "additionalProperties": false
      },
      "ReleaseUploadTargetsResponse": {
        "type": "object",
        "properties": {
          "repositories": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReleaseFileTarget"
            }
          }
        },
        "additionalProperties": false
      },
      "RemoveDevicesRequest": {
        "type": "object",
        "properties": {
          "deviceIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RemoveFromLobby": {
        "type": "object",
        "properties": {
          "playerId": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "Gamertag"
          }
        },
        "additionalProperties": false
      },
      "RemoveTags": {
        "type": "object",
        "properties": {
          "playerId": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "Gamertag"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RenameRealmRequest": {
        "required": [
          "newName"
        ],
        "type": "object",
        "properties": {
          "newName": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "RenameZoneRequest": {
        "required": [
          "newName"
        ],
        "type": "object",
        "properties": {
          "newName": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ReportGrantsRedeemedRequest": {
        "required": [
          "federationId"
        ],
        "type": "object",
        "properties": {
          "federationId": {
            "type": "string"
          },
          "redeems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReportedRedeem"
            }
          }
        },
        "additionalProperties": false
      },
      "ReportGrantsRedeemedResult": {
        "type": "object",
        "properties": {
          "redeems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReportOfferRedeemedResult"
            }
          }
        },
        "additionalProperties": false
      },
      "ReportOfferRedeemedResult": {
        "required": [
          "grantId"
        ],
        "type": "object",
        "properties": {
          "grantId": {
            "type": "string"
          },
          "found": {
            "type": "boolean"
          },
          "before": {
            "$ref": "#/components/schemas/OfferGrantState"
          },
          "afterEnd": {
            "type": "boolean"
          },
          "notYetVisible": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ReportRailFunnelStageRequest": {
        "required": [
          "federationId",
          "outreachId",
          "stage"
        ],
        "type": "object",
        "properties": {
          "outreachId": {
            "type": "string"
          },
          "federationId": {
            "type": "string"
          },
          "stage": {
            "type": "string"
          },
          "analyticsTrackRef": {
            "type": "string",
            "nullable": true
          },
          "externalSystemTrackId": {
            "type": "string",
            "nullable": true
          },
          "gamerTag": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "ReportedRedeem": {
        "required": [
          "grantId",
          "playerId"
        ],
        "type": "object",
        "properties": {
          "playerId": {
            "type": "integer",
            "format": "int64"
          },
          "grantId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "RequalifyDto": {
        "type": "object",
        "properties": {
          "kind": {
            "$ref": "#/components/schemas/RequalifyKind"
          },
          "cooldownMs": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RequalifyKind": {
        "enum": [
          "Never",
          "Immediately",
          "After"
        ],
        "type": "string"
      },
      "ResolveGrantsRequest": {
        "type": "object",
        "properties": {
          "resolutions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GrantResolution"
            }
          }
        },
        "additionalProperties": false
      },
      "ResolveGrantsResult": {
        "type": "object",
        "properties": {
          "resolutions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResolveOfferResult"
            }
          }
        },
        "additionalProperties": false
      },
      "ResolveOfferResult": {
        "required": [
          "grantId"
        ],
        "type": "object",
        "properties": {
          "grantId": {
            "type": "string"
          },
          "resolved": {
            "type": "boolean"
          },
          "state": {
            "$ref": "#/components/schemas/OfferGrantState"
          }
        },
        "additionalProperties": false
      },
      "ReviewResponseDto": {
        "type": "object",
        "properties": {
          "ok": {
            "type": "boolean"
          },
          "version": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CampaignChangeErrorDto"
            }
          },
          "conflicts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QueueConflictDto"
            }
          },
          "unboundedParams": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UnboundedParamDto"
            }
          }
        },
        "additionalProperties": false
      },
      "RevokeGrantsRequest": {
        "type": "object",
        "properties": {
          "grantIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "RevokeGrantsResult": {
        "type": "object",
        "properties": {
          "revoked": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "notOpen": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "RevokeOfferOriginResult": {
        "required": [
          "originId"
        ],
        "type": "object",
        "properties": {
          "originId": {
            "type": "string"
          },
          "closed": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "RevokeRefreshTokensRequest": {
        "required": [
          "tokens"
        ],
        "type": "object",
        "properties": {
          "tokens": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "RoleAssociation": {
        "type": "object",
        "properties": {
          "realmId": {
            "type": "string"
          },
          "roleString": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "RoleMappingView": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string"
          },
          "role": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "RoleUpdate": {
        "type": "object",
        "properties": {
          "role": {
            "type": "string",
            "nullable": true
          },
          "realm": {
            "type": "string",
            "nullable": true
          },
          "cid": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RotateKeyRequest": {
        "type": "object",
        "properties": {
          "overlapHours": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "RotateRealmDataKeyResponse": {
        "type": "object",
        "properties": {
          "dataKeyId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Rule": {
        "type": "object",
        "properties": {
          "leaf": {
            "$ref": "#/components/schemas/RuleLeaf"
          },
          "and": {
            "$ref": "#/components/schemas/RuleAnd"
          },
          "or": {
            "$ref": "#/components/schemas/RuleOr"
          },
          "not": {
            "$ref": "#/components/schemas/RuleNot"
          },
          "segment": {
            "$ref": "#/components/schemas/RuleSegment"
          }
        },
        "additionalProperties": false
      },
      "RuleAnd": {
        "type": "object",
        "properties": {
          "rules": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Rule"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RuleLeaf": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "nullable": true
          },
          "op": {
            "$ref": "#/components/schemas/Operator"
          },
          "values": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StatsValue"
            },
            "nullable": true
          },
          "ns": {
            "type": "string",
            "nullable": true
          },
          "since": {
            "$ref": "#/components/schemas/TimeUnit"
          }
        },
        "additionalProperties": false
      },
      "RuleNot": {
        "type": "object",
        "properties": {
          "rule": {
            "$ref": "#/components/schemas/Rule"
          }
        },
        "additionalProperties": false
      },
      "RuleOneofCase": {
        "enum": [
          "None",
          "Leaf",
          "And",
          "Or",
          "Not",
          "Segment"
        ],
        "type": "string"
      },
      "RuleOr": {
        "type": "object",
        "properties": {
          "rules": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Rule"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RuleSegment": {
        "type": "object",
        "properties": {
          "segmentId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SaveBinaryContentRequest": {
        "type": "object",
        "properties": {
          "binary": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BinaryContentDefinition"
            }
          }
        },
        "additionalProperties": false
      },
      "SaveBinaryContentResponse": {
        "type": "object",
        "properties": {
          "binary": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BinaryContentUploadUrl"
            }
          }
        },
        "additionalProperties": false
      },
      "SaveDraftResponseDto": {
        "type": "object",
        "properties": {
          "ok": {
            "type": "boolean"
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CampaignChangeErrorDto"
            }
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CampaignChangeErrorDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SaveVirtualStatRequest": {
        "type": "object",
        "properties": {
          "visibility": {
            "$ref": "#/components/schemas/StatsVisibility"
          },
          "key": {
            "type": "string"
          },
          "expression": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ScheduleBodyDto": {
        "type": "object",
        "properties": {
          "kind": {
            "$ref": "#/components/schemas/ScheduleKind"
          },
          "delayMs": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "when": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ScheduleKind": {
        "enum": [
          "DelayFor",
          "SendNow",
          "AtDateTime"
        ],
        "type": "string"
      },
      "SchemaReference": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "archived": {
            "type": "boolean"
          },
          "contentId": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "origin": {
            "$ref": "#/components/schemas/ComponentOrigin"
          },
          "checksum": {
            "type": "string",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ScmArchiveRequest": {
        "type": "object",
        "properties": {
          "commit": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ScmCommitAuthor": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ScmConnection": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "providerType": {
            "$ref": "#/components/schemas/ScmProviderType"
          },
          "url": {
            "type": "string"
          },
          "defaultRef": {
            "type": "string"
          },
          "workspacePath": {
            "type": "string"
          },
          "workspacePaths": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "branchPrefix": {
            "type": "string"
          },
          "username": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedBy": {
            "type": "string",
            "nullable": true
          },
          "hasMyToken": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ScmConnectionRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "providerType": {
            "$ref": "#/components/schemas/ScmProviderType"
          },
          "url": {
            "type": "string"
          },
          "defaultRef": {
            "type": "string",
            "nullable": true
          },
          "workspacePath": {
            "type": "string",
            "nullable": true
          },
          "workspacePaths": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "branchPrefix": {
            "type": "string",
            "nullable": true
          },
          "username": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ScmConnectionUpdate": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "providerType": {
            "$ref": "#/components/schemas/ScmProviderType"
          },
          "url": {
            "type": "string"
          },
          "defaultRef": {
            "type": "string",
            "nullable": true
          },
          "workspacePath": {
            "type": "string",
            "nullable": true
          },
          "workspacePaths": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "branchPrefix": {
            "type": "string",
            "nullable": true
          },
          "username": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "ScmFileChange": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string"
          },
          "delete": {
            "type": "boolean"
          },
          "content": {
            "type": "string",
            "nullable": true
          },
          "executable": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ScmHostTokenResponse": {
        "type": "object",
        "properties": {
          "host": {
            "type": "string"
          },
          "hasMyToken": {
            "type": "boolean"
          },
          "signedInAs": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ScmProviderType": {
        "enum": [
          "Git"
        ],
        "type": "string"
      },
      "ScmPublishCommit": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          },
          "author": {
            "$ref": "#/components/schemas/ScmCommitAuthor"
          },
          "changes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScmFileChange"
            }
          }
        },
        "additionalProperties": false
      },
      "ScmPublishExpectation": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          },
          "defaultRef": {
            "type": "string"
          },
          "workspacePaths": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "ScmPublishRequest": {
        "type": "object",
        "properties": {
          "baseCommit": {
            "type": "string"
          },
          "branch": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string"
          },
          "commits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScmPublishCommit"
            }
          },
          "pullRequest": {
            "type": "boolean"
          },
          "pullRequestBody": {
            "type": "string",
            "nullable": true
          },
          "expected": {
            "$ref": "#/components/schemas/ScmPublishExpectation"
          }
        },
        "additionalProperties": false
      },
      "ScmPublishResponse": {
        "type": "object",
        "properties": {
          "branch": {
            "type": "string"
          },
          "commits": {
            "type": "integer",
            "format": "int32"
          },
          "commit": {
            "type": "string"
          },
          "reviewUrl": {
            "type": "string"
          },
          "pullRequest": {
            "$ref": "#/components/schemas/ScmPullRequest"
          },
          "pullRequestError": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ScmPullRequest": {
        "type": "object",
        "properties": {
          "number": {
            "type": "integer",
            "format": "int32"
          },
          "url": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ScmRepository": {
        "type": "object",
        "properties": {
          "fullName": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "defaultRef": {
            "type": "string"
          },
          "private": {
            "type": "boolean"
          },
          "pushedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "beamableFolders": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "checked": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ScmRepositoryInfo": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "defaultRef": {
            "type": "string"
          },
          "beamableFolders": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "checked": {
            "type": "boolean"
          },
          "host": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ScmSnapshotRequest": {
        "type": "object",
        "properties": {
          "ref": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ScmSnapshotResponse": {
        "type": "object",
        "properties": {
          "commit": {
            "type": "string"
          },
          "ref": {
            "type": "string"
          },
          "archiveUrl": {
            "type": "string"
          },
          "archiveThroughGateway": {
            "type": "boolean"
          },
          "archiveFormat": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "SegmentAttribute": {
        "required": [
          "computed",
          "description",
          "domain",
          "key",
          "namespace",
          "type",
          "visibility"
        ],
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "namespace": {
            "type": "string"
          },
          "domain": {
            "type": "string"
          },
          "visibility": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "unit": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string"
          },
          "computed": {
            "type": "boolean"
          },
          "custom": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "SegmentAuditChange": {
        "type": "object",
        "properties": {
          "before": {
            "type": "string",
            "nullable": true
          },
          "after": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SegmentAuditInfo": {
        "required": [
          "caller",
          "operation",
          "timestamp"
        ],
        "type": "object",
        "properties": {
          "operation": {
            "$ref": "#/components/schemas/SegmentationOperation"
          },
          "segmentId": {
            "type": "string",
            "nullable": true
          },
          "caller": {
            "$ref": "#/components/schemas/CallerInfo"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "changes": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/SegmentAuditChange"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SegmentAuditInfoCursorPagedResult": {
        "type": "object",
        "properties": {
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SegmentAuditInfo"
            }
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          },
          "freshnessTimestamp": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SegmentBodyDto": {
        "type": "object",
        "properties": {
          "segment": {
            "type": "string"
          },
          "evaluationWindowMs": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SegmentCount": {
        "required": [
          "realms",
          "segmentId",
          "uniqueAccounts"
        ],
        "type": "object",
        "properties": {
          "segmentId": {
            "type": "string"
          },
          "uniqueAccounts": {
            "type": "integer",
            "format": "int64"
          },
          "realms": {
            "type": "object",
            "additionalProperties": {
              "type": "integer",
              "format": "int64"
            }
          }
        },
        "additionalProperties": false
      },
      "SegmentCountsRequest": {
        "required": [
          "segmentIds"
        ],
        "type": "object",
        "properties": {
          "segmentIds": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "SegmentCountsResponse": {
        "required": [
          "counts"
        ],
        "type": "object",
        "properties": {
          "counts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SegmentCount"
            }
          }
        },
        "additionalProperties": false
      },
      "SegmentEntered": {
        "required": [
          "at"
        ],
        "type": "object",
        "properties": {
          "at": {
            "type": "string",
            "format": "date-time"
          },
          "before": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "SegmentFlowRequest": {
        "required": [
          "segmentIds"
        ],
        "type": "object",
        "properties": {
          "segmentIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "from": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "to": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "realmId": {
            "type": "string",
            "nullable": true
          },
          "interval": {
            "$ref": "#/components/schemas/SegmentHistoryInterval"
          }
        },
        "additionalProperties": false
      },
      "SegmentHistoryInterval": {
        "enum": [
          "Day",
          "Hour"
        ],
        "type": "string"
      },
      "SegmentHistoryResult": {
        "required": [
          "queryExecutionId",
          "resultUrl"
        ],
        "type": "object",
        "properties": {
          "queryExecutionId": {
            "type": "string"
          },
          "resultUrl": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "SegmentIconView": {
        "required": [
          "contentType",
          "hash"
        ],
        "type": "object",
        "properties": {
          "contentType": {
            "type": "string"
          },
          "hash": {
            "type": "string"
          },
          "data": {
            "type": "string",
            "format": "byte",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SegmentJobKind": {
        "enum": [
          "Sync",
          "Overrides",
          "Move",
          "Crossings",
          "Reconcile"
        ],
        "type": "string"
      },
      "SegmentJobResponse": {
        "required": [
          "attempts",
          "changed",
          "createdAt",
          "id",
          "kind",
          "players",
          "segmentId",
          "state",
          "updatedAt",
          "version"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/SegmentJobKind"
          },
          "segmentId": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "format": "int64"
          },
          "realmId": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "$ref": "#/components/schemas/SegmentJobState"
          },
          "attempts": {
            "type": "integer",
            "format": "int32"
          },
          "players": {
            "type": "integer",
            "format": "int64"
          },
          "changed": {
            "type": "integer",
            "format": "int64"
          },
          "cause": {
            "type": "string",
            "nullable": true
          },
          "error": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "SegmentJobResult": {
        "required": [
          "realmId"
        ],
        "type": "object",
        "properties": {
          "realmId": {
            "type": "string"
          },
          "error": {
            "$ref": "#/components/schemas/ProtoError"
          }
        },
        "additionalProperties": false
      },
      "SegmentJobState": {
        "enum": [
          "Pending",
          "Running",
          "Done",
          "Superseded",
          "Failed"
        ],
        "type": "string"
      },
      "SegmentJobsRequest": {
        "type": "object",
        "properties": {
          "rescans": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "reconciles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "SegmentJobsResponse": {
        "required": [
          "reconciles",
          "rescans"
        ],
        "type": "object",
        "properties": {
          "rescans": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SegmentResult"
            }
          },
          "reconciles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SegmentJobResult"
            }
          }
        },
        "additionalProperties": false
      },
      "SegmentMember": {
        "required": [
          "accountId"
        ],
        "type": "object",
        "properties": {
          "accountId": {
            "type": "integer",
            "format": "int64"
          },
          "playerId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "entered": {
            "$ref": "#/components/schemas/SegmentEntered"
          }
        },
        "additionalProperties": false
      },
      "SegmentMemberCursorPagedResult": {
        "type": "object",
        "properties": {
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SegmentMember"
            }
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          },
          "freshnessTimestamp": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SegmentMembershipQueryRequest": {
        "required": [
          "playerIds",
          "realmId"
        ],
        "type": "object",
        "properties": {
          "realmId": {
            "type": "string"
          },
          "playerIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            }
          },
          "segmentIds": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SegmentOverrideCounts": {
        "type": "object",
        "properties": {
          "includes": {
            "type": "integer",
            "format": "int64"
          },
          "excludes": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "SegmentOverridesItem": {
        "required": [
          "realmId",
          "segmentId"
        ],
        "type": "object",
        "properties": {
          "segmentId": {
            "type": "string"
          },
          "realmId": {
            "type": "string"
          },
          "include": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            }
          },
          "exclude": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            }
          },
          "clear": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            }
          }
        },
        "additionalProperties": false
      },
      "SegmentOverridesRequest": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SegmentOverridesItem"
            }
          },
          "managedBy": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SegmentOverridesResponse": {
        "required": [
          "results"
        ],
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SegmentOverridesResult"
            }
          }
        },
        "additionalProperties": false
      },
      "SegmentOverridesResult": {
        "required": [
          "realmId",
          "segmentId"
        ],
        "type": "object",
        "properties": {
          "segmentId": {
            "type": "string"
          },
          "realmId": {
            "type": "string"
          },
          "error": {
            "$ref": "#/components/schemas/ProtoError"
          }
        },
        "additionalProperties": false
      },
      "SegmentPlayerHistoryRequest": {
        "required": [
          "playerId",
          "realmId"
        ],
        "type": "object",
        "properties": {
          "realmId": {
            "type": "string"
          },
          "playerId": {
            "type": "integer",
            "format": "int64"
          },
          "from": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "to": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "segmentIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SegmentPreviewQuery": {
        "required": [
          "rule"
        ],
        "type": "object",
        "properties": {
          "rule": {
            "$ref": "#/components/schemas/Rule"
          },
          "realms": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "sample": {
            "type": "integer",
            "format": "int32"
          },
          "overridesOf": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SegmentPreviewRequest": {
        "required": [
          "previews"
        ],
        "type": "object",
        "properties": {
          "previews": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SegmentPreviewQuery"
            }
          }
        },
        "additionalProperties": false
      },
      "SegmentPreviewResponse": {
        "required": [
          "results"
        ],
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SegmentPreviewResult"
            }
          }
        },
        "additionalProperties": false
      },
      "SegmentPreviewResult": {
        "type": "object",
        "properties": {
          "realms": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/SegmentRealmPreview"
            },
            "nullable": true
          },
          "members": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "exact": {
            "type": "boolean",
            "nullable": true
          },
          "error": {
            "$ref": "#/components/schemas/ProtoError"
          }
        },
        "additionalProperties": false
      },
      "SegmentProperties": {
        "required": [
          "segmentId",
          "values"
        ],
        "type": "object",
        "properties": {
          "segmentId": {
            "type": "string"
          },
          "values": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SegmentPropertyTotal"
            }
          }
        },
        "additionalProperties": false
      },
      "SegmentPropertiesRequest": {
        "required": [
          "segmentIds"
        ],
        "type": "object",
        "properties": {
          "segmentIds": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "SegmentPropertiesResponse": {
        "required": [
          "segments"
        ],
        "type": "object",
        "properties": {
          "segments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SegmentProperties"
            }
          }
        },
        "additionalProperties": false
      },
      "SegmentPropertyTotal": {
        "required": [
          "count",
          "stat",
          "sum"
        ],
        "type": "object",
        "properties": {
          "stat": {
            "type": "string"
          },
          "realmId": {
            "type": "string",
            "nullable": true
          },
          "count": {
            "type": "integer",
            "format": "int64"
          },
          "sum": {
            "type": "number",
            "format": "double"
          },
          "average": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "min": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "minAccountId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "max": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "maxAccountId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "refilling": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "SegmentRealmPreview": {
        "required": [
          "exact",
          "members"
        ],
        "type": "object",
        "properties": {
          "members": {
            "type": "integer",
            "format": "int64"
          },
          "exact": {
            "type": "boolean"
          },
          "low": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "high": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "sampled": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "population": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "sample": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            }
          }
        },
        "additionalProperties": false
      },
      "SegmentResponse": {
        "required": [
          "createdAt",
          "description",
          "displayName",
          "propertyExtremes",
          "propertyStats",
          "references",
          "segmentId",
          "state",
          "tags",
          "trackTenure",
          "updatedAt",
          "version",
          "watchedKeys",
          "zoneId"
        ],
        "type": "object",
        "properties": {
          "segmentId": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "format": "int32"
          },
          "zoneId": {
            "type": "string"
          },
          "realms": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "displayName": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "state": {
            "$ref": "#/components/schemas/SegmentState"
          },
          "rule": {
            "$ref": "#/components/schemas/Rule"
          },
          "ruleText": {
            "type": "string",
            "nullable": true
          },
          "watchedKeys": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "references": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "propertyStats": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "propertyExtremes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "trackTenure": {
            "type": "boolean"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "managedBy": {
            "type": "string",
            "nullable": true
          },
          "icon": {
            "$ref": "#/components/schemas/SegmentIconView"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "updatedBy": {
            "type": "string",
            "nullable": true
          },
          "sync": {
            "$ref": "#/components/schemas/SegmentSync"
          },
          "counts": {
            "$ref": "#/components/schemas/SegmentCount"
          },
          "overrides": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/SegmentOverrideCounts"
            },
            "nullable": true
          },
          "dependents": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SegmentResponseCursorPagedResult": {
        "type": "object",
        "properties": {
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SegmentResponse"
            }
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          },
          "freshnessTimestamp": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SegmentResult": {
        "required": [
          "segmentId"
        ],
        "type": "object",
        "properties": {
          "segmentId": {
            "type": "string"
          },
          "segment": {
            "$ref": "#/components/schemas/SegmentResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ProtoError"
          }
        },
        "additionalProperties": false
      },
      "SegmentResultsResponse": {
        "required": [
          "results"
        ],
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SegmentResult"
            }
          }
        },
        "additionalProperties": false
      },
      "SegmentSetQuery": {
        "required": [
          "set"
        ],
        "type": "object",
        "properties": {
          "set": {
            "$ref": "#/components/schemas/Rule"
          },
          "stats": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "realms": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "sample": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "SegmentSetResult": {
        "type": "object",
        "properties": {
          "realmMembers": {
            "type": "object",
            "additionalProperties": {
              "type": "integer",
              "format": "int64"
            },
            "nullable": true
          },
          "members": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "values": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SegmentPropertyTotal"
            },
            "nullable": true
          },
          "sample": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int64"
              }
            },
            "nullable": true
          },
          "error": {
            "$ref": "#/components/schemas/ProtoError"
          }
        },
        "additionalProperties": false
      },
      "SegmentSetsRequest": {
        "required": [
          "sets"
        ],
        "type": "object",
        "properties": {
          "sets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SegmentSetQuery"
            }
          }
        },
        "additionalProperties": false
      },
      "SegmentSetsResponse": {
        "required": [
          "results"
        ],
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SegmentSetResult"
            }
          }
        },
        "additionalProperties": false
      },
      "SegmentState": {
        "enum": [
          "Active",
          "Disabled",
          "Archived"
        ],
        "type": "string"
      },
      "SegmentSync": {
        "required": [
          "since",
          "state"
        ],
        "type": "object",
        "properties": {
          "state": {
            "$ref": "#/components/schemas/SegmentJobState"
          },
          "since": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "SegmentTagCount": {
        "required": [
          "segments",
          "tag"
        ],
        "type": "object",
        "properties": {
          "tag": {
            "type": "string"
          },
          "segments": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "SegmentTagsResponse": {
        "required": [
          "tags"
        ],
        "type": "object",
        "properties": {
          "tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SegmentTagCount"
            }
          }
        },
        "additionalProperties": false
      },
      "SegmentationOperation": {
        "enum": [
          "Create",
          "UpdateRule",
          "UpdateMetadata",
          "ChangeState",
          "IncludeAdd",
          "IncludeRemove",
          "ExcludeAdd",
          "ExcludeRemove",
          "Release",
          "ZoneStatSet",
          "ZoneStatRemove"
        ],
        "type": "string"
      },
      "SendBodyDto": {
        "type": "object",
        "properties": {
          "railFederationId": {
            "type": "string"
          },
          "targetPid": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "goals": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GoalDto"
            }
          },
          "maxWaitMs": {
            "type": "integer",
            "format": "int64"
          },
          "deliveryMaxWaitMs": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "campaignOffers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CampaignOfferDto"
            },
            "nullable": true
          },
          "campaignOfferGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CampaignOfferGroupDto"
            },
            "nullable": true
          },
          "offerDelivery": {
            "$ref": "#/components/schemas/CampaignOfferDelivery"
          },
          "offerMaxGrantWaitMs": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SendMessageRecipient": {
        "required": [
          "gamerTag"
        ],
        "type": "object",
        "properties": {
          "gamerTag": {
            "type": "integer",
            "format": "int64"
          },
          "outreachId": {
            "type": "string",
            "nullable": true
          },
          "data": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SendMessagesRequest": {
        "required": [
          "externalSystemTrackId",
          "federationId",
          "recipients"
        ],
        "type": "object",
        "properties": {
          "recipients": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SendMessageRecipient"
            }
          },
          "federationId": {
            "type": "string"
          },
          "externalSystemTrackId": {
            "type": "string"
          },
          "analyticsTrackRef": {
            "type": "string",
            "nullable": true
          },
          "extraDataFed": {
            "nullable": true
          },
          "deliveryLimitTimeSeconds": {
            "type": "integer",
            "format": "int64"
          },
          "delaySeconds": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "SendMessagesResponse": {
        "required": [
          "trackId"
        ],
        "type": "object",
        "properties": {
          "trackId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ServerTokenAuthRequest": {
        "type": "object",
        "properties": {
          "clientId": {
            "type": "string",
            "nullable": true
          },
          "clientSecret": {
            "type": "string",
            "nullable": true
          },
          "customerId": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "Cid"
          },
          "realmId": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "Pid"
          }
        },
        "additionalProperties": false
      },
      "ServerTokenResponse": {
        "type": "object",
        "properties": {
          "accessToken": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ServiceCall": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string"
          },
          "uri": {
            "type": "string"
          },
          "method": {
            "type": "string"
          },
          "body": {
            "type": "string",
            "nullable": true
          },
          "headers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StringStringKeyValuePair"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ServiceComponent": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ServiceDependencyReference": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "storageType": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ServiceEntryKind": {
        "enum": [
          "Service",
          "Storage"
        ],
        "type": "string"
      },
      "ServiceLoggingContext": {
        "required": [
          "defaultLogLevel",
          "routingKey",
          "serviceName"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "serviceName": {
            "type": "string"
          },
          "routingKey": {
            "type": "string"
          },
          "defaultLogLevel": {
            "$ref": "#/components/schemas/LogLevel"
          },
          "rules": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogContextRule"
            }
          }
        },
        "additionalProperties": false
      },
      "ServiceReference": {
        "type": "object",
        "properties": {
          "serviceName": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "imageId": {
            "type": "string"
          },
          "templateId": {
            "type": "string"
          },
          "comments": {
            "type": "string",
            "nullable": true
          },
          "containerHealthCheckPort": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "dependencies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceDependencyReference"
            },
            "nullable": true
          },
          "archived": {
            "type": "boolean"
          },
          "imageCpuArch": {
            "type": "string",
            "nullable": true
          },
          "components": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceComponent"
            },
            "nullable": true
          },
          "logProvider": {
            "$ref": "#/components/schemas/LogProvider"
          },
          "origin": {
            "$ref": "#/components/schemas/ComponentOrigin"
          },
          "imageRepository": {
            "type": "string",
            "nullable": true
          },
          "imageDigest": {
            "type": "string",
            "nullable": true
          },
          "checksum": {
            "type": "string",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ServiceRegistration": {
        "type": "object",
        "properties": {
          "instanceCount": {
            "type": "integer",
            "format": "int32"
          },
          "serviceName": {
            "type": "string"
          },
          "cid": {
            "type": "string"
          },
          "pid": {
            "type": "string"
          },
          "beamoName": {
            "type": "string",
            "nullable": true
          },
          "routingKey": {
            "type": "string",
            "nullable": true
          },
          "startedById": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "federation": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SupportedFederation"
            },
            "nullable": true
          },
          "trafficFilterEnabled": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ServiceRegistrationQuery": {
        "type": "object",
        "properties": {
          "serviceName": {
            "type": "string",
            "nullable": true
          },
          "routingKey": {
            "type": "string",
            "nullable": true
          },
          "localOnly": {
            "type": "boolean",
            "nullable": true
          },
          "federation": {
            "$ref": "#/components/schemas/SupportedFederation"
          }
        },
        "additionalProperties": false
      },
      "ServiceRegistrationRequest": {
        "type": "object",
        "properties": {
          "routingKey": {
            "type": "string",
            "nullable": true
          },
          "federation": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SupportedFederation"
            },
            "nullable": true
          },
          "trafficFilterEnabled": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ServiceRegistrationResponse": {
        "type": "object",
        "properties": {
          "registrations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceRegistration"
            }
          }
        },
        "additionalProperties": false
      },
      "ServiceStatus": {
        "type": "object",
        "properties": {
          "serviceName": {
            "type": "string"
          },
          "running": {
            "type": "boolean"
          },
          "imageId": {
            "type": "string"
          },
          "isCurrent": {
            "type": "boolean"
          },
          "serviceDependencyReferences": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceDependencyReference"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ServiceStorageReference": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "storageType": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "templateId": {
            "type": "string",
            "nullable": true
          },
          "archived": {
            "type": "boolean"
          },
          "origin": {
            "$ref": "#/components/schemas/ComponentOrigin"
          },
          "checksum": {
            "type": "string",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ServiceStorageStatus": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "storageType": {
            "type": "string"
          },
          "isRunning": {
            "type": "boolean"
          },
          "isCurrent": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ServiceTemplateView": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "SessionClientHistoryResponse": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string"
          },
          "sessions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "installDate": {
            "type": "string",
            "nullable": true
          },
          "daysPlayed": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "SessionHistoryResponse": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string"
          },
          "sessions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "payments": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "installDate": {
            "type": "string",
            "nullable": true
          },
          "totalPaid": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PaymentTotal"
            }
          },
          "daysPlayed": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "SessionLanguageContextDto": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "ctx": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SetBundleTagRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "tag": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "SetDataBindingRequest": {
        "type": "object",
        "properties": {
          "namespace": {
            "type": "string"
          },
          "mode": {
            "$ref": "#/components/schemas/DataBindingMode"
          }
        },
        "additionalProperties": false
      },
      "SetDatasetIdentityRequest": {
        "required": [
          "externalIdColumn"
        ],
        "type": "object",
        "properties": {
          "externalIdColumn": {
            "type": "string"
          },
          "emailColumn": {
            "type": "string",
            "nullable": true
          },
          "providerService": {
            "type": "string",
            "nullable": true
          },
          "providerNamespace": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SetLobbyResponse": {
        "type": "object",
        "properties": {
          "lobbyId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SetPresenceStatusRequest": {
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/PresenceStatus"
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SetRealmZoneRequest": {
        "required": [
          "zoneId"
        ],
        "type": "object",
        "properties": {
          "zoneId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "SetRealmZoneResponse": {
        "type": "object",
        "properties": {
          "warnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "SetScmTokenRequest": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string"
          },
          "username": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SetSegmentIconRequest": {
        "required": [
          "data"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "string",
            "format": "byte"
          }
        },
        "additionalProperties": false
      },
      "SetSegmentStatesRequest": {
        "required": [
          "segmentIds",
          "to"
        ],
        "type": "object",
        "properties": {
          "segmentIds": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "to": {
            "$ref": "#/components/schemas/SegmentState"
          },
          "managedBy": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SetStatsRequest": {
        "type": "object",
        "properties": {
          "set": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/StatsValue"
            },
            "nullable": true
          },
          "add": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/StatsValue"
            },
            "nullable": true
          },
          "emitAnalytics": {
            "type": "boolean"
          },
          "reduce": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/StatReductions"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SetZoneRoleRequest": {
        "required": [
          "role"
        ],
        "type": "object",
        "properties": {
          "role": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "SignedRequest": {
        "type": "object",
        "properties": {
          "headers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StringStringKeyValuePair"
            }
          },
          "url": {
            "type": "string"
          },
          "body": {
            "type": "string"
          },
          "method": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "SignupRequest": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          },
          "initProperties": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "providerService": {
            "type": "string",
            "nullable": true
          },
          "providerNamespace": {
            "type": "string",
            "nullable": true
          },
          "externalToken": {
            "type": "string",
            "nullable": true
          },
          "challengeSolution": {
            "$ref": "#/components/schemas/ChallengeSolution"
          }
        },
        "additionalProperties": false
      },
      "SignupResponse": {
        "type": "object",
        "properties": {
          "account": {
            "$ref": "#/components/schemas/AccountPlayerView"
          },
          "challengeToken": {
            "type": "string",
            "nullable": true
          },
          "token": {
            "$ref": "#/components/schemas/AuthResponse"
          }
        },
        "additionalProperties": false,
        "description": "A signed-up player and their tokens, or a challenge to solve first."
      },
      "SitePlan": {
        "type": "object",
        "properties": {
          "scope": {
            "type": "string"
          },
          "isZone": {
            "type": "boolean"
          },
          "changes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ComponentChange"
            }
          }
        },
        "additionalProperties": false
      },
      "SourceArchiveSize": {
        "type": "object",
        "properties": {
          "files": {
            "type": "integer",
            "format": "int32"
          },
          "bytes": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "SourceDeliveryError": {
        "type": "object",
        "properties": {
          "kind": {
            "$ref": "#/components/schemas/SourceDeliveryErrorKind"
          },
          "reason": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "SourceDeliveryErrorKind": {
        "enum": [
          "Token",
          "Refused",
          "Host"
        ],
        "type": "string"
      },
      "SourceDeliveryRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "components": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "connectionId": {
            "type": "string",
            "format": "uuid"
          },
          "workspace": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SourceDeliveryState": {
        "enum": [
          "Requested",
          "Working",
          "Opened",
          "Pushed",
          "Failed"
        ],
        "type": "string"
      },
      "SourceDeliveryView": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "bundle": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "format": "int64"
          },
          "components": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "connectionId": {
            "type": "string",
            "format": "uuid"
          },
          "workspace": {
            "type": "string"
          },
          "scope": {
            "type": "string"
          },
          "accountId": {
            "type": "string"
          },
          "state": {
            "$ref": "#/components/schemas/SourceDeliveryState"
          },
          "branch": {
            "type": "string",
            "nullable": true
          },
          "commit": {
            "type": "string",
            "nullable": true
          },
          "reviewUrl": {
            "type": "string",
            "nullable": true
          },
          "pullRequestUrl": {
            "type": "string",
            "nullable": true
          },
          "error": {
            "$ref": "#/components/schemas/SourceDeliveryError"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "SourceDeliveryViewCursorPagedResult": {
        "type": "object",
        "properties": {
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SourceDeliveryView"
            }
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          },
          "freshnessTimestamp": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SourceKit": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "files": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "StartGitHubSignInRequest": {
        "type": "object",
        "properties": {
          "redirectUri": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "StartGitHubSignInResponse": {
        "type": "object",
        "properties": {
          "authorizeUrl": {
            "type": "string"
          },
          "installUrl": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "StartJobResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "StartServiceLogsRequest": {
        "type": "object",
        "properties": {
          "serviceName": {
            "type": "string"
          },
          "startTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "endTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "order": {
            "$ref": "#/components/schemas/OrderDirection"
          },
          "filters": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StartSessionRequest": {
        "type": "object",
        "properties": {
          "platform": {
            "type": "string",
            "nullable": true
          },
          "device": {
            "type": "string",
            "nullable": true
          },
          "source": {
            "type": "string",
            "nullable": true
          },
          "locale": {
            "type": "string",
            "nullable": true
          },
          "language": {
            "$ref": "#/components/schemas/SessionLanguageContextDto"
          },
          "customParams": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StatKey": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/StatsValue"
          }
        },
        "additionalProperties": false
      },
      "StatReduce": {
        "enum": [
          "Latest",
          "Min",
          "Max",
          "Sum",
          "Count"
        ],
        "type": "string"
      },
      "StatReduction": {
        "type": "object",
        "properties": {
          "op": {
            "$ref": "#/components/schemas/StatReduce"
          },
          "value": {
            "$ref": "#/components/schemas/StatsValue"
          },
          "time": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StatReductions": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StatReduction"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StatsNamespace": {
        "type": "object",
        "properties": {
          "domain": {
            "type": "string"
          },
          "visibility": {
            "$ref": "#/components/schemas/StatsVisibility"
          },
          "itemType": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "StatsResponse": {
        "required": [
          "id",
          "stats"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "stats": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false,
        "description": "A player's stats in one domain and visibility, values as text, as Scala's PII dump has them."
      },
      "StatsSearchCriteria": {
        "required": [
          "rel",
          "stat"
        ],
        "type": "object",
        "properties": {
          "stat": {
            "type": "string"
          },
          "rel": {
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/StatsValue"
          }
        },
        "additionalProperties": false
      },
      "StatsSearchExtendedRequest": {
        "required": [
          "domain",
          "itemType",
          "visibility"
        ],
        "type": "object",
        "properties": {
          "domain": {
            "type": "string"
          },
          "visibility": {
            "$ref": "#/components/schemas/StatsVisibility"
          },
          "itemType": {
            "type": "string"
          },
          "criteria": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StatsSearchCriteria"
            }
          },
          "statKeys": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "offset": {
            "type": "integer",
            "format": "int32"
          },
          "limit": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "StatsSearchExtendedResponse": {
        "required": [
          "limit",
          "offset",
          "results",
          "total"
        ],
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetStatsResponse"
            }
          },
          "offset": {
            "type": "integer",
            "format": "int32"
          },
          "limit": {
            "type": "integer",
            "format": "int32"
          },
          "total": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "StatsSearchRequest": {
        "required": [
          "domain",
          "itemType",
          "visibility"
        ],
        "type": "object",
        "properties": {
          "domain": {
            "type": "string"
          },
          "visibility": {
            "$ref": "#/components/schemas/StatsVisibility"
          },
          "itemType": {
            "type": "string"
          },
          "criteria": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StatsSearchCriteria"
            }
          },
          "offset": {
            "type": "integer",
            "format": "int32"
          },
          "limit": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "StatsSearchResponse": {
        "required": [
          "ids",
          "limit",
          "offset",
          "total"
        ],
        "type": "object",
        "properties": {
          "ids": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "offset": {
            "type": "integer",
            "format": "int32"
          },
          "limit": {
            "type": "integer",
            "format": "int32"
          },
          "total": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "StatsSubscribeRequest": {
        "required": [
          "service",
          "subscriptions"
        ],
        "type": "object",
        "properties": {
          "service": {
            "type": "string"
          },
          "subscriptions": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "StatsTarget": {
        "required": [
          "domain",
          "id",
          "itemType",
          "visibility"
        ],
        "type": "object",
        "properties": {
          "domain": {
            "type": "string"
          },
          "visibility": {
            "$ref": "#/components/schemas/StatsVisibility"
          },
          "itemType": {
            "type": "string"
          },
          "id": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "StatsUnsubscribeRequest": {
        "required": [
          "service"
        ],
        "type": "object",
        "properties": {
          "service": {
            "type": "string"
          },
          "subscriptions": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StatsValue": {
        "oneOf": [
          {
            "type": "string"
          },
          {
            "type": "integer"
          },
          {
            "type": "number",
            "format": "double"
          },
          {
            "type": "boolean"
          },
          {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                },
                {
                  "type": "number",
                  "format": "double"
                },
                {
                  "type": "boolean"
                }
              ]
            }
          }
        ],
        "description": "A stat value: string, integer, number (double), boolean, or a homogeneous array of primitives."
      },
      "StatsVisibility": {
        "enum": [
          "Private",
          "Public"
        ],
        "type": "string"
      },
      "StoragePerformance": {
        "required": [
          "databaseMeasurements",
          "indexes",
          "namespaces",
          "queries"
        ],
        "type": "object",
        "properties": {
          "namespaces": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PANamespace"
            }
          },
          "indexes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PASuggestedIndex"
            }
          },
          "queries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PASlowQuery"
            }
          },
          "databaseMeasurements": {
            "$ref": "#/components/schemas/DatabaseMeasurements"
          }
        },
        "additionalProperties": false
      },
      "StringListValue": {
        "type": "object",
        "properties": {
          "values": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StringStringKeyValuePair": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StripeSubscriptionResponse": {
        "required": [
          "status",
          "tier"
        ],
        "type": "object",
        "properties": {
          "tier": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "SubmitPullRequestRequest": {
        "type": "object",
        "properties": {
          "proposed": {
            "$ref": "#/components/schemas/PostManifestRequest"
          },
          "sourceScopeId": {
            "type": "string",
            "nullable": true
          },
          "comment": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SubmitPullRequestResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "SuggestedDependency": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "range": {
            "type": "string"
          },
          "acquired": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "SupportedFederation": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/FederationType"
          },
          "nameSpace": {
            "type": "string",
            "nullable": true
          },
          "settings": {
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Tag": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TagList": {
        "type": "object",
        "properties": {
          "tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Tag"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Team": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "players": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true,
            "x-beamable-semantic-type": "Gamertag"
          }
        },
        "additionalProperties": false
      },
      "TeamContentProto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "maxPlayers": {
            "type": "integer",
            "format": "int32"
          },
          "minPlayers": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "TestScmConnectionResponse": {
        "type": "object",
        "properties": {
          "ok": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ThirdPartyAssociation": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "userAppId": {
            "type": "string"
          },
          "userBusinessId": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "meta": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "ThirdPartyTransfer": {
        "type": "object",
        "properties": {
          "fromAccountId": {
            "type": "integer",
            "format": "int64"
          },
          "thirdParty": {
            "$ref": "#/components/schemas/ThirdPartyAssociation"
          }
        },
        "additionalProperties": false
      },
      "Ticket": {
        "type": "object",
        "properties": {
          "ticketId": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "created": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "expires": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "players": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true,
            "x-beamable-semantic-type": "Gamertag"
          },
          "matchType": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "ContentId"
          },
          "matchId": {
            "type": "string",
            "nullable": true
          },
          "stringProperties": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "nullable": true
          },
          "numberProperties": {
            "type": "object",
            "additionalProperties": {
              "type": "number",
              "format": "double"
            },
            "nullable": true
          },
          "team": {
            "type": "string",
            "nullable": true
          },
          "priority": {
            "type": "integer",
            "format": "int32"
          },
          "partyId": {
            "type": "string",
            "nullable": true
          },
          "watchOnlineStatus": {
            "type": "boolean"
          },
          "tags": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/TagList"
            },
            "nullable": true
          },
          "lobbyId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TicketQueryResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Ticket"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TicketReservationRequest": {
        "type": "object",
        "properties": {
          "players": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true,
            "x-beamable-semantic-type": "Gamertag"
          },
          "matchTypes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true,
            "x-beamable-semantic-type": "ContentId"
          },
          "maxWaitDurationSecs": {
            "type": "integer",
            "format": "int32"
          },
          "team": {
            "type": "string",
            "nullable": true
          },
          "watchOnlineStatus": {
            "type": "boolean"
          },
          "tags": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/TagList"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TicketReservationResponse": {
        "type": "object",
        "properties": {
          "tickets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Ticket"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TimeUnit": {
        "enum": [
          "TIME_UNIT_UNSPECIFIED",
          "DAYS",
          "HOURS"
        ],
        "type": "string"
      },
      "TransferError": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "TransferReportRequest": {
        "type": "object",
        "properties": {
          "state": {
            "$ref": "#/components/schemas/TransferState"
          },
          "expectedFiles": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "expectedBytes": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "execution": {
            "type": "string",
            "nullable": true
          },
          "error": {
            "type": "string",
            "nullable": true
          },
          "skippedFiles": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "failedFiles": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TransferError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TransferState": {
        "enum": [
          "Running",
          "Finished",
          "Failed"
        ],
        "type": "string"
      },
      "TransferStatus": {
        "type": "object",
        "properties": {
          "transfer": {
            "$ref": "#/components/schemas/DatasetTransferView"
          },
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FileStateCount"
            }
          }
        },
        "additionalProperties": false
      },
      "UnboundedParamDto": {
        "type": "object",
        "properties": {
          "nodeId": {
            "type": "string"
          },
          "param": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UnregisterUserWithMessageRailRequest": {
        "required": [
          "federationId",
          "playerId"
        ],
        "type": "object",
        "properties": {
          "federationId": {
            "type": "string"
          },
          "playerId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UpdateBundleNoticeRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "endOfSupport": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "endOfLife": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "severity": {
            "$ref": "#/components/schemas/AdvisorySeverity"
          },
          "advisoryId": {
            "type": "string",
            "nullable": true
          },
          "updateBy": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "acquisitionsEnd": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "link": {
            "type": "string",
            "nullable": true
          },
          "replacementVersion": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "replacementTag": {
            "type": "string",
            "nullable": true
          },
          "resolve": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "UpdateBundleRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "listing": {
            "$ref": "#/components/schemas/BundleListing"
          },
          "visibility": {
            "$ref": "#/components/schemas/BundleVisibility"
          },
          "autoUpdateRequired": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateData": {
        "type": "object",
        "properties": {
          "updates": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "nullable": true
          },
          "deletes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateDatasetRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "format": {
            "$ref": "#/components/schemas/DatasetFormat"
          },
          "csvOptions": {
            "$ref": "#/components/schemas/DatasetCsvOptions"
          }
        },
        "additionalProperties": false
      },
      "UpdateGameHierarchyRequest": {
        "required": [
          "realms"
        ],
        "type": "object",
        "properties": {
          "realms": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RealmView"
            }
          }
        },
        "additionalProperties": false
      },
      "UpdateLobby": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "restriction": {
            "$ref": "#/components/schemas/LobbyRestriction"
          },
          "matchType": {
            "type": "string",
            "nullable": true,
            "x-beamable-semantic-type": "ContentId"
          },
          "maxPlayers": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "newHost": {
            "type": "string",
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/UpdateData"
          }
        },
        "additionalProperties": false
      },
      "UpdateMove": {
        "type": "object",
        "properties": {
          "installationId": {
            "type": "string"
          },
          "from": {
            "$ref": "#/components/schemas/InstallationTarget"
          },
          "to": {
            "type": "integer",
            "format": "int64"
          },
          "assumed": {
            "type": "object",
            "additionalProperties": {
              "type": "integer",
              "format": "int64"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateOtelViewRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "query": {
            "type": "string",
            "nullable": true
          },
          "isPublic": {
            "type": "boolean",
            "nullable": true
          },
          "isFavorite": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateParty": {
        "type": "object",
        "properties": {
          "restriction": {
            "type": "string",
            "nullable": true
          },
          "maxSize": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "UpdatePartyTags": {
        "type": "object",
        "properties": {
          "playerId": {
            "type": "string",
            "nullable": true
          },
          "memberTags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Tag"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateRealmRequest": {
        "type": "object",
        "properties": {
          "archiveStatus": {
            "type": "boolean",
            "nullable": true
          },
          "hiddenStatus": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateRunLease": {
        "type": "object",
        "properties": {
          "owner": {
            "type": "string"
          },
          "until": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "UpdateRunRequest": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UpdateRunState": {
        "enum": [
          "Running",
          "Paused",
          "Done"
        ],
        "type": "string"
      },
      "UpdateRunSummary": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "bundle": {
            "type": "string"
          },
          "trigger": {
            "$ref": "#/components/schemas/UpdateTrigger"
          },
          "noticeId": {
            "type": "string",
            "nullable": true
          },
          "version": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "state": {
            "$ref": "#/components/schemas/UpdateRunState"
          },
          "targets": {
            "type": "object",
            "additionalProperties": {
              "type": "integer",
              "format": "int32"
            }
          },
          "attempts": {
            "type": "integer",
            "format": "int32"
          },
          "failures": {
            "type": "integer",
            "format": "int32"
          },
          "pausedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "UpdateRunSummaryCursorPagedResult": {
        "type": "object",
        "properties": {
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UpdateRunSummary"
            }
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          },
          "freshnessTimestamp": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateScmConnectionsRequest": {
        "type": "object",
        "properties": {
          "connections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScmConnectionUpdate"
            }
          }
        },
        "additionalProperties": false
      },
      "UpdateSegmentRequest": {
        "type": "object",
        "properties": {
          "rule": {
            "$ref": "#/components/schemas/Rule"
          },
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "expectedActiveId": {
            "type": "string",
            "nullable": true
          },
          "realms": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "propertyStats": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "propertyExtremes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "trackTenure": {
            "type": "boolean",
            "nullable": true
          },
          "removeRule": {
            "type": "boolean"
          },
          "managedBy": {
            "type": "string",
            "nullable": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateTarget": {
        "type": "object",
        "properties": {
          "runId": {
            "type": "string"
          },
          "installationId": {
            "type": "string"
          },
          "cid": {
            "type": "string"
          },
          "zoneId": {
            "type": "string"
          },
          "from": {
            "$ref": "#/components/schemas/InstallationTarget"
          },
          "to": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "group": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "moves": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UpdateMove"
            },
            "nullable": true
          },
          "state": {
            "$ref": "#/components/schemas/UpdateTargetState"
          },
          "reason": {
            "type": "string",
            "nullable": true
          },
          "at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "UpdateTargetCursorPagedResult": {
        "type": "object",
        "properties": {
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UpdateTarget"
            }
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          },
          "freshnessTimestamp": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateTargetState": {
        "enum": [
          "Waiting",
          "Applying",
          "Checking",
          "Updated",
          "Skipped",
          "RolledBack",
          "Failed",
          "Dropped"
        ],
        "type": "string"
      },
      "UpdateTrigger": {
        "enum": [
          "EndOfLife",
          "KeepCurrent",
          "Rollback",
          "SecurityAdvisory"
        ],
        "type": "string"
      },
      "UpdateVirtualStatRequest": {
        "type": "object",
        "properties": {
          "expression": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UriResponse": {
        "type": "object",
        "properties": {
          "uri": {
            "type": "string",
            "format": "uri"
          },
          "repositoryNames": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ValidateVirtualStatRequest": {
        "type": "object",
        "properties": {
          "visibility": {
            "$ref": "#/components/schemas/StatsVisibility"
          },
          "expression": {
            "type": "string"
          },
          "key": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ValidateVirtualStatResponse": {
        "type": "object",
        "properties": {
          "error": {
            "$ref": "#/components/schemas/VirtualStatValidationError"
          },
          "nodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VirtualStatNodeView"
            },
            "nullable": true
          },
          "references": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VirtualStatReferenceView"
            },
            "nullable": true
          },
          "resultType": {
            "$ref": "#/components/schemas/VirtualStatType"
          }
        },
        "additionalProperties": false
      },
      "ValueOneofCase": {
        "enum": [
          "None",
          "StringValue",
          "DoubleValue",
          "BoolValue",
          "LongValue",
          "IntValue",
          "StringListValue",
          "DoubleListValue",
          "BoolListValue",
          "LongListValue",
          "IntListValue",
          "NullValue"
        ],
        "type": "string"
      },
      "VersionStatus": {
        "enum": [
          "Supported",
          "Deprecated",
          "Unsupported",
          "EndOfLife"
        ],
        "type": "string"
      },
      "VirtualStatDefinition": {
        "required": [
          "expression",
          "key",
          "visibility"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "domain": {
            "type": "string"
          },
          "visibility": {
            "$ref": "#/components/schemas/StatsVisibility"
          },
          "itemType": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "expression": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "VirtualStatJobChunkView": {
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "to": {
            "type": "string",
            "format": "date"
          },
          "queryExecutionId": {
            "type": "string",
            "nullable": true
          },
          "partsExpected": {
            "type": "integer",
            "format": "int32"
          },
          "partsDone": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "VirtualStatJobCounts": {
        "type": "object",
        "properties": {
          "partialsMerged": {
            "type": "integer",
            "format": "int64"
          },
          "errors": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "VirtualStatJobKind": {
        "enum": [
          "Backfill",
          "Recompute"
        ],
        "type": "string"
      },
      "VirtualStatJobNode": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "event": {
            "type": "string"
          },
          "property": {
            "type": "string",
            "nullable": true
          },
          "reducer": {
            "$ref": "#/components/schemas/StatReduce"
          },
          "type": {
            "$ref": "#/components/schemas/VirtualStatType"
          },
          "namespaces": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StatsNamespace"
            }
          }
        },
        "additionalProperties": false
      },
      "VirtualStatJobState": {
        "enum": [
          "Submitted",
          "Running",
          "Succeeded",
          "Failed",
          "Cancelled"
        ],
        "type": "string"
      },
      "VirtualStatJobView": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "state": {
            "$ref": "#/components/schemas/VirtualStatJobState"
          },
          "kind": {
            "$ref": "#/components/schemas/VirtualStatJobKind"
          },
          "importId": {
            "type": "string",
            "nullable": true
          },
          "playerId": {
            "type": "string",
            "nullable": true
          },
          "visibility": {
            "$ref": "#/components/schemas/StatsVisibility"
          },
          "key": {
            "type": "string",
            "nullable": true
          },
          "nodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VirtualStatJobNode"
            }
          },
          "chunks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VirtualStatJobChunkView"
            }
          },
          "currentChunk": {
            "type": "integer",
            "format": "int32"
          },
          "counts": {
            "$ref": "#/components/schemas/VirtualStatJobCounts"
          },
          "error": {
            "$ref": "#/components/schemas/DatasetImportError"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "startedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "finishedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "VirtualStatNodeView": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "event": {
            "type": "string"
          },
          "property": {
            "type": "string",
            "nullable": true
          },
          "reducer": {
            "$ref": "#/components/schemas/StatReduce"
          },
          "type": {
            "$ref": "#/components/schemas/VirtualStatType"
          }
        },
        "additionalProperties": false
      },
      "VirtualStatReferenceView": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "virtual": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "VirtualStatState": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "$ref": "#/components/schemas/StatsValue"
          },
          "reason": {
            "type": "string",
            "nullable": true
          },
          "nodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NodeState"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "VirtualStatType": {
        "enum": [
          "Long",
          "Double",
          "Bool",
          "String"
        ],
        "type": "string"
      },
      "VirtualStatValidationError": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          },
          "line": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "column": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WebSocketConfiguration": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string"
          },
          "uri": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WorkflowStatus": {
        "enum": [
          "Pending",
          "Running",
          "Completed",
          "Failed"
        ],
        "type": "string"
      },
      "WorkflowStatusResponse": {
        "type": "object",
        "properties": {
          "executionId": {
            "type": "string",
            "nullable": true
          },
          "workflowType": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/WorkflowStatus"
          },
          "currentStepIndex": {
            "type": "integer",
            "format": "int32"
          },
          "currentStepRetryCount": {
            "type": "integer",
            "format": "int32"
          },
          "error": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "YankReleaseRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "YankReleaseResponse": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "format": "int64"
          },
          "latestVersion": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "Zone": {
        "required": [
          "plan",
          "zoneId"
        ],
        "type": "object",
        "properties": {
          "zoneId": {
            "type": "string"
          },
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "plan": {
            "type": "string"
          },
          "config": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "defaultRoleString": {
            "type": "string",
            "nullable": true
          },
          "origin": {
            "$ref": "#/components/schemas/ZoneOrigin"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "isArchived": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ZoneNotices": {
        "type": "object",
        "properties": {
          "zoneId": {
            "type": "string"
          },
          "installations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InstallationNotice"
            }
          }
        },
        "additionalProperties": false
      },
      "ZoneNoticesCursorPagedResult": {
        "type": "object",
        "properties": {
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ZoneNotices"
            }
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          },
          "freshnessTimestamp": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ZoneOrigin": {
        "enum": [
          "Bootstrapped",
          "User"
        ],
        "type": "string"
      },
      "ZoneRoleAssociation": {
        "type": "object",
        "properties": {
          "zoneId": {
            "type": "string"
          },
          "roleString": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ZoneStat": {
        "required": [
          "kind",
          "stat"
        ],
        "type": "object",
        "properties": {
          "stat": {
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/ZoneStatKind"
          },
          "decimals": {
            "type": "integer",
            "format": "int32"
          },
          "unit": {
            "$ref": "#/components/schemas/DurationUnit"
          },
          "revision": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ZoneStatKind": {
        "enum": [
          "Integer",
          "Decimal",
          "Duration",
          "Timestamp"
        ],
        "type": "string"
      },
      "ZoneStatResult": {
        "required": [
          "stat"
        ],
        "type": "object",
        "properties": {
          "stat": {
            "type": "string"
          },
          "error": {
            "$ref": "#/components/schemas/ProtoError"
          }
        },
        "additionalProperties": false
      },
      "ZoneStatsCatalogResponse": {
        "required": [
          "stats"
        ],
        "type": "object",
        "properties": {
          "stats": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ZoneStat"
            }
          }
        },
        "additionalProperties": false
      },
      "ZoneStatsRequest": {
        "type": "object",
        "properties": {
          "set": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ZoneStat"
            }
          },
          "remove": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "ZoneStatsResponse": {
        "required": [
          "results"
        ],
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ZoneStatResult"
            }
          }
        },
        "additionalProperties": false
      },
      "ZoneView": {
        "required": [
          "displayName",
          "origin",
          "plan",
          "zoneId"
        ],
        "type": "object",
        "properties": {
          "zoneId": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "secret": {
            "type": "string",
            "nullable": true
          },
          "plan": {
            "type": "string"
          },
          "defaultRole": {
            "type": "string",
            "nullable": true
          },
          "origin": {
            "$ref": "#/components/schemas/ZoneOrigin"
          },
          "archived": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ZonesResponse": {
        "type": "object",
        "properties": {
          "zones": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ZoneView"
            }
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "user": {
        "type": "http",
        "description": "Bearer authentication with a player access token in the Authorization header.",
        "scheme": "bearer",
        "bearerFormat": "Bearer {token}"
      },
      "server": {
        "type": "apiKey",
        "description": "Signed Request authentication using project secret key.",
        "name": "X-BEAM-SIGNATURE",
        "in": "header"
      },
      "connectorKey": {
        "type": "http",
        "description": "A connector's key, for posting events to its inlet.",
        "scheme": "ConnectorKey"
      },
      "firehoseKey": {
        "type": "apiKey",
        "description": "The same connector key as Amazon Data Firehose sends it.",
        "name": "X-Amz-Firehose-Access-Key",
        "in": "header"
      }
    }
  },
  "tags": [
    {
      "name": "Account"
    },
    {
      "name": "Analytics",
      "x-wingman": {
        "system": "analytics",
        "summary": "The history of events (the platform's own, the game's, and imported datasets), read with one read-only SQL statement at a time.",
        "tags": [
          "Analytics",
          "AnalyticsSchemaFindings"
        ],
        "docs": [
          {
            "ref": "wingman/analytics/concepts.md",
            "category": "concepts",
            "sha256": "81dce3d676f536c3ce60bc0bf3bfbe1dde47e35f6a7b782a198d340e8fdaf2e2"
          },
          {
            "ref": "wingman/analytics/recipes.md",
            "category": "recipes",
            "sha256": "eabe1317f1edacfbf87d2fb6e13d4be23dce2ec65046ec5bb66840fd5be1e34b"
          },
          {
            "ref": "wingman/analytics/interpretation.md",
            "category": "interpretation",
            "sha256": "b3bc0e756f962036d9e45617531305a73ae38f53e773a608ac4273dc9b4d0f57"
          },
          {
            "ref": "wingman/analytics/pitfalls.md",
            "category": "pitfalls",
            "sha256": "f4b908b69c458b500454c341e2a6ead7e65303575445c3e4e331b7324d8194c4"
          },
          {
            "ref": "wingman/analytics/examples.md",
            "category": "examples",
            "sha256": "c3ba651ce5937c6ec96ad3b1a4bc0d23377ba8473919ae85f948b2654b357a5d"
          }
        ]
      }
    },
    {
      "name": "AnalyticsSchemaFindings",
      "x-wingman": {
        "system": "analytics"
      }
    },
    {
      "name": "Auth"
    },
    {
      "name": "Beamo"
    },
    {
      "name": "BeamoBundle"
    },
    {
      "name": "BeamoBundleAdmin"
    },
    {
      "name": "BeamoInstallation"
    },
    {
      "name": "BeamoOtel"
    },
    {
      "name": "BeamoPullRequest"
    },
    {
      "name": "Billing"
    },
    {
      "name": "Campaign"
    },
    {
      "name": "Customer"
    },
    {
      "name": "DataBinding"
    },
    {
      "name": "Dataset"
    },
    {
      "name": "DatasetConnector"
    },
    {
      "name": "DatasetFile"
    },
    {
      "name": "DatasetImport"
    },
    {
      "name": "DatasetKit"
    },
    {
      "name": "DatasetTransfer"
    },
    {
      "name": "GitHubSignIn"
    },
    {
      "name": "Lobby"
    },
    {
      "name": "Mailbox"
    },
    {
      "name": "Match"
    },
    {
      "name": "MessageRail"
    },
    {
      "name": "Offer"
    },
    {
      "name": "Party"
    },
    {
      "name": "PlayerLobby"
    },
    {
      "name": "PlayerParty"
    },
    {
      "name": "PlayerPresence"
    },
    {
      "name": "PlayerSegments",
      "x-wingman": {
        "system": "segments",
        "summary": "Rule-defined groups of players over a zone's realms. Beamable keeps membership current as player stats change.",
        "tags": [
          "PlayerSegments"
        ],
        "docs": [
          {
            "ref": "wingman/segments/concepts.md",
            "category": "concepts",
            "sha256": "626ffbe8c6a49a0762da2f68b8dfe41952efcab397a150ae8ce2debfc75c5bea"
          },
          {
            "ref": "wingman/segments/recipes.md",
            "category": "recipes",
            "sha256": "1d975c363609f466a80392bfcd467a780fe76ed567241cdc538d09d15824efbb"
          },
          {
            "ref": "wingman/segments/interpretation.md",
            "category": "interpretation",
            "sha256": "d68fa97497952c4e465d36ceb4197e4524a57c0482a1ce89798c972f74ae78a8"
          },
          {
            "ref": "wingman/segments/pitfalls.md",
            "category": "pitfalls",
            "sha256": "445835c1a121acc4bd2828ac4bbaabff5dc5cc202205638cbd5ee7026b7661ad"
          },
          {
            "ref": "wingman/segments/examples.md",
            "category": "examples",
            "sha256": "86e237a27fa9d939a1ee20df6fbb4048e14f1aec12766ead09ccd2db677294f8"
          }
        ]
      }
    },
    {
      "name": "PlayerSession"
    },
    {
      "name": "PlayerStats"
    },
    {
      "name": "PlayerTicket"
    },
    {
      "name": "Presence"
    },
    {
      "name": "RealmSecrets"
    },
    {
      "name": "Scheduler"
    },
    {
      "name": "Secrets"
    },
    {
      "name": "Session"
    },
    {
      "name": "SourceControl"
    },
    {
      "name": "SourceControlOperations"
    },
    {
      "name": "Stats"
    },
    {
      "name": "Ticket"
    },
    {
      "name": "VirtualStats"
    },
    {
      "name": "Workflow"
    },
    {
      "name": "Zones"
    }
  ],
  "externalDocs": {
    "description": "Beamable Documentation",
    "url": "https://docs.beamable.com"
  },
  "x-wingman": {
    "version": 1
  }
}