{
  "openapi": "3.1.2",
  "info": {
    "title": "BeeAppie API",
    "description": "What your app and your own servers can call. SDK endpoints, under /v1, take your app's key in `X-App-Key` and the user's token from POST /v1/users/init as a bearer token. The management API, under /v1/manage, takes a secret server key (sk_…, made in the dashboard under API keys) as a bearer token. Errors are RFC 9457 problem details with a machine-readable `code`. Guides with code for every SDK: https://beeappie.com/docs",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.beeappie.com"
    }
  ],
  "paths": {
    "/v1/achievements": {
      "get": {
        "tags": [
          "Achievements"
        ],
        "parameters": [
          {
            "name": "language",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AchievementDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AchievementDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AchievementDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/achievements/{key}/unlock": {
      "post": {
        "tags": [
          "Achievements"
        ],
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "at",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AchievementUpdateDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AchievementUpdateDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AchievementUpdateDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/achievements/{key}/progress": {
      "post": {
        "tags": [
          "Achievements"
        ],
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AchievementProgressRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AchievementProgressRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AchievementProgressRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AchievementUpdateDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AchievementUpdateDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AchievementUpdateDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/achievements/batch": {
      "post": {
        "tags": [
          "Achievements"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AchievementBatchRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AchievementBatchRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AchievementBatchRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AchievementBatchResultDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AchievementBatchResultDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AchievementBatchResultDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/communications": {
      "get": {
        "tags": [
          "Communications"
        ],
        "parameters": [
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "take",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 50
            }
          },
          {
            "name": "language",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CommunicationDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CommunicationDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CommunicationDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/communications/{id}": {
      "get": {
        "tags": [
          "Communications"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CommunicationDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommunicationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommunicationDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/communications/{id}/viewed": {
      "post": {
        "tags": [
          "Communications"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/communications/{id}/acknowledged": {
      "post": {
        "tags": [
          "Communications"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/communications/{id}/clicked": {
      "post": {
        "tags": [
          "Communications"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/content/{name}": {
      "get": {
        "tags": [
          "Content"
        ],
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "since",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/conversations": {
      "get": {
        "tags": [
          "Conversations"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ConversationDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ConversationDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ConversationDto"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Conversations"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateConversationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateConversationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateConversationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/conversations/topics": {
      "get": {
        "tags": [
          "Conversations"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ConversationTopicOptionDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ConversationTopicOptionDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ConversationTopicOptionDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/conversations/{id}": {
      "get": {
        "tags": [
          "Conversations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationDto"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Conversations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RenameConversationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RenameConversationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RenameConversationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Conversations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/conversations/{id}/close": {
      "post": {
        "tags": [
          "Conversations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/conversations/{id}/messages": {
      "get": {
        "tags": [
          "Conversations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "since",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MessageDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MessageDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MessageDto"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Conversations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendMessageRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SendMessageRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SendMessageRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MessageDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MessageDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MessageDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/conversations/{id}/messages/{messageId}/image": {
      "get": {
        "tags": [
          "Conversations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "messageId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/FileContentResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileContentResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileContentResult"
                }
              }
            }
          }
        }
      }
    },
    "/v1/entitlements": {
      "get": {
        "tags": [
          "Entitlements"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EntitlementsDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EntitlementsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EntitlementsDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/feedback": {
      "post": {
        "tags": [
          "Feedback"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubmitFeedbackRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SubmitFeedbackRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SubmitFeedbackRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/polls": {
      "get": {
        "tags": [
          "Polls"
        ],
        "parameters": [
          {
            "name": "status",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/PollStatus"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "take",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 50
            }
          },
          {
            "name": "language",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PollDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PollDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PollDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/polls/{id}": {
      "get": {
        "tags": [
          "Polls"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PollDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PollDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PollDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/polls/{id}/votes": {
      "post": {
        "tags": [
          "Polls"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VotePollRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/VotePollRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/VotePollRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/polls/{id}/results": {
      "get": {
        "tags": [
          "Polls"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PollResultDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PollResultDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PollResultDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/promos": {
      "get": {
        "tags": [
          "Promos"
        ],
        "parameters": [
          {
            "name": "slot",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/PromoSlot"
            }
          },
          {
            "name": "session",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "count",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 5
            }
          },
          {
            "name": "emulator",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PromoBatchDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoBatchDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoBatchDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/promos/events": {
      "post": {
        "tags": [
          "Promos"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PromoEventsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PromoEventsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PromoEventsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "description": "Accepted"
          }
        }
      }
    },
    "/v1/promos/reports": {
      "post": {
        "tags": [
          "Promos"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PromoReportRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PromoReportRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PromoReportRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "description": "Accepted"
          }
        }
      }
    },
    "/v1/push/token": {
      "put": {
        "tags": [
          "Push"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterPushTokenRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterPushTokenRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterPushTokenRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      },
      "delete": {
        "tags": [
          "Push"
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/push/status": {
      "put": {
        "tags": [
          "Push"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PushStatusRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PushStatusRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PushStatusRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/push/{id}/opened": {
      "post": {
        "tags": [
          "Push"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/rankings": {
      "get": {
        "tags": [
          "Rankings"
        ],
        "parameters": [
          {
            "name": "language",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RankingDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RankingDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RankingDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/rankings/{idOrKey}": {
      "get": {
        "tags": [
          "Rankings"
        ],
        "parameters": [
          {
            "name": "idOrKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RankingDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RankingDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RankingDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/rankings/{idOrKey}/seasons": {
      "get": {
        "tags": [
          "Rankings"
        ],
        "parameters": [
          {
            "name": "idOrKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RankingSeasonDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RankingSeasonDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RankingSeasonDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/rankings/{idOrKey}/entries": {
      "get": {
        "tags": [
          "Rankings"
        ],
        "parameters": [
          {
            "name": "idOrKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "top",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 100
            }
          },
          {
            "name": "platform",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "season",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RankingEntryDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RankingEntryDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RankingEntryDto"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Rankings"
        ],
        "parameters": [
          {
            "name": "idOrKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubmitScoreRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SubmitScoreRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SubmitScoreRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RankingEntryDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RankingEntryDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RankingEntryDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/rankings/{idOrKey}/entries/me": {
      "get": {
        "tags": [
          "Rankings"
        ],
        "parameters": [
          {
            "name": "idOrKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "season",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RankingEntryDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RankingEntryDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RankingEntryDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/rankings/batch": {
      "post": {
        "tags": [
          "Rankings"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScoreBatchRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ScoreBatchRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ScoreBatchRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScoreBatchResultDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScoreBatchResultDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScoreBatchResultDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/rankings/{idOrKey}/entries/{entryId}": {
      "delete": {
        "tags": [
          "Rankings"
        ],
        "parameters": [
          {
            "name": "idOrKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "entryId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/config": {
      "get": {
        "tags": [
          "RemoteConfig"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RemoteConfigDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemoteConfigDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemoteConfigDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/users/me/identify": {
      "post": {
        "tags": [
          "SignIn"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IdentifyUserRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/IdentifyUserRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/IdentifyUserRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserSessionResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserSessionResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserSessionResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/users/me/logout": {
      "post": {
        "tags": [
          "SignIn"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserSessionResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserSessionResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserSessionResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/users/me/identities": {
      "post": {
        "tags": [
          "SignIn"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IdentifyUserRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/IdentifyUserRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/IdentifyUserRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/users/me/identities/{id}": {
      "delete": {
        "tags": [
          "SignIn"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/status": {
      "get": {
        "tags": [
          "SDK"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceStatusDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceStatusDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceStatusDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/status/page": {
      "get": {
        "tags": [
          "Public"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StatusPageDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StatusPageDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StatusPageDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/surveys": {
      "get": {
        "tags": [
          "Surveys"
        ],
        "parameters": [
          {
            "name": "language",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SurveysDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SurveysDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SurveysDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/surveys/{key}/answers": {
      "post": {
        "tags": [
          "Surveys"
        ],
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AnswerSurveyRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AnswerSurveyRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AnswerSurveyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/surveys/stats": {
      "post": {
        "tags": [
          "Surveys"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SurveyStatsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SurveyStatsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SurveyStatsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/events": {
      "post": {
        "tags": [
          "Telemetry"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TrackEventRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TrackEventRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TrackEventRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "description": "Accepted",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TrackEventsResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TrackEventsResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TrackEventsResult"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Telemetry"
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/events/batch": {
      "post": {
        "tags": [
          "Telemetry"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TrackEventsBatchRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TrackEventsBatchRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TrackEventsBatchRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "description": "Accepted",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TrackEventsResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TrackEventsResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TrackEventsResult"
                }
              }
            }
          }
        }
      }
    },
    "/v1/issues": {
      "post": {
        "tags": [
          "Telemetry"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReportIssueRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ReportIssueRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ReportIssueRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "description": "Accepted"
          }
        }
      },
      "delete": {
        "tags": [
          "Telemetry"
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/sessions": {
      "post": {
        "tags": [
          "Telemetry"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SessionDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Telemetry"
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/sessions/{id}/refresh": {
      "post": {
        "tags": [
          "Telemetry"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SessionDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/sessions/{id}/close": {
      "post": {
        "tags": [
          "Telemetry"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "type": "null"
                  },
                  {
                    "$ref": "#/components/schemas/CloseSessionRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "oneOf": [
                  {
                    "type": "null"
                  },
                  {
                    "$ref": "#/components/schemas/CloseSessionRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "oneOf": [
                  {
                    "type": "null"
                  },
                  {
                    "$ref": "#/components/schemas/CloseSessionRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SessionDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/data/me": {
      "get": {
        "tags": [
          "UserData"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserDataSummaryDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDataSummaryDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDataSummaryDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/data/me/{collection}": {
      "get": {
        "tags": [
          "UserData"
        ],
        "parameters": [
          {
            "name": "collection",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "after",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "take",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserDataPageDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDataPageDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDataPageDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/data/me/{collection}/{key}": {
      "get": {
        "tags": [
          "UserData"
        ],
        "parameters": [
          {
            "name": "collection",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserDataItemDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDataItemDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDataItemDto"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "UserData"
        ],
        "parameters": [
          {
            "name": "collection",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PutUserDataRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PutUserDataRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PutUserDataRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserDataItemDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDataItemDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDataItemDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "UserData"
        ],
        "parameters": [
          {
            "name": "collection",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ifVersion",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/data/me/batch": {
      "post": {
        "tags": [
          "UserData"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserDataBatchRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UserDataBatchRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UserDataBatchRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserDataBatchResultDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDataBatchResultDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDataBatchResultDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/users/init": {
      "post": {
        "tags": [
          "Users"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InitUserRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InitUserRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InitUserRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InitUserResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InitUserResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InitUserResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/users/me": {
      "get": {
        "tags": [
          "Users"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDto"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Users"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Users"
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/users/me/properties": {
      "put": {
        "tags": [
          "Users"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserPropertiesRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserPropertiesRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserPropertiesRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/users/me/team-chats": {
      "put": {
        "tags": [
          "Users"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TeamChatsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TeamChatsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TeamChatsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/users/me/export": {
      "get": {
        "tags": [
          "Users"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/zip": {
                "schema": {
                  "$ref": "#/components/schemas/FileResult"
                }
              }
            }
          }
        }
      }
    },
    "/v1/users/me/consent": {
      "get": {
        "tags": [
          "Users"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ConsentDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConsentDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConsentDto"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Users"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConsentDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ConsentDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ConsentDto"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ConsentDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConsentDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConsentDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/availability": {
      "get": {
        "tags": [
          "Public"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AvailabilityDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AvailabilityDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AvailabilityDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/ai-credits": {
      "get": {
        "tags": [
          "Public"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AddOnDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AddOnDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AddOnDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/promo-credits": {
      "get": {
        "tags": [
          "Public"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AddOnDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AddOnDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AddOnDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/waitlist": {
      "post": {
        "tags": [
          "Public"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JoinWaitlistRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/JoinWaitlistRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/JoinWaitlistRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "description": "Accepted"
          }
        }
      }
    },
    "/v1/plans": {
      "get": {
        "tags": [
          "Public"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PlanDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PlanDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PlanDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/plans/paddle": {
      "get": {
        "tags": [
          "Public"
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/plans/discounts/{code}": {
      "get": {
        "tags": [
          "Public"
        ],
        "parameters": [
          {
            "name": "code",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/v1/plans/discounts/featured": {
      "get": {
        "tags": [
          "Public"
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/sdks": {
      "get": {
        "tags": [
          "Public"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SdkDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SdkDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SdkDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/achievements": {
      "get": {
        "tags": [
          "Achievements"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ManagedAchievementDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ManagedAchievementDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ManagedAchievementDto"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Achievements"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveAchievementRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveAchievementRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SaveAchievementRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ManagedAchievementDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagedAchievementDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagedAchievementDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/achievements/{id}": {
      "put": {
        "tags": [
          "Achievements"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveAchievementRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveAchievementRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SaveAchievementRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ManagedAchievementDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagedAchievementDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagedAchievementDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Achievements"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/manage/achievements/{id}/icon": {
      "put": {
        "tags": [
          "Achievements"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetAchievementIconRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetAchievementIconRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetAchievementIconRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ManagedAchievementDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagedAchievementDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagedAchievementDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Achievements"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ManagedAchievementDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagedAchievementDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagedAchievementDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/apps": {
      "get": {
        "tags": [
          "Apps"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AppDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AppDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AppDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/apps/{id}": {
      "get": {
        "tags": [
          "Apps"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AppDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/apps/{id}/languages": {
      "get": {
        "tags": [
          "Apps"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AppLanguagesDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppLanguagesDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppLanguagesDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/apps/{id}/connection": {
      "get": {
        "tags": [
          "Apps"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AppConnectionDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppConnectionDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppConnectionDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/apps/{id}/retention": {
      "get": {
        "tags": [
          "Apps"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AppRetentionDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppRetentionDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppRetentionDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/apps/{id}/icon": {
      "get": {
        "tags": [
          "Apps"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/FileContentResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileContentResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileContentResult"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/apps/{id}/test-usage": {
      "get": {
        "tags": [
          "Apps"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TestAppUsageDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TestAppUsageDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TestAppUsageDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/audience/count": {
      "post": {
        "tags": [
          "Audience"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AudienceCountRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AudienceCountRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AudienceCountRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AudienceCountDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AudienceCountDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AudienceCountDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/communications": {
      "get": {
        "tags": [
          "Communications"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/CommunicationType"
            }
          },
          {
            "name": "state",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "desc",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": true
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "take",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CommunicationDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CommunicationDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CommunicationDto"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Communications"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveCommunicationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveCommunicationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SaveCommunicationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CommunicationDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommunicationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommunicationDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/communications/{id}": {
      "get": {
        "tags": [
          "Communications"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CommunicationDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommunicationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommunicationDto"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Communications"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveCommunicationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveCommunicationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SaveCommunicationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CommunicationDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommunicationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommunicationDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Communications"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/manage/communications/{id}/stats": {
      "get": {
        "tags": [
          "Communications"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CommunicationStatsDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommunicationStatsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommunicationStatsDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/apps/{id}/consent-text": {
      "get": {
        "tags": [
          "ConsentText"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AppConsentTextDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppConsentTextDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppConsentTextDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/content": {
      "get": {
        "tags": [
          "Content"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ContentOverviewDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentOverviewDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentOverviewDto"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Content"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveContentCollectionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveContentCollectionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SaveContentCollectionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ContentCollectionDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentCollectionDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentCollectionDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/content/{id}": {
      "get": {
        "tags": [
          "Content"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ContentCollectionDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentCollectionDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentCollectionDto"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Content"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveContentCollectionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveContentCollectionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SaveContentCollectionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ContentCollectionDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentCollectionDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentCollectionDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Content"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/manage/content/{id}/items": {
      "get": {
        "tags": [
          "Content"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ContentItemState"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "take",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 100
            }
          },
          {
            "name": "scheduled",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ContentItemsPageDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentItemsPageDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentItemsPageDto"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Content"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddContentItemRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddContentItemRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddContentItemRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ContentItemDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentItemDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentItemDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/content/{id}/items/{key}": {
      "get": {
        "tags": [
          "Content"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ContentItemDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentItemDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentItemDto"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Content"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetContentItemRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetContentItemRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetContentItemRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ContentItemDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentItemDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentItemDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Content"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/manage/content/{id}/items/{key}/revert": {
      "post": {
        "tags": [
          "Content"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/manage/content/{id}/import": {
      "post": {
        "tags": [
          "Content"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ContentImportRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ContentImportRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ContentImportRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ContentImportResultDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentImportResultDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentImportResultDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/content/{id}/export": {
      "get": {
        "tags": [
          "Content"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "format",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "json"
            }
          },
          {
            "name": "live",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/manage/content/{id}/warnings": {
      "get": {
        "tags": [
          "Content"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ContentWarningDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ContentWarningDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ContentWarningDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/content/{id}/models": {
      "get": {
        "tags": [
          "Content"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ContentModelsDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentModelsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentModelsDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/content/{id}/copy-to-live": {
      "post": {
        "tags": [
          "Content"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ContentCollectionDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentCollectionDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentCollectionDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/content/{id}/publish": {
      "get": {
        "tags": [
          "Content"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ContentPublishPreviewDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentPublishPreviewDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentPublishPreviewDto"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Content"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ContentCollectionDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentCollectionDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentCollectionDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/content/{id}/undo": {
      "post": {
        "tags": [
          "Content"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ContentCollectionDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentCollectionDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentCollectionDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/content/{id}/discard": {
      "post": {
        "tags": [
          "Content"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ContentCollectionDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentCollectionDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentCollectionDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/content/{id}/versions": {
      "get": {
        "tags": [
          "Content"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ContentVersionDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ContentVersionDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ContentVersionDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/conversations": {
      "get": {
        "tags": [
          "Conversations"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ConversationStatus"
            }
          },
          {
            "name": "assignee",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "topic",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "take",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 100
            }
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "platform",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ConversationType"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ConversationDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ConversationDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ConversationDto"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Conversations"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StartConversationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/StartConversationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/StartConversationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/conversations/count": {
      "get": {
        "tags": [
          "Conversations"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ConversationStatus"
            }
          },
          {
            "name": "assignee",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "topic",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "platform",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ConversationType"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "pattern": "^-?(?:0|[1-9]\\d*)$",
                  "type": [
                    "integer",
                    "string"
                  ],
                  "format": "int32"
                }
              },
              "application/json": {
                "schema": {
                  "pattern": "^-?(?:0|[1-9]\\d*)$",
                  "type": [
                    "integer",
                    "string"
                  ],
                  "format": "int32"
                }
              },
              "text/json": {
                "schema": {
                  "pattern": "^-?(?:0|[1-9]\\d*)$",
                  "type": [
                    "integer",
                    "string"
                  ],
                  "format": "int32"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/conversations/stats": {
      "get": {
        "tags": [
          "Conversations"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "days",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 7
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationStatsDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationStatsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationStatsDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/conversations/{id}": {
      "get": {
        "tags": [
          "Conversations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Conversations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/manage/conversations/{id}/messages": {
      "get": {
        "tags": [
          "Conversations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "since",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MessageDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MessageDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MessageDto"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Conversations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendMessageRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SendMessageRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SendMessageRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MessageDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MessageDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MessageDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/conversations/{id}/notes": {
      "post": {
        "tags": [
          "Conversations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddConversationNoteRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddConversationNoteRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddConversationNoteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MessageDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MessageDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MessageDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/conversations/{id}/messages/{messageId}/image": {
      "get": {
        "tags": [
          "Conversations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "messageId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/FileContentResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileContentResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileContentResult"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/conversations/{id}/status": {
      "put": {
        "tags": [
          "Conversations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateConversationStatusRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateConversationStatusRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateConversationStatusRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/conversations/{id}/assignee": {
      "put": {
        "tags": [
          "Conversations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignConversationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignConversationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AssignConversationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/conversations/{id}/topic": {
      "put": {
        "tags": [
          "Conversations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetConversationTopicRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetConversationTopicRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetConversationTopicRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/conversation-topics": {
      "get": {
        "tags": [
          "ConversationTopics"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ConversationTopicDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ConversationTopicDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ConversationTopicDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/entitlements": {
      "get": {
        "tags": [
          "Entitlements"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ManagedEntitlementDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ManagedEntitlementDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ManagedEntitlementDto"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Entitlements"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveEntitlementRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveEntitlementRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SaveEntitlementRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ManagedEntitlementDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagedEntitlementDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagedEntitlementDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/entitlements/{id}": {
      "put": {
        "tags": [
          "Entitlements"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveEntitlementRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveEntitlementRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SaveEntitlementRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ManagedEntitlementDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagedEntitlementDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagedEntitlementDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Entitlements"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/manage/feedback": {
      "get": {
        "tags": [
          "Feedback"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/FeedbackCategory"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ConversationStatus"
            }
          },
          {
            "name": "platform",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "appVersion",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "desc",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": true
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "take",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FeedbackDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FeedbackDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FeedbackDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/feedback/count": {
      "get": {
        "tags": [
          "Feedback"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/FeedbackCategory"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ConversationStatus"
            }
          },
          {
            "name": "platform",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "appVersion",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "pattern": "^-?(?:0|[1-9]\\d*)$",
                  "type": [
                    "integer",
                    "string"
                  ],
                  "format": "int32"
                }
              },
              "application/json": {
                "schema": {
                  "pattern": "^-?(?:0|[1-9]\\d*)$",
                  "type": [
                    "integer",
                    "string"
                  ],
                  "format": "int32"
                }
              },
              "text/json": {
                "schema": {
                  "pattern": "^-?(?:0|[1-9]\\d*)$",
                  "type": [
                    "integer",
                    "string"
                  ],
                  "format": "int32"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/feedback/versions": {
      "get": {
        "tags": [
          "Feedback"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/feedback/settings": {
      "get": {
        "tags": [
          "Feedback"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/FeedbackSettingsDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeedbackSettingsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeedbackSettingsDto"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Feedback"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FeedbackSettingsDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/FeedbackSettingsDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/FeedbackSettingsDto"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/FeedbackSettingsDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeedbackSettingsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeedbackSettingsDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/events": {
      "get": {
        "tags": [
          "Insights"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "days",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "platform",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserEventGroupDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserEventGroupDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserEventGroupDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/events/{groupId}/daily": {
      "get": {
        "tags": [
          "Insights"
        ],
        "parameters": [
          {
            "name": "groupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "days",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "platform",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EventDayDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EventDayDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EventDayDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/events/{groupId}/reports": {
      "get": {
        "tags": [
          "Insights"
        ],
        "parameters": [
          {
            "name": "groupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "days",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "platform",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserEventReportDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserEventReportDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserEventReportDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/issues": {
      "get": {
        "tags": [
          "Insights"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "days",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/IssueStatus"
            }
          },
          {
            "name": "crashes",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "platform",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "desc",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": true
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "take",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IssueGroupDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IssueGroupDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IssueGroupDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/issues/daily": {
      "get": {
        "tags": [
          "Insights"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "days",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/IssueStatus"
            }
          },
          {
            "name": "crashes",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "platform",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IssueDayDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IssueDayDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IssueDayDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/issues/versions": {
      "get": {
        "tags": [
          "Insights"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/issues/platforms": {
      "get": {
        "tags": [
          "Insights"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/issues/{groupId}": {
      "get": {
        "tags": [
          "Insights"
        ],
        "parameters": [
          {
            "name": "groupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/IssueGroupDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IssueGroupDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/IssueGroupDto"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Insights"
        ],
        "parameters": [
          {
            "name": "groupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateIssueGroupRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateIssueGroupRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateIssueGroupRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/IssueGroupDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IssueGroupDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/IssueGroupDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/issues/{groupId}/breakdowns": {
      "get": {
        "tags": [
          "Insights"
        ],
        "parameters": [
          {
            "name": "groupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "days",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/IssueBreakdownsDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IssueBreakdownsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/IssueBreakdownsDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/issues/releases": {
      "get": {
        "tags": [
          "Insights"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "days",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 30
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReleaseHealthDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReleaseHealthDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReleaseHealthDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/issues/{groupId}/conversations": {
      "get": {
        "tags": [
          "Insights"
        ],
        "parameters": [
          {
            "name": "groupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LinkedConversationDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LinkedConversationDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LinkedConversationDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/users/{userId}/issues": {
      "get": {
        "tags": [
          "Insights"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserIssueDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserIssueDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserIssueDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/issues/{groupId}/reports": {
      "get": {
        "tags": [
          "Insights"
        ],
        "parameters": [
          {
            "name": "groupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "hideTestDevices",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IssueReportDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IssueReportDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IssueReportDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/retention": {
      "get": {
        "tags": [
          "Insights"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "weeks",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 8
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RetentionDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RetentionDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RetentionDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/retention/installs": {
      "get": {
        "tags": [
          "Insights"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "weeks",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 8
            }
          },
          {
            "name": "platform",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InstallRetentionDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstallRetentionDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstallRetentionDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/funnel": {
      "post": {
        "tags": [
          "Insights"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FunnelRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/FunnelRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/FunnelRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/FunnelDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FunnelDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/FunnelDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/sessions/stats": {
      "get": {
        "tags": [
          "Insights"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "days",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 30
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SessionStatsDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionStatsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionStatsDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/overview/platforms": {
      "get": {
        "tags": [
          "Insights"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/overview": {
      "get": {
        "tags": [
          "Insights"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "days",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 30
            }
          },
          {
            "name": "platform",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AppOverviewDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppOverviewDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppOverviewDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/overview/apps": {
      "get": {
        "tags": [
          "Insights"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AppSummaryDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AppSummaryDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AppSummaryDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/lookups/countries": {
      "get": {
        "tags": [
          "Lookups"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CountryDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CountryDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CountryDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/lookups/languages": {
      "get": {
        "tags": [
          "Lookups"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LanguageDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LanguageDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LanguageDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/lookups/platforms": {
      "get": {
        "tags": [
          "Lookups"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PlatformDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PlatformDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PlatformDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/mappings": {
      "get": {
        "tags": [
          "Mappings"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MappingFileDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MappingFileDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MappingFileDto"
                  }
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Mappings"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "applicationId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "appVersion",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MappingFileDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MappingFileDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MappingFileDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/mappings/apple": {
      "put": {
        "tags": [
          "Mappings"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "applicationId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "appVersion",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MappingFileDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MappingFileDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MappingFileDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/mappings/native": {
      "put": {
        "tags": [
          "Mappings"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "applicationId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "appVersion",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MappingFileDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MappingFileDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MappingFileDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/mappings/javascript": {
      "put": {
        "tags": [
          "Mappings"
        ],
        "parameters": [
          {
            "name": "bundleId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "bundleName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "applicationId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "appVersion",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MappingFileDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MappingFileDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MappingFileDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/mappings/storage": {
      "get": {
        "tags": [
          "Mappings"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MappingStorageDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MappingStorageDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MappingStorageDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/mappings/missing": {
      "post": {
        "tags": [
          "Mappings"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "applicationId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MissingMappingsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/MissingMappingsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/MissingMappingsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MissingMappingsDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MissingMappingsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MissingMappingsDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/mappings/status": {
      "get": {
        "tags": [
          "Mappings"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MappingStatusDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MappingStatusDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MappingStatusDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/mappings/dotnet": {
      "put": {
        "tags": [
          "Mappings"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "applicationId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "appVersion",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MappingFileDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MappingFileDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MappingFileDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/polls": {
      "get": {
        "tags": [
          "Polls"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "take",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PollDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PollDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PollDto"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Polls"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SavePollRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SavePollRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SavePollRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PollDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PollDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PollDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/polls/{id}": {
      "get": {
        "tags": [
          "Polls"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PollDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PollDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PollDto"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Polls"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SavePollRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SavePollRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SavePollRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PollDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PollDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PollDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Polls"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/manage/polls/{id}/translations": {
      "put": {
        "tags": [
          "Polls"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SavePollTranslationsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SavePollTranslationsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SavePollTranslationsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PollDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PollDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PollDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/polls/{id}/release": {
      "post": {
        "tags": [
          "Polls"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "type": "null"
                  },
                  {
                    "$ref": "#/components/schemas/ReleasePollRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "oneOf": [
                  {
                    "type": "null"
                  },
                  {
                    "$ref": "#/components/schemas/ReleasePollRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "oneOf": [
                  {
                    "type": "null"
                  },
                  {
                    "$ref": "#/components/schemas/ReleasePollRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PollDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PollDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PollDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/polls/{id}/close": {
      "post": {
        "tags": [
          "Polls"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PollDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PollDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PollDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/polls/{id}/results": {
      "get": {
        "tags": [
          "Polls"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "splitBy",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PollResultDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PollResultDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PollResultDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/promos/available": {
      "get": {
        "tags": [
          "Promos"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              },
              "text/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/promos": {
      "get": {
        "tags": [
          "Promos"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PromoDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PromoDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PromoDto"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Promos"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePromoRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePromoRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePromoRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PromoDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/promos/{id}": {
      "get": {
        "tags": [
          "Promos"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PromoDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Promos"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/manage/promos/{id}/draft": {
      "put": {
        "tags": [
          "Promos"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SavePromoDraftRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SavePromoDraftRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SavePromoDraftRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PromoDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Promos"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PromoDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/promos/{id}/draft/images/{kind}": {
      "put": {
        "tags": [
          "Promos"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "kind",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/PromoImageKind"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetPromoImageRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetPromoImageRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetPromoImageRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PromoDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Promos"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "kind",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/PromoImageKind"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PromoDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/promos/{id}/draft/submit": {
      "post": {
        "tags": [
          "Promos"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PromoDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/promos/{id}/settings": {
      "put": {
        "tags": [
          "Promos"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SavePromoSettingsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SavePromoSettingsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SavePromoSettingsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PromoDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/promos/placements/{appId}": {
      "get": {
        "tags": [
          "Promos"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PromoPlacementDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoPlacementDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoPlacementDto"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Promos"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SavePromoPlacementRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SavePromoPlacementRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SavePromoPlacementRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PromoPlacementDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoPlacementDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoPlacementDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/promos/stats": {
      "get": {
        "tags": [
          "Promos"
        ],
        "parameters": [
          {
            "name": "from",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "to",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PromoStatsDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoStatsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoStatsDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/promos/network": {
      "get": {
        "tags": [
          "Promos"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PromoNetworkDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoNetworkDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoNetworkDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/promos/network/stats": {
      "get": {
        "tags": [
          "Promos"
        ],
        "parameters": [
          {
            "name": "days",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 30
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PromoAdvertiserStatsDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoAdvertiserStatsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoAdvertiserStatsDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/promos/network/credits": {
      "get": {
        "tags": [
          "Promos"
        ],
        "parameters": [
          {
            "name": "days",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 30
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PromoAppCreditsDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoAppCreditsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoAppCreditsDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/promos/{id}/network": {
      "put": {
        "tags": [
          "Promos"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SavePromoNetworkRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SavePromoNetworkRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SavePromoNetworkRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PromoDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/promos/campaigns": {
      "get": {
        "tags": [
          "Promos"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PromoCampaignsDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoCampaignsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoCampaignsDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/promos/{id}/campaign": {
      "put": {
        "tags": [
          "Promos"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SavePromoCampaignRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SavePromoCampaignRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SavePromoCampaignRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PromoCampaignDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoCampaignDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoCampaignDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Promos"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PromoCampaignDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoCampaignDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoCampaignDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/push/automations": {
      "get": {
        "tags": [
          "PushAutomations"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PushAutomationDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PushAutomationDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PushAutomationDto"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "PushAutomations"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SavePushAutomationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SavePushAutomationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SavePushAutomationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PushAutomationDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushAutomationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushAutomationDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/push/automations/settings": {
      "get": {
        "tags": [
          "PushAutomations"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PushAutomationSettingsDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushAutomationSettingsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushAutomationSettingsDto"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "PushAutomations"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PushAutomationSettingsDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PushAutomationSettingsDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PushAutomationSettingsDto"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PushAutomationSettingsDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushAutomationSettingsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushAutomationSettingsDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/push/automations/{id}": {
      "get": {
        "tags": [
          "PushAutomations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PushAutomationDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushAutomationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushAutomationDto"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "PushAutomations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SavePushAutomationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SavePushAutomationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SavePushAutomationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PushAutomationDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushAutomationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushAutomationDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "PushAutomations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/manage/push/notifications": {
      "get": {
        "tags": [
          "Push"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "kind",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/PushNotificationKind"
            }
          },
          {
            "name": "chatReplies",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": true
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/PushNotificationStatus"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "desc",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": true
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "take",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PushNotificationDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PushNotificationDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PushNotificationDto"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Push"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendPushRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SendPushRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SendPushRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PushNotificationDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushNotificationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushNotificationDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/push/stats": {
      "get": {
        "tags": [
          "Push"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "days",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 30
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PushStatsDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushStatsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushStatsDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/push/notifications/{id}": {
      "get": {
        "tags": [
          "Push"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PushNotificationDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushNotificationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushNotificationDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/push/notifications/{id}/cancel": {
      "post": {
        "tags": [
          "Push"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PushNotificationDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushNotificationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushNotificationDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/rankings": {
      "get": {
        "tags": [
          "Rankings"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RankingDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RankingDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RankingDto"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Rankings"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveRankingRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveRankingRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SaveRankingRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RankingDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RankingDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RankingDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/rankings/{id}": {
      "get": {
        "tags": [
          "Rankings"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RankingDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RankingDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RankingDto"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Rankings"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveRankingRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveRankingRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SaveRankingRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RankingDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RankingDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RankingDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Rankings"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/manage/rankings/{id}/seasons": {
      "get": {
        "tags": [
          "Rankings"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RankingSeasonDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RankingSeasonDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RankingSeasonDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/rankings/{id}/end": {
      "post": {
        "tags": [
          "Rankings"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RankingDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RankingDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RankingDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/rankings/{id}/reopen": {
      "post": {
        "tags": [
          "Rankings"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RankingDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RankingDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RankingDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/rankings/{id}/entries": {
      "get": {
        "tags": [
          "Rankings"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "top",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 100
            }
          },
          {
            "name": "season",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "platform",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RankingEntryDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RankingEntryDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RankingEntryDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/rankings/{id}/entries/{entryId}": {
      "delete": {
        "tags": [
          "Rankings"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "entryId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/manage/remote-config": {
      "get": {
        "tags": [
          "RemoteConfig"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ConfigParameterDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ConfigParameterDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ConfigParameterDto"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "RemoteConfig"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveConfigParameterRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveConfigParameterRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SaveConfigParameterRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ConfigParameterDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConfigParameterDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConfigParameterDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/remote-config/{id}": {
      "put": {
        "tags": [
          "RemoteConfig"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveConfigParameterRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveConfigParameterRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SaveConfigParameterRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ConfigParameterDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConfigParameterDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConfigParameterDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "RemoteConfig"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/manage/remote-config/preview": {
      "get": {
        "tags": [
          "RemoteConfig"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ConfigPreviewDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ConfigPreviewDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ConfigPreviewDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/remote-config/status": {
      "get": {
        "tags": [
          "RemoteConfig"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AppStatusSettingsDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppStatusSettingsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppStatusSettingsDto"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "RemoteConfig"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AppStatusSettingsDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AppStatusSettingsDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AppStatusSettingsDto"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AppStatusSettingsDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppStatusSettingsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppStatusSettingsDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/remote-config/status/maintenance": {
      "put": {
        "tags": [
          "RemoteConfig"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetMaintenanceRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetMaintenanceRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetMaintenanceRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AppStatusSettingsDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppStatusSettingsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppStatusSettingsDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/remote-config/status/{platformId}/impact": {
      "get": {
        "tags": [
          "RemoteConfig"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "platformId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int16"
            }
          },
          {
            "name": "minimum",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateImpactDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateImpactDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateImpactDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/support-settings/saved-replies": {
      "get": {
        "tags": [
          "SupportSettings"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SavedReplyDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SavedReplyDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SavedReplyDto"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "SupportSettings"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveSavedReplyRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveSavedReplyRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SaveSavedReplyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SavedReplyDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SavedReplyDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SavedReplyDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/support-settings/saved-replies/{id}": {
      "put": {
        "tags": [
          "SupportSettings"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveSavedReplyRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveSavedReplyRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SaveSavedReplyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SavedReplyDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SavedReplyDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SavedReplyDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "SupportSettings"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/manage/support-settings": {
      "get": {
        "tags": [
          "SupportSettings"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupportSettingsDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupportSettingsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupportSettingsDto"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "SupportSettings"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SupportSettingsDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SupportSettingsDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SupportSettingsDto"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupportSettingsDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupportSettingsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupportSettingsDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/support-settings/chat-icon": {
      "get": {
        "tags": [
          "SupportSettings"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ChatIconDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChatIconDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChatIconDto"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "SupportSettings"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetChatIconRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetChatIconRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetChatIconRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ChatIconDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChatIconDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChatIconDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/surveys": {
      "get": {
        "tags": [
          "Surveys"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SurveyManageDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SurveyManageDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SurveyManageDto"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Surveys"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveSurveyRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveSurveyRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SaveSurveyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SurveyManageDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SurveyManageDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SurveyManageDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/surveys/{id}": {
      "get": {
        "tags": [
          "Surveys"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SurveyManageDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SurveyManageDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SurveyManageDto"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Surveys"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveSurveyRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveSurveyRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SaveSurveyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SurveyManageDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SurveyManageDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SurveyManageDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Surveys"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/manage/surveys/settings": {
      "get": {
        "tags": [
          "Surveys"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SurveySettingsDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SurveySettingsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SurveySettingsDto"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Surveys"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SurveySettingsDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SurveySettingsDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SurveySettingsDto"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SurveySettingsDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SurveySettingsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SurveySettingsDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/surveys/{id}/start": {
      "post": {
        "tags": [
          "Surveys"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SurveyManageDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SurveyManageDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SurveyManageDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/surveys/{id}/end": {
      "post": {
        "tags": [
          "Surveys"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SurveyManageDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SurveyManageDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SurveyManageDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/surveys/{id}/ask-again": {
      "post": {
        "tags": [
          "Surveys"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SurveyManageDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SurveyManageDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SurveyManageDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/surveys/{id}/results": {
      "get": {
        "tags": [
          "Surveys"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "allRevisions",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "days",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "platform",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SurveyResultsDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SurveyResultsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SurveyResultsDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/surveys/answers": {
      "get": {
        "tags": [
          "Surveys"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "surveyId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "withComment",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "take",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SurveyAnswerDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SurveyAnswerDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SurveyAnswerDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/users/{id}/achievements": {
      "get": {
        "tags": [
          "UserAchievements"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserAchievementDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserAchievementDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserAchievementDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/users/{id}/achievements/{key}/unlock": {
      "post": {
        "tags": [
          "UserAchievements"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "at",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserAchievementUpdateDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserAchievementUpdateDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserAchievementUpdateDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/users/{id}/achievements/{key}/progress": {
      "post": {
        "tags": [
          "UserAchievements"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AchievementProgressRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AchievementProgressRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AchievementProgressRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserAchievementUpdateDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserAchievementUpdateDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserAchievementUpdateDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/users/{id}/achievements/{key}": {
      "delete": {
        "tags": [
          "UserAchievements"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserAchievementDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserAchievementDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserAchievementDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/users/{id}/entitlements": {
      "get": {
        "tags": [
          "UserEntitlements"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserEntitlementDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserEntitlementDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserEntitlementDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/users/{id}/entitlements/{entitlementKey}": {
      "put": {
        "tags": [
          "UserEntitlements"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "entitlementKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GrantEntitlementRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GrantEntitlementRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GrantEntitlementRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserEntitlementDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserEntitlementDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserEntitlementDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "UserEntitlements"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "entitlementKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserEntitlementDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserEntitlementDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserEntitlementDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/users": {
      "get": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subject",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "issuer",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "kind",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "suspended",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "platform",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int16"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "desc",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": true
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "take",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/users/count": {
      "get": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "kind",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "suspended",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "platform",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int16"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "pattern": "^-?(?:0|[1-9]\\d*)$",
                  "type": [
                    "integer",
                    "string"
                  ],
                  "format": "int32"
                }
              },
              "application/json": {
                "schema": {
                  "pattern": "^-?(?:0|[1-9]\\d*)$",
                  "type": [
                    "integer",
                    "string"
                  ],
                  "format": "int32"
                }
              },
              "text/json": {
                "schema": {
                  "pattern": "^-?(?:0|[1-9]\\d*)$",
                  "type": [
                    "integer",
                    "string"
                  ],
                  "format": "int32"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/users/{id}": {
      "get": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/manage/users/{id}/suspension": {
      "put": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SuspendUserRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SuspendUserRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SuspendUserRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/users/{id}/reset-username": {
      "post": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/users/{id}/suspensions": {
      "get": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserSuspensionRecordDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserSuspensionRecordDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserSuspensionRecordDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/users/{id}/consents": {
      "get": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserConsentRecordDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserConsentRecordDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserConsentRecordDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/manage/users/{id}/export": {
      "get": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/zip": {
                "schema": {
                  "$ref": "#/components/schemas/FileResult"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AchievementBatchRequest": {
        "required": [
          "writes"
        ],
        "type": "object",
        "properties": {
          "writes": {
            "maxItems": 100,
            "minItems": 1,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AchievementWrite"
            }
          }
        },
        "description": "Writes applied in order, for the current user."
      },
      "AchievementBatchResultDto": {
        "type": "object",
        "properties": {
          "achievements": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AchievementUpdateDto"
            }
          },
          "unknown": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "description": "Each achievement the batch touched, as it is now (bool AchievementUpdateDto.JustUnlocked when one of the writes\nunlocked it), and the keys the app doesn't have (the SDK drops their writes)."
      },
      "AchievementDto": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "name": {
            "type": [
              "null",
              "string"
            ],
            "description": "Null for a hidden achievement the user has not unlocked yet."
          },
          "description": {
            "type": [
              "null",
              "string"
            ],
            "description": "Null for a hidden achievement the user has not unlocked yet."
          },
          "iconUrl": {
            "type": [
              "null",
              "string"
            ],
            "description": "Its icon, set in the dashboard; null if it has none, or while it is a hidden achievement the user has not unlocked."
          },
          "points": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "goal": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "The progress that unlocks it: 1 for a one-off achievement.",
            "format": "int32"
          },
          "hidden": {
            "type": "boolean"
          },
          "progress": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "unlocked": {
            "type": "boolean"
          },
          "unlockedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "updatedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the user's progress last changed; null when they have none (or there is no user yet).",
            "format": "date-time"
          },
          "unlockedPercent": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "The share of the app's users who unlocked it, 0 to 100: how rare it is.",
            "format": "double"
          }
        },
        "description": "An achievement, with the current user's progress."
      },
      "AchievementIconDto": {
        "required": [
          "color"
        ],
        "type": "object",
        "properties": {
          "style": {
            "$ref": "#/components/schemas/AchievementIconStyle"
          },
          "symbol": {
            "maxLength": 64,
            "minLength": 0,
            "pattern": "^[a-z0-9_]+$",
            "type": [
              "null",
              "string"
            ],
            "description": "The Material Symbol's name, e.g. \"local_fire_department\"; required for AchievementIconStyle.Symbol."
          },
          "filled": {
            "type": "boolean",
            "description": "Filled rather than outlined."
          },
          "color": {
            "pattern": "^#[0-9A-Fa-f]{6}$",
            "type": "string",
            "description": "The symbol's or number's colour, \"#RRGGBB\"."
          },
          "background": {
            "pattern": "^#[0-9A-Fa-f]{6}$",
            "type": [
              "null",
              "string"
            ],
            "description": "The disc behind it, \"#RRGGBB\"; null for none."
          }
        },
        "description": "How the dashboard drew an achievement's icon (plan 21), kept so it can be edited and drawn again. Sent with the PNG it\ndrew (AchievementIconDto? SetAchievementIconRequest.Icon); an uploaded picture has none."
      },
      "AchievementIconStyle": {
        "type": "integer",
        "description": "How an achievement's icon was made (plan 21): drawn from a Material Symbol, or the goal as a number. The PNG the apps show is the same either way."
      },
      "AchievementProgressRequest": {
        "type": "object",
        "properties": {
          "increment": {
            "maximum": 1000000,
            "minimum": 1,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "progress": {
            "maximum": 1000000,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "at": {
            "type": [
              "null",
              "string"
            ],
            "description": "When it happened on the device (plan 21): an unlock is recorded at that time, never in the future and never more than\nint AchievementLimits.MaxBackdateYears years back. Null: now.",
            "format": "date-time"
          }
        },
        "description": "Progress towards an achievement: add int? AchievementProgressRequest.Increment, or set int? AchievementProgressRequest.Progress (it never goes down)."
      },
      "AchievementTextDto": {
        "required": [
          "languageCode",
          "name"
        ],
        "type": "object",
        "properties": {
          "languageCode": {
            "maxLength": 2,
            "minLength": 2,
            "type": "string",
            "description": "ISO 639-1, e.g. \"it\"."
          },
          "name": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string"
          },
          "description": {
            "maxLength": 500,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          }
        },
        "description": "An achievement's name and description in one language."
      },
      "AchievementUpdateDto": {
        "type": "object",
        "properties": {
          "justUnlocked": {
            "type": "boolean"
          },
          "key": {
            "type": "string"
          },
          "name": {
            "type": [
              "null",
              "string"
            ],
            "description": "Null for a hidden achievement the user has not unlocked yet."
          },
          "description": {
            "type": [
              "null",
              "string"
            ],
            "description": "Null for a hidden achievement the user has not unlocked yet."
          },
          "iconUrl": {
            "type": [
              "null",
              "string"
            ],
            "description": "Its icon, set in the dashboard; null if it has none, or while it is a hidden achievement the user has not unlocked."
          },
          "points": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "goal": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "The progress that unlocks it: 1 for a one-off achievement.",
            "format": "int32"
          },
          "hidden": {
            "type": "boolean"
          },
          "progress": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "unlocked": {
            "type": "boolean"
          },
          "unlockedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "updatedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the user's progress last changed; null when they have none (or there is no user yet).",
            "format": "date-time"
          },
          "unlockedPercent": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "The share of the app's users who unlocked it, 0 to 100: how rare it is.",
            "format": "double"
          }
        },
        "description": "The achievement after a call, and whether this call unlocked it (to celebrate)."
      },
      "AchievementWrite": {
        "required": [
          "key"
        ],
        "type": "object",
        "properties": {
          "key": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string"
          },
          "op": {
            "$ref": "#/components/schemas/AchievementWriteOp"
          },
          "value": {
            "maximum": 1000000,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Increment: how much (1 when null). Set: the progress (required). Unlock: none.",
            "format": "int32"
          },
          "at": {
            "type": [
              "null",
              "string"
            ],
            "description": "When it happened on the device; null: now. See DateTimeOffset? AchievementProgressRequest.At.",
            "format": "date-time"
          }
        },
        "description": "One queued change to an achievement, as the SDKs send them (plan 21)."
      },
      "AchievementWriteOp": {
        "type": "integer",
        "description": "What a queued write does to an achievement (plan 21, `v1/achievements/batch`)."
      },
      "AddContentItemRequest": {
        "type": "object",
        "properties": {
          "key": {
            "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]{0,127}$",
            "type": [
              "null",
              "string"
            ]
          },
          "value": {
            "$ref": "#/components/schemas/JsonElement"
          },
          "availableFrom": {
            "type": [
              "null",
              "string"
            ],
            "description": "When apps get it; null as soon as published.",
            "format": "date-time"
          }
        },
        "description": "An item to add to the draft; without a key, one is generated."
      },
      "AddConversationNoteRequest": {
        "required": [
          "text"
        ],
        "type": "object",
        "properties": {
          "text": {
            "maxLength": 2000,
            "minLength": 1,
            "type": "string"
          }
        },
        "description": "A note only the team sees (dashboard › Conversations › Note)."
      },
      "AddOnDto": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/AddOnKind"
          },
          "metric": {
            "type": "string"
          },
          "amount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "price": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "paddlePriceId": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "AddOnKind": {
        "type": "integer"
      },
      "AgentConversationStatsDto": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "replies": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "conversations": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Conversations they replied to in the period.",
            "format": "int32"
          },
          "assignedOpenNow": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Open conversations assigned to them now.",
            "format": "int32"
          }
        }
      },
      "AgeRating": {
        "type": "integer"
      },
      "AnswerSurveyRequest": {
        "type": "object",
        "properties": {
          "revision": {
            "maximum": 2147483647,
            "minimum": 1,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "The int SurveyDto.Revision the user answered.",
            "format": "int32"
          },
          "value": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Within the answer type's range ((int Min, int Max) SurveyAnswers.Range(SurveyAnswerType type)).",
            "format": "int32"
          },
          "comment": {
            "maxLength": 1000,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          }
        },
        "description": "An answer (`POST v1/surveys/{key}/answers`). The device's version and platform come with the request."
      },
      "AppCategory": {
        "type": "integer"
      },
      "AppConnectionDto": {
        "type": "object",
        "properties": {
          "connected": {
            "type": "boolean"
          },
          "hasUsers": {
            "type": "boolean",
            "description": "Connected, and a user was created: someone allowed something on the consent screen, or used a feature."
          },
          "environment": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/AppEnvironment"
              }
            ]
          },
          "platformName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The first user's platform; null before there is one."
          },
          "at": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        },
        "description": "Whether an app has talked to BeeAppie yet, in either environment: its first call with a key, or its first user. Its first\nuser is described when there is one, else its first call."
      },
      "AppConsentTextDto": {
        "type": "object",
        "properties": {
          "title": {
            "type": [
              "null",
              "string"
            ],
            "description": "Null: BeeAppie's title, in the device's language."
          },
          "message": {
            "type": [
              "null",
              "string"
            ],
            "description": "Null: BeeAppie's message, in the device's language."
          },
          "translations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ConsentScreenTextDto"
            }
          },
          "version": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "0 before the first save.",
            "format": "int32"
          },
          "revisions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ConsentTextRevisionDto"
            },
            "description": "Every saved version, newest first."
          }
        },
        "description": "The app's own title and message on the SDKs' consent screen, in place of BeeAppie's (both environments). The buttons,\n\"Choose what to share\" and the footnote always stay BeeAppie's. Every save is a new int AppConsentTextDto.Version, and the consent\nrecords of users who answered it name it."
      },
      "AppDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "companyId": {
            "type": "string"
          },
          "environment": {
            "$ref": "#/components/schemas/AppEnvironment"
          },
          "liveAppId": {
            "type": "string",
            "description": "The ids of this app's two environments; one of them is string AppDto.Id."
          },
          "testAppId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "hasIcon": {
            "type": "boolean",
            "description": "Whether an icon was uploaded: get it from `GET v1/manage/apps/{id}/icon`."
          },
          "platforms": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AppPlatformDto"
            },
            "description": "The platforms the app is published on; shared by both environments. May be empty."
          },
          "paused": {
            "type": "boolean",
            "description": "Paused (both environments): the SDK is refused until it is resumed. Data is kept."
          },
          "pausedByPlan": {
            "type": "boolean",
            "description": "Paused because the plan allows fewer apps, rather than by the owner: resumes on its own when the plan allows it."
          },
          "liveMaintenanceMessage": {
            "type": [
              "null",
              "string"
            ],
            "description": "Each environment's maintenance message (App status): while set, the SDKs report the app as down for maintenance."
          },
          "testMaintenanceMessage": {
            "type": [
              "null",
              "string"
            ]
          },
          "appKey": {
            "type": "string",
            "description": "The key the SDK sends in the X-App-Key header: `bak_live_…` or `bak_test_…`."
          },
          "previousKeyExpiresAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "While the key this one replaced still works, when it stops: released versions of the app contain it, so an update has\nto reach the users by then. Null otherwise.",
            "format": "date-time"
          },
          "countOpens": {
            "type": "boolean",
            "description": "Anonymous counts without consent and without an id: each open, with\nplatform, app version and country, and each device's first open of the day as an active install (new installs and\nweekly retention too), also for people who did not agree to statistics; users can opt out on the device. The dashboard\nasks for a Yes or No when an app is created; off when an API caller leaves it out (both environments)."
          },
          "anonymousCrashReports": {
            "type": "boolean",
            "description": "Anonymous error reports: errors and crashes of people who did not allow error reports arrive without any id,\nbreadcrumbs or properties, their messages scrubbed of names, email addresses and long numbers. Once someone allows\nerror reports, theirs are linked to them as usual. Off unless the team turns it on (both environments)."
          },
          "userData": {
            "type": "boolean",
            "description": "User data storage: the SDK may store small JSON items for each signed-in user (`v1/data/me`), within the plan's\nlimits. Off unless the team turns it on (both environments). Turned off, nothing is deleted, but the SDK can neither\nread nor write it."
          },
          "achievementsNeedConsent": {
            "type": "boolean",
            "description": "Achievements only with consent to usage statistics (plan 21): the SDK keeps unlocks and progress on the device and\nsends them once the user allows statistics, and BeeAppie refuses them before (`consent_required`). Off by default:\nachievements are sent as they happen (both environments)."
          },
          "mainLanguage": {
            "type": "string",
            "description": "The language (ISO 639-1) news, push notifications and polls are written in first; devices in other languages get an\nitem's translation into theirs when it has one (plan 22). Both environments."
          },
          "madeForKids": {
            "type": "boolean",
            "description": "The app is aimed at children: it never shows promos and is never promoted (both environments)."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "AppEnvironment": {
        "type": "integer",
        "description": "Every app has a live and a test environment, each with its own key and completely separate data. Test data is never\nbilled and has small fixed limits."
      },
      "AppLanguagesDto": {
        "type": "object",
        "properties": {
          "mainLanguage": {
            "type": "string"
          },
          "totalUsers": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "The environment's users with a known device language.",
            "format": "int32"
          },
          "users": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AppLanguageUsersDto"
            }
          },
          "translated": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Languages its news, push notifications, polls, surveys and achievements have translations in, most used first."
          }
        },
        "description": "The languages to offer when adding a translation to one of an app environment's items: its users' device languages, most\nusers first, and those its items already have translations in (plan 22)."
      },
      "AppLanguageUsersDto": {
        "type": "object",
        "properties": {
          "languageCode": {
            "type": "string"
          },
          "users": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "AppOverviewDto": {
        "type": "object",
        "properties": {
          "appId": {
            "type": "string"
          },
          "days": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "platform": {
            "type": [
              "null",
              "string"
            ],
            "description": "The platform the numbers are for, by name (e.g. \"iOS\"); null for all platforms. Top issues are then the ones reported\nfrom it (with all their reports), and the splits below stay across all platforms."
          },
          "monthlyActiveUsers": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Distinct users seen this calendar month (UTC): what the plan counts.",
            "format": "int32"
          },
          "totalUsers": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "activeUsers": {
            "description": "Distinct users who started a session or sent an event. Estimated beyond a few thousand users (within about 2%), like\nevery distinct-user count over a window; counts of sessions, events and crashes are exact.",
            "$ref": "#/components/schemas/OverviewMetric"
          },
          "newUsers": {
            "$ref": "#/components/schemas/OverviewMetric"
          },
          "sessions": {
            "$ref": "#/components/schemas/OverviewMetric"
          },
          "events": {
            "$ref": "#/components/schemas/OverviewMetric"
          },
          "crashes": {
            "$ref": "#/components/schemas/OverviewMetric"
          },
          "crashFreeUsers": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Share (0–1) of active users who did not crash over int AppOverviewDto.CrashFreeDays; null when there were no active users.",
            "format": "double"
          },
          "crashFreeDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "The days double? AppOverviewDto.CrashFreeUsers covers: the window, or its latest 90 days for a year or two.",
            "format": "int32"
          },
          "openConversations": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "openFeedback": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "daily": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OverviewDayDto"
            },
            "description": "One entry per UTC day of the window, oldest first."
          },
          "topIssues": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IssueGroupDto"
            },
            "description": "The open issues with the most reports in the window."
          },
          "openCrashGroups": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Open crash groups (not handled errors) seen in the window, all of them.",
            "format": "int32"
          },
          "recentConversations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ConversationDto"
            },
            "description": "The latest open support conversations; feedback has a list of its own."
          },
          "opens": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "description": "Anonymous app opens (everyone, including people who did not agree to statistics; opens, not distinct people), while\nthe app counts them (bool AppDto.CountOpens) or has counted some; otherwise null.",
                "$ref": "#/components/schemas/OverviewMetric"
              }
            ]
          },
          "opensByPlatform": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OpensShareDto"
            },
            "description": "The window's opens by platform, app version and country, most first (at most 5 each)."
          },
          "opensByVersion": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OpensShareDto"
            }
          },
          "opensByCountry": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OpensShareDto"
            }
          },
          "installs": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "description": "Active and new installs (everyone, counted without an id; installs, not people), while the app counts them\n(bool AppDto.CountOpens) or has counted some; otherwise null. With the platform filter, that platform's.",
                "$ref": "#/components/schemas/InstallsOverviewDto"
              }
            ]
          },
          "byPlatform": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SegmentNumbersDto"
            },
            "description": "The window's numbers per platform (all of them), app version and country (the 10 with the most users, or sessions\nwhen users are not known), most first; a value is empty when unknown. A user active on two platforms counts in both."
          },
          "byVersion": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SegmentNumbersDto"
            }
          },
          "byCountry": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SegmentNumbersDto"
            }
          }
        },
        "description": "An app environment's key numbers over the last int AppOverviewDto.Days days, for the dashboard's overview page. Each\nOverviewMetric also has the value for the int AppOverviewDto.Days days before, to show the trend."
      },
      "AppPlatformDto": {
        "type": "object",
        "properties": {
          "platformId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "platformName": {
            "type": "string"
          },
          "bundleId": {
            "type": [
              "null",
              "string"
            ]
          },
          "storeUrl": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "description": "A platform the app is published on. Optional: the SDK works without it. It provides the bundle id that sign-in\ntokens (e.g. Sign in with Apple) are issued for, and the store link for rating and update prompts."
      },
      "AppRetentionDto": {
        "type": "object",
        "properties": {
          "appId": {
            "type": "string",
            "description": "The live app."
          },
          "planName": {
            "type": "string"
          },
          "settings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RetentionSettingDto"
            }
          }
        },
        "description": "How long the app (both environments; the test app keeps its few days) keeps its users' data: what the team chose, at most\nwhat the plan keeps. For App settings › Data retention and the privacy policy draft."
      },
      "AppStatusDto": {
        "type": "object",
        "properties": {
          "updateRequired": {
            "type": "boolean",
            "description": "This version is older than the platform's minimum and the team requires the update: the user must update to keep using\nthe app (UpdatePrompt AppStatusDto.Prompt is UpdatePrompt.Require)."
          },
          "updateAvailable": {
            "type": "boolean",
            "description": "A newer version is in the store."
          },
          "prompt": {
            "description": "What to show for this version: nothing, a dismissible suggestion, or a blocking screen.",
            "$ref": "#/components/schemas/UpdatePrompt"
          },
          "remindAfterHours": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "With UpdatePrompt.Recommend: hours before asking again once dismissed (0: at every launch).",
            "format": "int32"
          },
          "minimumVersion": {
            "type": [
              "null",
              "string"
            ]
          },
          "latestVersion": {
            "type": [
              "null",
              "string"
            ]
          },
          "storeUrl": {
            "type": [
              "null",
              "string"
            ],
            "description": "Where to update: the platform's store link from the app settings."
          },
          "maintenanceMessage": {
            "type": [
              "null",
              "string"
            ],
            "description": "Set while the app is down for maintenance."
          }
        }
      },
      "AppStatusSettingsDto": {
        "type": "object",
        "properties": {
          "maintenanceMessage": {
            "type": [
              "null",
              "string"
            ],
            "description": "Shown instead of the app while set, e.g. \"Back at 18:00 UTC\". Each environment has its own. Read only here: set it\nwith PUT v1/manage/remote-config/status/maintenance."
          },
          "maintenanceStartedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When maintenance was turned on; null while it is off.",
            "format": "date-time"
          },
          "platforms": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlatformVersionsDto"
            }
          }
        },
        "description": "Which versions of the app may still be used, per platform, and whether it is down for maintenance."
      },
      "AppSummaryDto": {
        "type": "object",
        "properties": {
          "appId": {
            "type": "string",
            "description": "The live environment's id, as the app list gives it."
          },
          "totalUsers": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "activeUsers": {
            "description": "Distinct active users over the last 7 days and the 7 before; estimated beyond a few thousand, like the overview's.",
            "$ref": "#/components/schemas/OverviewMetric"
          },
          "activeInstalls": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "description": "Distinct installs that opened the app over the last 7 days and the 7 before, counted without an id for everyone\n(InstallsOverviewDto? AppOverviewDto.Installs); null when the app doesn't count them and didn't recently.",
                "$ref": "#/components/schemas/OverviewMetric"
              }
            ]
          }
        },
        "description": "An app's headline numbers for the dashboard's app list, from its live environment."
      },
      "AssignConversationRequest": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "AudienceCountDto": {
        "type": "object",
        "properties": {
          "users": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Users who match on at least one of their devices.",
            "format": "int32"
          },
          "pushDevices": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Their devices that can get push notifications (with a push token).",
            "format": "int32"
          },
          "complete": {
            "type": "boolean",
            "description": "False when the app has more devices than one count looks at: the numbers are then a lower bound."
          }
        }
      },
      "AudienceCountRequest": {
        "type": "object",
        "properties": {
          "audience": {
            "$ref": "#/components/schemas/TargetAudience"
          },
          "segment": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/SegmentCriteriaDto"
              }
            ]
          }
        },
        "description": "Who an announcement, push notification or remote config rule would reach, to check a segment before using it."
      },
      "AutoReplyMode": {
        "type": "integer",
        "description": "When support chat answers by itself: always to a new conversation, or only outside the team's hours."
      },
      "AvailabilityDto": {
        "type": "object",
        "properties": {
          "signUpsOpen": {
            "type": "boolean"
          },
          "freePlanOpen": {
            "type": "boolean"
          },
          "promosAvailable": {
            "type": "boolean"
          },
          "promoCreditsOnSale": {
            "type": "boolean"
          },
          "aiAvailable": {
            "type": "boolean"
          },
          "referrals": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ReferralTermsDto"
              }
            ]
          }
        }
      },
      "BreadcrumbDto": {
        "type": "object",
        "properties": {
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "category": {
            "type": "string",
            "description": "\"navigation\", \"lifecycle\", \"event\", \"network\", \"issue\" or the app's own."
          },
          "message": {
            "type": "string"
          }
        },
        "description": "One step of the activity trail sent with an issue report."
      },
      "BreakdownRow": {
        "type": "object",
        "properties": {
          "value": {
            "type": "string"
          },
          "count": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "users": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "BusinessHoursDto": {
        "type": "object",
        "properties": {
          "timeZone": {
            "maxLength": 64,
            "minLength": 0,
            "type": "string",
            "description": "An IANA time zone, e.g. \"Europe/Rome\"."
          },
          "days": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DayOfWeek"
            },
            "description": "The days the team works."
          },
          "start": {
            "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
            "type": "string",
            "description": "\"09:00\"."
          },
          "end": {
            "pattern": "^([01]\\d|2[0-4]):[0-5]\\d$",
            "type": "string",
            "description": "\"18:00\"."
          }
        },
        "description": "When the team answers chats, in a time zone."
      },
      "ChatIconDto": {
        "type": "object",
        "properties": {
          "mode": {
            "description": "What the team chose; kept on Free, where BeeAppie's is shown instead.",
            "$ref": "#/components/schemas/ChatIconMode"
          },
          "url": {
            "type": [
              "null",
              "string"
            ],
            "description": "The chosen picture; null for BeeAppie's."
          },
          "canChange": {
            "type": "boolean",
            "description": "False on Free: only BeeAppie's icon is shown, whatever is chosen."
          },
          "appHasIcon": {
            "type": "boolean",
            "description": "Whether the app has an icon to use for ChatIconMode.AppIcon."
          }
        },
        "description": "The picture next to an app's automated chat messages (both environments)."
      },
      "ChatIconMode": {
        "type": "integer",
        "description": "The picture next to automated chat messages."
      },
      "CloseSessionRequest": {
        "type": "object",
        "properties": {
          "endedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the session ended, if not now: the last moment the app was in use before it was killed.",
            "format": "date-time"
          }
        }
      },
      "CommunicationDto": {
        "required": [
          "title",
          "content"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "content": {
            "type": "string"
          },
          "contentType": {
            "$ref": "#/components/schemas/ContentType"
          },
          "communicationType": {
            "$ref": "#/components/schemas/CommunicationType"
          },
          "priority": {
            "$ref": "#/components/schemas/CommunicationPriority"
          },
          "requireAcknowledgment": {
            "type": "boolean"
          },
          "imageUrl": {
            "type": [
              "null",
              "string"
            ],
            "format": "uri"
          },
          "actionUrl": {
            "type": [
              "null",
              "string"
            ],
            "format": "uri"
          },
          "actionText": {
            "maxLength": 100,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "targetAudience": {
            "$ref": "#/components/schemas/TargetAudience"
          },
          "segment": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/SegmentCriteriaDto"
              }
            ]
          },
          "publishedAt": {
            "type": "string",
            "format": "date-time"
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "totalViewed": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalAcknowledged": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pushNotificationId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The push notification sent with it, if any."
          },
          "pushOpensCommunication": {
            "type": "boolean",
            "description": "Tapping the push notification opens the communication in the app."
          },
          "translations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CommunicationTextDto"
            },
            "description": "Dashboard only: the texts in other languages. The SDK gets the device's language in the fields above."
          },
          "hasViewed": {
            "type": "boolean"
          },
          "hasAcknowledged": {
            "type": "boolean"
          }
        }
      },
      "CommunicationLanguageStatsDto": {
        "type": "object",
        "properties": {
          "languageCode": {
            "type": "string"
          },
          "users": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "viewedUsers": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "acknowledgedUsers": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "clickedUsers": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "CommunicationPriority": {
        "type": "integer"
      },
      "CommunicationStatsDto": {
        "type": "object",
        "properties": {
          "communicationId": {
            "type": "string"
          },
          "totalUsers": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "usersAllowingStatistics": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Recipients who allow usage statistics: views and clicks are recorded only for them, and their rates are of them.",
            "format": "int32"
          },
          "viewedUsers": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "viewRate": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "acknowledgedUsers": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "acknowledgmentRate": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "clickedUsers": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "clickRate": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "languages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CommunicationLanguageStatsDto"
            },
            "description": "The same counts by device language, most users first; \"\" for users whose language is not known."
          }
        }
      },
      "CommunicationTextDto": {
        "required": [
          "languageCode"
        ],
        "type": "object",
        "properties": {
          "languageCode": {
            "maxLength": 2,
            "minLength": 2,
            "type": "string",
            "description": "ISO 639-1, e.g. \"it\"."
          },
          "title": {
            "maxLength": 255,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "content": {
            "type": [
              "null",
              "string"
            ]
          },
          "actionText": {
            "maxLength": 100,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CommunicationType": {
        "type": "integer"
      },
      "ComponentStatus": {
        "type": "integer"
      },
      "ComponentStatusDto": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/ComponentStatus"
          },
          "uptime": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "dailyUptime": {
            "type": "array",
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
              "type": [
                "null",
                "number",
                "string"
              ],
              "format": "double"
            }
          }
        }
      },
      "ConfigParameterDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/ConfigValueType"
          },
          "defaultValue": {
            "type": "string",
            "description": "JSON text, e.g. `true`, `3.5`, `\"Summer sale\"` or `{\"color\":\"red\"}`."
          },
          "rules": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ConfigRuleDto"
            }
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "ConfigPreviewDto": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "value": {
            "type": "string",
            "description": "The value, as JSON."
          },
          "rule": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "The rule that gave it, from 1; null for the default.",
            "format": "int32"
          },
          "ruleName": {
            "type": [
              "null",
              "string"
            ]
          },
          "explanation": {
            "type": "string"
          }
        },
        "description": "What a parameter gives one user, and why (GET v1/manage/remote-config/preview)."
      },
      "ConfigRuleDto": {
        "required": [
          "value"
        ],
        "type": "object",
        "properties": {
          "name": {
            "maxLength": 100,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "segment": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/SegmentCriteriaDto"
              }
            ]
          },
          "rolloutPercent": {
            "maximum": 100,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "value": {
            "type": "string",
            "description": "JSON text of the parameter's type."
          }
        },
        "description": "Gives string ConfigRuleDto.Value to the users it applies to: those in SegmentCriteriaDto? ConfigRuleDto.Segment (everyone when null), and of those,\nint ConfigRuleDto.RolloutPercent of them, always the same ones for a parameter."
      },
      "ConfigValueType": {
        "type": "integer",
        "description": "What a remote config parameter holds. A feature flag is a ConfigValueType.Boolean."
      },
      "ConsentDto": {
        "type": "object",
        "properties": {
          "eventPermission": {
            "type": "boolean"
          },
          "issuesPermission": {
            "type": "boolean"
          },
          "sessionPermission": {
            "type": "boolean"
          },
          "textVersion": {
            "maxLength": 64,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ],
            "description": "The version of the consent wording the user saw, kept with the choice as evidence of what they agreed to. Change it\nwhen you change the wording; compare it to ask again. The SDKs' ready-made screens send their own."
          },
          "isSet": {
            "type": "boolean",
            "description": "False when the user has never given consent."
          }
        }
      },
      "ConsentScreenDto": {
        "type": "object",
        "properties": {
          "title": {
            "type": [
              "null",
              "string"
            ]
          },
          "message": {
            "type": [
              "null",
              "string"
            ]
          },
          "version": {
            "type": "string",
            "description": "The texts' saved version, e.g. \"app-3\"."
          }
        },
        "description": "The consent screen's texts as the app's team wrote them. A text left null shows BeeAppie's. The ready-made screens record\n`{their consent text version}+{Version}` with a choice made on it, e.g. \"beeappie-2+app-3\"."
      },
      "ConsentScreenTextDto": {
        "required": [
          "languageCode"
        ],
        "type": "object",
        "properties": {
          "languageCode": {
            "maxLength": 2,
            "minLength": 2,
            "type": "string",
            "description": "ISO 639-1, e.g. \"it\"."
          },
          "title": {
            "maxLength": 60,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "message": {
            "maxLength": 400,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ConsentTextRevisionDto": {
        "type": "object",
        "properties": {
          "version": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "label": {
            "type": "string",
            "description": "What the SDKs add to the consent's text version, e.g. \"app-3\"."
          },
          "title": {
            "type": [
              "null",
              "string"
            ]
          },
          "message": {
            "type": [
              "null",
              "string"
            ]
          },
          "translations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ConsentScreenTextDto"
            }
          },
          "savedBy": {
            "type": [
              "null",
              "string"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "ContentCollectionDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "version": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "The live version; 0 when never published (apps get nothing yet).",
            "format": "int32"
          },
          "liveItems": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "liveBytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "draftItems": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "The same once the draft is published.",
            "format": "int32"
          },
          "draftBytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "draftChanges": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Items added, changed or removed in the draft: 0 when the draft is what is live.",
            "format": "int32"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "publishedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "publishedBy": {
            "type": [
              "null",
              "string"
            ]
          },
          "canUndo": {
            "type": "boolean",
            "description": "The last publish can be undone (no draft changes, and its earlier values are still kept)."
          },
          "disabled": {
            "type": "boolean",
            "description": "Turned off by BeeAppie (abuse): apps get nothing until it is turned on again."
          },
          "disabledReason": {
            "type": [
              "null",
              "string"
            ]
          },
          "nextAvailableAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the next live item scheduled for later becomes available to apps; null when none is.",
            "format": "date-time"
          }
        }
      },
      "ContentDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "version": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "The published version: one more at each publish.",
            "format": "int32"
          },
          "token": {
            "type": "string",
            "description": "Opaque: the collection and version, sent back as `since` next time."
          },
          "full": {
            "type": "boolean",
            "description": "The items are all of them: the device replaces its copy. Otherwise they are the ones added or changed since, and\nList&lt;string&gt; ContentDto.Removed the keys removed since (empty when nothing changed)."
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContentEntryDto"
            }
          },
          "removed": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "nextAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the next scheduled item becomes available (docs/plans/25-content-release-dates.md); null when none is. Says\nonly that something arrives then, never what: ask again after it.",
            "format": "date-time"
          }
        },
        "description": "A remote content collection as an app gets it (`GET v1/content/{name}?since=`):\neverything (bool ContentDto.Full), or what changed since the version the device has. The SDK keeps string ContentDto.Token with\nits copy and sends it back as `since`."
      },
      "ContentEntryDto": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/JsonElement"
          }
        },
        "description": "An item: any JSON value under its key; what it holds is up to the app."
      },
      "ContentFieldDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "count": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "kinds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "description": "A field the items have: in how many, and as which JSON kinds (string, number, boolean, object, array, null)."
      },
      "ContentImportFormat": {
        "type": "integer"
      },
      "ContentImportMode": {
        "type": "integer"
      },
      "ContentImportRequest": {
        "required": [
          "text"
        ],
        "type": "object",
        "properties": {
          "format": {
            "$ref": "#/components/schemas/ContentImportFormat"
          },
          "text": {
            "type": "string"
          },
          "keyField": {
            "maxLength": 100,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ],
            "description": "Json and Csv: the field holding each item's key (kept in the item too). Without it, keys are generated — except in\nContentImportMode.Update, which needs one to match items."
          },
          "mode": {
            "$ref": "#/components/schemas/ContentImportMode"
          },
          "preview": {
            "type": "boolean",
            "description": "Only check and describe it: nothing is saved."
          }
        }
      },
      "ContentImportResultDto": {
        "type": "object",
        "properties": {
          "items": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Items read from the text.",
            "format": "int32"
          },
          "added": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "What it does to the draft compared with what is live (as ContentPublishPreviewDto), had it been saved.",
            "format": "int32"
          },
          "changed": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "removed": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "unchanged": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "fields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContentFieldDto"
            }
          },
          "sample": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContentItemDto"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Problems that stop it (a broken line, an item too large, over a limit): with any, nothing is saved."
          },
          "applied": {
            "type": "boolean",
            "description": "Saved into the draft (not a preview, no errors)."
          },
          "collection": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ContentCollectionDto"
              }
            ]
          }
        }
      },
      "ContentItemDto": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "value": {
            "description": "The draft's value; for a ContentItemState.Removed item, the live one.",
            "$ref": "#/components/schemas/JsonElement"
          },
          "state": {
            "$ref": "#/components/schemas/ContentItemState"
          },
          "bytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "availableFrom": {
            "type": [
              "null",
              "string"
            ],
            "description": "When apps get it (the draft's time; for a removed item, the live one): null as soon as published. Before it, apps\ndon't receive the item or its key (docs/plans/25-content-release-dates.md).",
            "format": "date-time"
          }
        }
      },
      "ContentItemsPageDto": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContentItemDto"
            }
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ContentItemState": {
        "type": "integer",
        "description": "An item as the draft has it compared with what is live."
      },
      "ContentModelsDto": {
        "type": "object",
        "properties": {
          "fields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContentFieldDto"
            }
          },
          "code": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        },
        "description": "The model of the collection's items in each SDK's language, from the fields the draft's items have (a field missing in\nsome is optional), with the call that reads it. Keys: csharp, kotlin, swift, dart, typescript, unity."
      },
      "ContentOverviewDto": {
        "type": "object",
        "properties": {
          "collections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContentCollectionDto"
            }
          },
          "bytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "All collections' draft sizes together (what they will be once published), against long ContentOverviewDto.MaxBytes.",
            "format": "int64"
          },
          "maxBytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "0 means unlimited, as the limits below.",
            "format": "int64"
          },
          "maxCollections": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "maxItemBytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "transferKbThisMonth": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "The company's downloads this month (KB as sent), against its allowance in KB (0: unlimited); a minute behind.",
            "format": "int64"
          },
          "transferKbPerMonth": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          }
        },
        "description": "An app environment's collections with its plan's limits, for the dashboard's Content page."
      },
      "ContentPublishPreviewDto": {
        "type": "object",
        "properties": {
          "added": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "changed": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "removed": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "scheduled": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Items that, once published, are not available yet, and when the first of them is.",
            "format": "int32"
          },
          "nextAvailableAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "takenBack": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Items apps have now that would move to a later time: apps lose them until then (and devices behind this publish\ndownload everything once).",
            "format": "int32"
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContentWarningDto"
            }
          }
        },
        "description": "What publishing the draft would do, with the warnings about its items."
      },
      "ContentType": {
        "type": "integer"
      },
      "ContentVersionDto": {
        "type": "object",
        "properties": {
          "version": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "publishedAt": {
            "type": "string",
            "format": "date-time"
          },
          "publishedBy": {
            "type": "string"
          },
          "added": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "changed": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "removed": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "undoOf": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "The version this publish undid, if it is an undo.",
            "format": "int32"
          }
        }
      },
      "ContentWarningDto": {
        "type": "object",
        "properties": {
          "kind": {
            "$ref": "#/components/schemas/ContentWarningKind"
          },
          "field": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "keys": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "A few of the items it is about."
          }
        },
        "description": "A hint about the draft's items; never stops a save or a publish."
      },
      "ContentWarningKind": {
        "type": "integer"
      },
      "ConversationDeviceDto": {
        "type": "object",
        "properties": {
          "platform": {
            "type": [
              "null",
              "string"
            ],
            "description": "E.g. \"iOS\"; null when the device never said."
          },
          "osVersion": {
            "type": [
              "null",
              "string"
            ]
          },
          "deviceModel": {
            "type": [
              "null",
              "string"
            ]
          },
          "appVersion": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "description": "A device as it was when a conversation was started."
      },
      "ConversationDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "userId": {
            "type": [
              "null",
              "string"
            ]
          },
          "username": {
            "type": [
              "null",
              "string"
            ]
          },
          "assignedAgentId": {
            "type": [
              "null",
              "string"
            ]
          },
          "status": {
            "$ref": "#/components/schemas/ConversationStatus"
          },
          "type": {
            "$ref": "#/components/schemas/ConversationType"
          },
          "title": {
            "type": [
              "null",
              "string"
            ]
          },
          "lastMessage": {
            "type": [
              "null",
              "string"
            ]
          },
          "lastMessageAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "unreadCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "topic": {
            "type": [
              "null",
              "string"
            ],
            "description": "The conversation's topic (its key, see ConversationTopicDto); null for a general one."
          },
          "topicName": {
            "type": [
              "null",
              "string"
            ]
          },
          "newForAssignee": {
            "type": "boolean",
            "description": "Management API only: assigned to someone by a teammate, and not opened by them since."
          },
          "searchMatch": {
            "type": [
              "null",
              "string"
            ],
            "description": "Management API only, when searching: the part of the latest matching message around the words; null when something else matched."
          },
          "startedOn": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "description": "Management API only: the device the user started it from. Null when the team started it.",
                "$ref": "#/components/schemas/ConversationDeviceDto"
              }
            ]
          },
          "platforms": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Management API only: the platforms the user wrote from (names such as \"iOS\"), in the order of the platform list."
          },
          "category": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/FeedbackCategory"
              }
            ]
          },
          "rating": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ConversationStatsDto": {
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "format": "date-time"
          },
          "to": {
            "type": "string",
            "format": "date-time"
          },
          "timeZone": {
            "type": "string",
            "description": "The zone the days are counted in: the company's, or UTC."
          },
          "new": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Conversations started in the period.",
            "format": "int32"
          },
          "resolved": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Conversations resolved in the period (and not reopened since).",
            "format": "int32"
          },
          "replies": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Messages the team sent to users in the period; automatic replies and team-only notes are not counted.",
            "format": "int32"
          },
          "medianFirstReplyMinutes": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Median time from a conversation starting to the team's first reply, over those started in the period and answered; null if none.",
            "format": "double"
          },
          "unanswered": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Started in the period and not answered by the team yet.",
            "format": "int32"
          },
          "openNow": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Waiting for the team now: open, whenever they started.",
            "format": "int32"
          },
          "unassignedNow": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Of int ConversationStatsDto.OpenNow, those nobody is assigned to.",
            "format": "int32"
          },
          "team": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AgentConversationStatsDto"
            },
            "description": "Who replied in the period, most replies first."
          }
        },
        "description": "How support chat went over a period (DateTimeOffset ConversationStatsDto.From to DateTimeOffset ConversationStatsDto.To), plus where it stands now."
      },
      "ConversationStatus": {
        "type": "integer"
      },
      "ConversationTopicDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "handlerIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The team members who handle it: it is in their \"My topics\" view."
          }
        },
        "description": "What a conversation is about, e.g. Billing, so the people who handle it find it. Both environments of an app share them.\nApps pass the string ConversationTopicDto.Key when starting a conversation."
      },
      "ConversationTopicOptionDto": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "description": "What the app passes in string? CreateConversationRequest.Topic."
          },
          "name": {
            "type": "string"
          }
        },
        "description": "A topic as the app sees it, for a picker when the user starts a conversation."
      },
      "ConversationType": {
        "type": "integer"
      },
      "CountryDto": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "ISO 3166-1 alpha-2, e.g. \"IT\"."
          },
          "name": {
            "type": "string"
          }
        }
      },
      "CreateConversationRequest": {
        "type": "object",
        "properties": {
          "title": {
            "maxLength": 150,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "topic": {
            "maxLength": 50,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ],
            "description": "One of the app's topics (its key, set up in the dashboard's chat settings), so the right people see the conversation.\nAn unknown key starts a general conversation rather than failing."
          }
        }
      },
      "CreatePromoRequest": {
        "required": [
          "appId"
        ],
        "type": "object",
        "properties": {
          "appId": {
            "type": "string",
            "description": "The app to promote (either environment's id). It may have several promos, up to the plan's number per app."
          },
          "name": {
            "maxLength": 30,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ],
            "description": "The team's name for it (e.g. \"Summer\"); users never see it."
          }
        }
      },
      "DayOfWeek": {
        "type": "integer"
      },
      "DeviceDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "platformName": {
            "type": [
              "null",
              "string"
            ]
          },
          "appVersion": {
            "type": [
              "null",
              "string"
            ]
          },
          "osVersion": {
            "type": [
              "null",
              "string"
            ]
          },
          "deviceModel": {
            "type": [
              "null",
              "string"
            ]
          },
          "deviceManufacturer": {
            "type": [
              "null",
              "string"
            ]
          },
          "sdkVersion": {
            "type": [
              "null",
              "string"
            ]
          },
          "hasPushToken": {
            "type": "boolean",
            "description": "Whether the device has a push token."
          },
          "pushOptedOut": {
            "type": "boolean",
            "description": "The user turned BeeAppie's notifications off in the app on this device."
          },
          "pushPermission": {
            "$ref": "#/components/schemas/PushPermission"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "lastSeenAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "EntitlementDto": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Null: for good. The SDK stops counting it after this time, also offline.",
            "format": "date-time"
          }
        },
        "description": "An entitlement the current user has, e.g. \"pro\". It is one way to have access, next to the app's own store purchases:\ncheck both, and never take away what a store purchase gives because this list does not have it."
      },
      "EntitlementsDto": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string"
          },
          "entitlements": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EntitlementDto"
            }
          }
        },
        "description": "The current user's entitlements: only active ones."
      },
      "EntitlementSource": {
        "type": "integer",
        "description": "Where a user's entitlement comes from. Each source is its own grant: revoking one leaves the others."
      },
      "EntityTagHeaderValue": {
        "type": "object",
        "properties": {
          "tag": {
            "$ref": "#/components/schemas/StringSegment"
          },
          "isWeak": {
            "type": "boolean"
          }
        }
      },
      "EventDayDto": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "count": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "users": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "sessions": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Distinct sessions the event was sent in (events sent outside a session are not counted here).",
            "format": "int32"
          }
        },
        "description": "One event on one UTC day."
      },
      "EventGroupStatus": {
        "type": "integer"
      },
      "FeedbackCategory": {
        "type": "integer"
      },
      "FeedbackDto": {
        "type": "object",
        "properties": {
          "conversationId": {
            "type": "string",
            "description": "The conversation that holds it: reply and resolve through the conversation endpoints."
          },
          "appId": {
            "type": "string"
          },
          "userId": {
            "type": [
              "null",
              "string"
            ]
          },
          "username": {
            "type": [
              "null",
              "string"
            ]
          },
          "category": {
            "$ref": "#/components/schemas/FeedbackCategory"
          },
          "surveyId": {
            "type": [
              "null",
              "string"
            ],
            "description": "Sent as a low answer to this feature survey, with a comment; null for the feedback form's."
          },
          "rating": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "message": {
            "type": "string"
          },
          "hasScreenshot": {
            "type": "boolean"
          },
          "screenshotMessageId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The message holding the screenshot, if any: fetch it from the conversation's message image endpoint."
          },
          "status": {
            "description": "Closed means resolved.",
            "$ref": "#/components/schemas/ConversationStatus"
          },
          "unreadCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "appVersion": {
            "type": [
              "null",
              "string"
            ]
          },
          "platformName": {
            "type": [
              "null",
              "string"
            ]
          },
          "osVersion": {
            "type": [
              "null",
              "string"
            ]
          },
          "deviceModel": {
            "type": [
              "null",
              "string"
            ]
          },
          "languageCode": {
            "type": [
              "null",
              "string"
            ]
          },
          "writtenAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the user wrote it, when that was before it arrived (DateTimeOffset FeedbackDto.CreatedAt): written offline.",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "lastMessageAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        },
        "description": "A feedback, as the team sees it."
      },
      "FeedbackNotifications": {
        "type": "integer",
        "description": "When the team is emailed about feedback on an app environment."
      },
      "FeedbackSettingsDto": {
        "type": "object",
        "properties": {
          "notifications": {
            "$ref": "#/components/schemas/FeedbackNotifications"
          }
        }
      },
      "FileContentResult": {
        "type": "string",
        "format": "binary"
      },
      "FileResult": {
        "type": "object",
        "properties": {
          "contentType": {
            "type": "string"
          },
          "fileDownloadName": {
            "type": [
              "null",
              "string"
            ]
          },
          "lastModified": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "entityTag": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/EntityTagHeaderValue"
              }
            ]
          },
          "enableRangeProcessing": {
            "type": "boolean"
          }
        }
      },
      "FunnelDto": {
        "type": "object",
        "properties": {
          "steps": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FunnelStepDto"
            }
          }
        }
      },
      "FunnelRequest": {
        "type": "object",
        "properties": {
          "steps": {
            "maxItems": 5,
            "minItems": 2,
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "days": {
            "maximum": 90,
            "minimum": 1,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Users who did the first step in the last this many days (1–90).",
            "format": "int32"
          }
        },
        "description": "Up to five events in order, e.g. \"tutorial_started\", \"tutorial_done\", \"purchase\"."
      },
      "FunnelStepDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "users": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        },
        "description": "How many users did this step after all the previous ones, in order."
      },
      "GrantEntitlementRequest": {
        "type": "object",
        "properties": {
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "note": {
            "maxLength": 500,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ],
            "description": "For the team, e.g. \"Bought on Google Play, order GPA.1234\". Not shown in the app; it is in the user's data export."
          }
        },
        "description": "Grants the entitlement until DateTimeOffset? GrantEntitlementRequest.ExpiresAt, or for good. Granting it again replaces the expiry and the note."
      },
      "IdentifyUserRequest": {
        "required": [
          "token"
        ],
        "type": "object",
        "properties": {
          "token": {
            "maxLength": 8000,
            "minLength": 0,
            "type": "string",
            "description": "The id token from Sign in with Apple, Google, Firebase…, or a token signed by your backend."
          }
        },
        "description": "Signs the current device in with a token from the app's login SDK."
      },
      "IdentityProviderKind": {
        "type": "integer",
        "description": "Where an app's users sign in. BeeAppie verifies the id tokens these providers issue on the device."
      },
      "IncidentDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "impact": {
            "$ref": "#/components/schemas/IncidentImpact"
          },
          "status": {
            "$ref": "#/components/schemas/IncidentStatus"
          },
          "components": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "resolvedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "updates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IncidentUpdateDto"
            }
          }
        }
      },
      "IncidentImpact": {
        "type": "integer"
      },
      "IncidentStatus": {
        "type": "integer"
      },
      "IncidentUpdateDto": {
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/IncidentStatus"
          },
          "message": {
            "type": "string"
          },
          "at": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "InitUserRequest": {
        "type": "object",
        "properties": {
          "deviceId": {
            "type": [
              "null",
              "string"
            ]
          },
          "deviceSecret": {
            "type": [
              "null",
              "string"
            ]
          },
          "rolloutBucket": {
            "maximum": 99,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "The install's rollout bucket (int? InstallContext.Bucket), kept for a new user so nothing flips when it is created.",
            "format": "int32"
          },
          "username": {
            "maxLength": 100,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "email": {
            "maxLength": 100,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "countryCode": {
            "maxLength": 2,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "languageCode": {
            "maxLength": 2,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "appVersion": {
            "maxLength": 50,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "platformCode": {
            "maxLength": 50,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ],
            "description": "Platform name as reported by the runtime, e.g. \"iOS\", \"Android\", \"MacCatalyst\", \"WinUI\"."
          },
          "osVersion": {
            "maxLength": 50,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "deviceModel": {
            "maxLength": 100,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "deviceManufacturer": {
            "maxLength": 100,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          }
        },
        "description": "Creates a new user with a new device, or restores the device's user when both string? InitUserRequest.DeviceId and\nstring? InitUserRequest.DeviceSecret are provided."
      },
      "InitUserResponse": {
        "type": "object",
        "properties": {
          "user": {
            "$ref": "#/components/schemas/UserDto"
          },
          "deviceId": {
            "type": "string",
            "description": "The device the token was issued for."
          },
          "token": {
            "type": "string"
          },
          "tokenExpiresAt": {
            "type": "string",
            "format": "date-time"
          },
          "deviceSecret": {
            "type": [
              "null",
              "string"
            ],
            "description": "Returned only when the device is created. The SDK must store it securely on the device, with\nstring InitUserResponse.DeviceId: both are required to restore the user later, and the secret cannot be retrieved again."
          },
          "showBranding": {
            "type": "boolean",
            "description": "The SDK's built-in pages show \"Powered by BeeAppie\" (the Free plan)."
          },
          "consent": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "description": "The user's current consent, as GET /v1/users/me/consent returns it: the SDK needs it at every start.",
                "$ref": "#/components/schemas/ConsentDto"
              }
            ]
          }
        }
      },
      "InstallCohortDto": {
        "type": "object",
        "properties": {
          "weekStart": {
            "type": "string",
            "description": "The Monday (UTC) of the week the installs were first counted.",
            "format": "date-time"
          },
          "installs": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Installs first counted that week; 0 when bool InstallCohortDto.TooFew.",
            "format": "int64"
          },
          "activeByWeek": {
            "type": "array",
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Installs active in week 0 (the first), 1, 2…, up to now; all 0 when bool InstallCohortDto.TooFew."
          },
          "tooFew": {
            "type": "boolean",
            "description": "Some installs, but fewer than int InstallRetentionDto.MinCohortSize: the numbers are left out."
          }
        }
      },
      "InstallRetentionDto": {
        "type": "object",
        "properties": {
          "cohorts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InstallCohortDto"
            }
          }
        },
        "description": "Weekly cohorts of installs (InstallsOverviewDto? AppOverviewDto.Installs): new installs each week and how many came back."
      },
      "InstallReturnsDto": {
        "type": "object",
        "properties": {
          "regulars": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Opened the day before too.",
            "format": "int64"
          },
          "everyFewDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "2–7 days before.",
            "format": "int64"
          },
          "occasional": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "8–30 days before.",
            "format": "int64"
          },
          "afterAMonth": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "More than 30 days before (or first counted, see DateTime? InstallsOverviewDto.CountingSince).",
            "format": "int64"
          }
        },
        "description": "A window's first opens of the day, by the gap since the install's previous one (new installs aside)."
      },
      "InstallShareDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The platform or version; empty when the app did not say."
          },
          "averageDaily": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Active installs per day over the window, rounded.",
            "format": "int64"
          },
          "new": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          }
        }
      },
      "InstallsOverviewDto": {
        "type": "object",
        "properties": {
          "today": {
            "description": "Today (UTC) against yesterday.",
            "$ref": "#/components/schemas/OverviewMetric"
          },
          "active": {
            "description": "Distinct installs over the last int InstallsOverviewDto.ActiveDays days, against the same number of days before.",
            "$ref": "#/components/schemas/OverviewMetric"
          },
          "activeDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "The overview's window, or its last 30 days when the window is longer than int InstallsOverviewDto.MaxDistinctDays.",
            "format": "int32"
          },
          "last7Days": {
            "description": "Distinct installs over the last 7 days, against the 7 before.",
            "$ref": "#/components/schemas/OverviewMetric"
          },
          "new": {
            "description": "Over the window, against the period before.",
            "$ref": "#/components/schemas/OverviewMetric"
          },
          "averageDaily": {
            "description": "Active installs per day over the window, rounded.",
            "$ref": "#/components/schemas/OverviewMetric"
          },
          "opensPerActiveInstall": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "The window's opens per daily active install; null without any.",
            "format": "double"
          },
          "returns": {
            "description": "The window's daily counts, by how long ago each install had last opened the app.",
            "$ref": "#/components/schemas/InstallReturnsDto"
          },
          "countingSince": {
            "type": [
              "null",
              "string"
            ],
            "description": "The first day anything was counted. Within 31 days of it, long InstallReturnsDto.AfterAMonth also holds\ninstalls counted for the first time (installed before the app counted).",
            "format": "date-time"
          },
          "byPlatform": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InstallShareDto"
            },
            "description": "All platforms, most first."
          },
          "byVersion": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InstallShareDto"
            },
            "description": "The 10 versions with the most active installs, most first; empty name when unknown."
          }
        },
        "description": "Installs that opened the app, counted once per install per day without an id, for everyone (consent changes nothing).\nDistinct installs over a window are exact for up to int InstallsOverviewDto.MaxDistinctDays days."
      },
      "IssueBreakdownsDto": {
        "type": "object",
        "properties": {
          "appVersions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BreakdownRow"
            }
          },
          "osVersions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BreakdownRow"
            }
          },
          "devices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BreakdownRow"
            }
          },
          "countries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BreakdownRow"
            }
          },
          "builds": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BreakdownRow"
            },
            "description": "\"1.0.1 (5)\": version and build number."
          },
          "when": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BreakdownRow"
            },
            "description": "string IssueBreakdownsDto.WhenOnLaunch (under int IssueBreakdownsDto.OnLaunchSeconds s), string IssueBreakdownsDto.WhenFirstMinute, string IssueBreakdownsDto.WhenLater."
          },
          "visibility": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BreakdownRow"
            },
            "description": "string IssueBreakdownsDto.Foreground or string IssueBreakdownsDto.Background."
          },
          "freeMemory": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BreakdownRow"
            },
            "description": "Memory still available: under 256 MB, under 512 MB, under 1 GB, more."
          },
          "deviceMemory": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BreakdownRow"
            },
            "description": "The device's RAM: 2 GB or less, 3–4 GB, 6–8 GB, 12 GB or more (as phones are sold; the system reports a bit less)."
          },
          "lowMemory": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BreakdownRow"
            },
            "description": "string IssueBreakdownsDto.Yes: the system said memory was low."
          },
          "freeStorage": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BreakdownRow"
            },
            "description": "Free storage: under 100 MB, under 500 MB, under 2 GB, more."
          },
          "installers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BreakdownRow"
            },
            "description": "The installer as sent (string? IssueContextDto.Installer)."
          },
          "orientations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BreakdownRow"
            },
            "description": "string IssueContextDto.Portrait or string IssueContextDto.Landscape."
          },
          "emulators": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BreakdownRow"
            },
            "description": "string IssueBreakdownsDto.Yes for emulators and simulators."
          },
          "rooted": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BreakdownRow"
            },
            "description": "string IssueBreakdownsDto.Yes for rooted or jailbroken devices."
          },
          "screenClasses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BreakdownRow"
            },
            "description": "By the screen's short side: string IssueBreakdownsDto.ScreenSmall (under 360 dp), string IssueBreakdownsDto.ScreenPhone, string IssueBreakdownsDto.ScreenLarge (600 dp or more: tablets, desktops)."
          },
          "screenSizes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BreakdownRow"
            },
            "description": "\"411×891\": the screen in dp or points, short side first."
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          }
        },
        "description": "How an issue's reports split by app version, OS, device and country (top values), and by the device's state when they\nhappened (IssueContextDto). A state list covers only the reports that sent that value (older SDKs send\nnone), so its counts can add up to less than long IssueBreakdownsDto.Total; its values are the keys below, for the dashboard to name."
      },
      "IssueContextDto": {
        "type": "object",
        "properties": {
          "appBuild": {
            "type": [
              "null",
              "string"
            ],
            "description": "The build number: Android `longVersionCode`, iOS `CFBundleVersion`, .NET `AppInfo.BuildString`."
          },
          "secondsSinceStart": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Seconds from the process starting to the issue.",
            "format": "int32"
          },
          "inForeground": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "The app was visible."
          },
          "memoryTotalMb": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "The device's RAM.",
            "format": "int32"
          },
          "memoryFreeMb": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Memory still available: Android `availMem`, iOS what the app may still use (`os_proc_available_memory`).",
            "format": "int32"
          },
          "lowMemory": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "The system said memory was low (Android `lowMemory`, iOS a memory warning in the last minute)."
          },
          "storageFreeMb": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Free space on the volume of the app's data.",
            "format": "int32"
          },
          "installer": {
            "type": [
              "null",
              "string"
            ],
            "description": "Where the app came from: Android the installer's package (`com.android.vending`…) or string IssueContextDto.Sideloaded;\nApple `app-store`, `testflight` or `development`; desktop `microsoft-store` or `mac-app-store`."
          },
          "orientation": {
            "type": [
              "null",
              "string"
            ],
            "description": "string IssueContextDto.Portrait or string IssueContextDto.Landscape."
          },
          "emulator": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "rooted": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Signs of a rooted or jailbroken device; only a likely sign."
          },
          "screenWidthDp": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "The screen's short side, in dp (Android) or points (Apple).",
            "format": "int32"
          },
          "screenHeightDp": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "The screen's long side, in dp or points.",
            "format": "int32"
          },
          "screenDensity": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Pixels per dp or point.",
            "format": "double"
          },
          "osVersion": {
            "type": [
              "null",
              "string"
            ],
            "description": "The OS version when it happened (the OS may have been updated before the report was sent); wins over the report's."
          }
        },
        "description": "The device's state when an issue happened. Every field is optional: the SDK leaves out what it couldn't read. None of it\nidentifies the user or the device."
      },
      "IssueDayDto": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "crashes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "errors": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          }
        },
        "description": "An app's crash and error reports on one UTC day."
      },
      "IssueFrameDto": {
        "type": "object",
        "properties": {
          "line": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "The frame's line in string? ReportIssueRequest.StackTrace (0 is the first), an \"   at …\" line.",
            "format": "int32"
          },
          "module": {
            "type": "string",
            "description": "The assembly's MVID (`Module.ModuleVersionId`), 32 hex digits (\"N\")."
          },
          "token": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "The method's metadata token (`MethodBase.MetadataToken`).",
            "format": "int32"
          },
          "offset": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "The IL offset in the method (`StackFrame.GetILOffset()`); frames without one are not sent.",
            "format": "int32"
          }
        },
        "description": "One .NET stack frame of an issue report: where it is in the text, and what finds its line in the `.pdb`."
      },
      "IssueGroupDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "firstSeen": {
            "type": "string",
            "format": "date-time"
          },
          "lastSeen": {
            "type": "string",
            "format": "date-time"
          },
          "count": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "numberOfUsers": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Distinct users: anonymous reports (long? IssueGroupDto.AnonymousReports) are not among them.",
            "format": "int32"
          },
          "anonymousReports": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Of long IssueGroupDto.Count, the reports sent anonymously (no user). Only on a single issue.",
            "format": "int64"
          },
          "status": {
            "$ref": "#/components/schemas/IssueStatus"
          },
          "notes": {
            "type": [
              "null",
              "string"
            ]
          },
          "isCrash": {
            "type": "boolean"
          },
          "kind": {
            "$ref": "#/components/schemas/IssueKind"
          },
          "firstVersion": {
            "type": [
              "null",
              "string"
            ],
            "description": "The app version of the first report."
          },
          "lastVersion": {
            "type": [
              "null",
              "string"
            ],
            "description": "The app version of the latest report."
          },
          "resolvedInVersion": {
            "type": [
              "null",
              "string"
            ],
            "description": "For a resolved issue: the version with the fix. Reports from older versions do not reopen it."
          },
          "onLaunch": {
            "type": "boolean",
            "description": "At least half of the last int IssueBreakdownsDto.OnLaunchDays days' reports that say when they happened came\nwithin int IssueBreakdownsDto.OnLaunchSeconds seconds of the app starting."
          }
        }
      },
      "IssueKind": {
        "type": "integer"
      },
      "IssueReportDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "groupId": {
            "type": "string"
          },
          "userId": {
            "type": [
              "null",
              "string"
            ]
          },
          "exceptionType": {
            "type": [
              "null",
              "string"
            ]
          },
          "message": {
            "type": "string"
          },
          "stackTrace": {
            "type": [
              "null",
              "string"
            ]
          },
          "properties": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "string"
            }
          },
          "appVersion": {
            "type": [
              "null",
              "string"
            ]
          },
          "language": {
            "type": [
              "null",
              "string"
            ]
          },
          "country": {
            "type": [
              "null",
              "string"
            ]
          },
          "osVersion": {
            "type": [
              "null",
              "string"
            ]
          },
          "device": {
            "type": [
              "null",
              "string"
            ]
          },
          "deviceModel": {
            "type": [
              "null",
              "string"
            ]
          },
          "deviceManufacturer": {
            "type": [
              "null",
              "string"
            ]
          },
          "isCrash": {
            "type": "boolean"
          },
          "kind": {
            "$ref": "#/components/schemas/IssueKind"
          },
          "source": {
            "type": [
              "null",
              "string"
            ]
          },
          "targetSite": {
            "type": [
              "null",
              "string"
            ]
          },
          "innerExceptionType": {
            "type": [
              "null",
              "string"
            ]
          },
          "innerMessage": {
            "type": [
              "null",
              "string"
            ]
          },
          "method": {
            "type": [
              "null",
              "string"
            ]
          },
          "breadcrumbs": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/BreadcrumbDto"
            }
          },
          "mapId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The R8 mapping an Android release build's stack trace needs, or the UUID of the iOS or macOS binary whose symbols it\nneeds; null if it needs neither."
          },
          "deobfuscated": {
            "type": "boolean",
            "description": "False with a string? IssueReportDto.MapId: its mapping or symbols were not uploaded, so the stack trace is still obfuscated (or,\nfrom Apple platforms, shows offsets instead of the app's functions)."
          },
          "detailsTrimmed": {
            "type": "boolean",
            "description": "Counted, without its details: the issue already had a full report with the same message and stack trace that week, or\nits full reports that day (the first 25)."
          },
          "timestamp": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "context": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "description": "The device's state when it happened; null when the SDK sent none. Kept on trimmed reports too.",
                "$ref": "#/components/schemas/IssueContextDto"
              }
            ]
          }
        }
      },
      "IssueStatus": {
        "type": "integer"
      },
      "JoinWaitlistRequest": {
        "required": [
          "email"
        ],
        "type": "object",
        "properties": {
          "email": {
            "maxLength": 256,
            "minLength": 0,
            "type": "string"
          }
        }
      },
      "JsonElement": { },
      "LanguageDto": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "ISO 639-1, e.g. \"it\"."
          },
          "name": {
            "type": "string"
          }
        }
      },
      "LinkedConversationDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": [
              "null",
              "string"
            ]
          },
          "status": {
            "$ref": "#/components/schemas/ConversationStatus"
          },
          "userId": {
            "type": "string"
          },
          "username": {
            "type": [
              "null",
              "string"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "lastMessageAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        },
        "description": "A support conversation linked to an issue through its user."
      },
      "MaintenanceNoticeDto": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "scope": {
            "$ref": "#/components/schemas/MaintenanceScope"
          },
          "startsAt": {
            "type": "string",
            "format": "date-time"
          },
          "endsAt": {
            "type": "string",
            "format": "date-time"
          },
          "inProgress": {
            "type": "boolean"
          }
        }
      },
      "MaintenanceScope": {
        "type": "integer"
      },
      "ManagedAchievementDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "points": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "goal": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "hidden": {
            "type": "boolean"
          },
          "sortOrder": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "iconUrl": {
            "type": [
              "null",
              "string"
            ],
            "description": "Its icon, public (as apps show it); null if none was uploaded."
          },
          "icon": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "description": "How the icon was made in the dashboard, to edit it again; null for an uploaded picture or none.",
                "$ref": "#/components/schemas/AchievementIconDto"
              }
            ]
          },
          "translations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AchievementTextDto"
            },
            "description": "Its name and description in other languages; apps get the one for the device's language."
          },
          "unlockedCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "How many users unlocked it.",
            "format": "int32"
          },
          "unlockedLast30Days": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "How many users unlocked it in the last 30 days.",
            "format": "int32"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "ManagedEntitlementDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "activeCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "How many users have it now (grants not expired).",
            "format": "int32"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "MappingFileDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "appId": {
            "type": "string",
            "description": "The app it belongs to (its live environment's id): only that app's crashes use it."
          },
          "mapId": {
            "type": "string",
            "description": "The id R8 gave the build (`pg_map_id`), or the Apple binary's UUID; both are written in stack traces."
          },
          "format": {
            "$ref": "#/components/schemas/MappingFormat"
          },
          "binaryName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Apple symbols: the binary (\"ShopApp\") and its architecture (\"arm64\")."
          },
          "arch": {
            "type": [
              "null",
              "string"
            ]
          },
          "applicationId": {
            "type": [
              "null",
              "string"
            ]
          },
          "appVersion": {
            "type": [
              "null",
              "string"
            ]
          },
          "sizeBytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "classCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Classes in an R8 mapping; functions in Apple symbols.",
            "format": "int32"
          },
          "verified": {
            "type": "boolean",
            "description": "Checked against its id (R8 mappings): it is the build's own. Others can't be checked."
          },
          "uploadedBy": {
            "type": [
              "null",
              "string"
            ],
            "description": "The key or team member that uploaded it."
          },
          "uploadedAt": {
            "type": "string",
            "format": "date-time"
          },
          "lastUsedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When it was last needed (a report, a build, its version's sessions); null if not yet.",
            "format": "date-time"
          }
        },
        "description": "An uploaded file to read release stack traces: an R8 mapping of an Android release, or the symbols of an iOS or macOS\nbinary from its dSYM."
      },
      "MappingFormat": {
        "type": "integer",
        "description": "What a MappingFileDto holds."
      },
      "MappingStatusDto": {
        "type": "object",
        "properties": {
          "setups": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The `MappingSetups` of the SDKs the app's devices used lately, most devices first; empty when unknown."
          },
          "waiting": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MappingWaitDto"
            },
            "description": "Reports of the last 30 days still waiting for a file, by kind of file and app version, newest first."
          }
        },
        "description": "What one app's crashes need from uploads: the build setups of the SDKs its devices use, and its reports still waiting for a\nfile, so the dashboard shows only what applies."
      },
      "MappingStorageDto": {
        "type": "object",
        "properties": {
          "usedBytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "files": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "limitMb": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "The plan's storage (`PlanLimitsDto.MaxSymbolStorageMb`); 0 means unlimited.",
            "format": "int32"
          },
          "retentionDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Days a file is kept unused (`PlanLimitsDto.SymbolRetentionDays`); 0 means forever.",
            "format": "int32"
          },
          "keptBuilds": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "The newest builds of each kind, per app, kept however long unused.",
            "format": "int32"
          }
        },
        "description": "What the company's crash symbols take, and what its plan allows."
      },
      "MappingWaitDto": {
        "type": "object",
        "properties": {
          "format": {
            "description": "The file they need. MappingFormat.DotNetLines reports already show names, only no line numbers.",
            "$ref": "#/components/schemas/MappingFormat"
          },
          "appVersion": {
            "type": [
              "null",
              "string"
            ]
          },
          "platform": {
            "type": [
              "null",
              "string"
            ],
            "description": "The platform's name (e.g. \"Android\"), when the reports said."
          },
          "reports": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "lastAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "description": "An app version's reports waiting for one kind of file."
      },
      "MessageDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "conversationId": {
            "type": "string"
          },
          "agentId": {
            "type": [
              "null",
              "string"
            ]
          },
          "messageType": {
            "$ref": "#/components/schemas/MessageType"
          },
          "username": {
            "type": [
              "null",
              "string"
            ],
            "description": "Display name of the sender: the agent's username for agent messages."
          },
          "text": {
            "type": [
              "null",
              "string"
            ]
          },
          "avatarUrl": {
            "type": [
              "null",
              "string"
            ],
            "description": "The picture to show next to the message, from a public URL that never changes (cache it): the team member's photo,\nor the app's icon for automated messages. Null: initials from string? MessageDto.Username for the team, the BeeAppie\nicon for automated (MessageType.System) messages. Always null for the user's own messages."
          },
          "hasImage": {
            "type": "boolean"
          },
          "isRead": {
            "type": "boolean"
          },
          "isInternal": {
            "type": "boolean",
            "description": "Management API only: a note only the team sees, e.g. who assigned the conversation. Never sent to the app."
          },
          "platform": {
            "type": [
              "null",
              "string"
            ],
            "description": "User messages sent from the app: the platform (e.g. \"iOS\") and app version of the device it came from."
          },
          "appVersion": {
            "type": [
              "null",
              "string"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "MessageType": {
        "type": "integer"
      },
      "MissingMappingsDto": {
        "type": "object",
        "properties": {
          "missing": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "MissingMappingsRequest": {
        "required": [
          "ids"
        ],
        "type": "object",
        "properties": {
          "ids": {
            "maxItems": 1000,
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "OpensShareDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The platform, version or country code; empty when the app did not say."
          },
          "opens": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          }
        }
      },
      "OverviewDayDto": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "activeUsers": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "newUsers": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "sessions": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "crashes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "opens": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Anonymous opens (OverviewMetric? AppOverviewDto.Opens).",
            "format": "int64"
          },
          "activeInstalls": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Installs that opened the app that day (InstallsOverviewDto? AppOverviewDto.Installs).",
            "format": "int64"
          },
          "newInstalls": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          }
        }
      },
      "OverviewMetric": {
        "type": "object",
        "properties": {
          "value": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "previous": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          }
        }
      },
      "PlanDto": {
        "required": [
          "key",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "key": {
            "maxLength": 50,
            "minLength": 0,
            "pattern": "^[a-z0-9-]+$",
            "type": "string"
          },
          "version": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "superseded": {
            "type": "boolean"
          },
          "name": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string"
          },
          "description": {
            "maxLength": 500,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "isPublic": {
            "type": "boolean"
          },
          "isActive": {
            "type": "boolean"
          },
          "openToNewCustomers": {
            "type": "boolean"
          },
          "sortOrder": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "monthlyPrice": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "yearlyPrice": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "pricesReadAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "paddleMonthlyPriceId": {
            "maxLength": 50,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "paddleYearlyPriceId": {
            "maxLength": 50,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "limits": {
            "$ref": "#/components/schemas/PlanLimitsDto"
          },
          "features": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "PlanLimitsDto": {
        "type": "object",
        "properties": {
          "maxApps": {
            "maximum": 2147483647,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "maxAgents": {
            "maximum": 2147483647,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "maxMonthlyActiveUsers": {
            "maximum": 2147483647,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "hardUserLimit": {
            "type": "boolean"
          },
          "maxOveragePercent": {
            "maximum": 1000,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "maxMessagesPerMonth": {
            "maximum": 2147483647,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "maxPushesPerMonth": {
            "maximum": 2147483647,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "maxEventsPerMonth": {
            "maximum": 2147483647,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "dataRetentionDays": {
            "maximum": 2147483647,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "issueReportDays": {
            "maximum": 2147483647,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "rawAnalyticsDays": {
            "maximum": 90,
            "minimum": 1,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "chatRetentionDays": {
            "maximum": 2147483647,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "maxUserDataStorageMb": {
            "maximum": 2147483647,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "maxSymbolStorageMb": {
            "maximum": 2147483647,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "symbolRetentionDays": {
            "maximum": 3650,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "maxUserDataPerUserKb": {
            "maximum": 2147483647,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "maxUserDataItemsPerUser": {
            "maximum": 2147483647,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "maxUserDataItemKb": {
            "maximum": 2147483647,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "maxPushAutomationsPerApp": {
            "maximum": 2147483647,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "maxLiveSurveysPerApp": {
            "maximum": 2147483647,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "maxContentKbPerApp": {
            "maximum": 2147483647,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "maxContentCollectionsPerApp": {
            "maximum": 2147483647,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "maxContentItemKb": {
            "maximum": 2147483647,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "contentTransferMbPerMonth": {
            "maximum": 2147483647,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "maxPromosPerApp": {
            "maximum": 2147483647,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "maxUserPacks": {
            "maximum": 1000,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "maxAppPacks": {
            "maximum": 1000,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "maxSeatPacks": {
            "maximum": 1000,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "aiCreditsPerMonth": {
            "maximum": 1000000,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "maxRequestsPerMinute": {
            "maximum": 2147483647,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "maxRequestsPerMonth": {
            "maximum": 2147483647,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PlatformDto": {
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "PlatformVersionsDto": {
        "type": "object",
        "properties": {
          "platformId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "platformName": {
            "type": "string"
          },
          "minimumVersion": {
            "maxLength": 50,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ],
            "description": "Older versions must update before they can be used."
          },
          "latestVersion": {
            "maxLength": 50,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ],
            "description": "The newest version in the store: older ones are told an update is available."
          },
          "storeUrl": {
            "type": [
              "null",
              "string"
            ],
            "description": "From the app's platform settings; where the update prompt sends the user."
          },
          "belowMinimum": {
            "description": "Below the minimum: suggest the update, or block the app until it is done.",
            "$ref": "#/components/schemas/UpdatePrompt"
          },
          "remindBelowLatest": {
            "type": "boolean",
            "description": "Below the latest version (and not below the minimum): suggest the update, or say nothing."
          },
          "remindEvery": {
            "description": "How often a suggestion comes back once dismissed.",
            "$ref": "#/components/schemas/UpdateReminder"
          },
          "confirmFullRollout": {
            "type": "boolean",
            "description": "Saving UpdatePrompt.Require with a minimum: the team confirms that version is available to everyone in\nthe store (no staged rollout still going on), so nobody is blocked without a way to update. Not stored."
          }
        }
      },
      "PollDto": {
        "required": [
          "title"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "title": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "selectionType": {
            "$ref": "#/components/schemas/PollSelectionType"
          },
          "status": {
            "description": "Closed once DateTimeOffset? PollDto.EndsAt has passed, even if not closed by hand.",
            "$ref": "#/components/schemas/PollStatus"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "releasedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "startsAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Not shown in the app before this; null: from its release.",
            "format": "date-time"
          },
          "endsAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When voting closes by itself; null: when closed by hand.",
            "format": "date-time"
          },
          "platformIds": {
            "type": "array",
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int16"
            },
            "description": "Management only: shown only on these platforms (ids: 1 iOS, 2 Android, 3 Web, 4 Windows, 5 macOS, 6 Linux, 7 Other); empty: all."
          },
          "voteCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Management only, in lists: how many users have voted.",
            "format": "int32"
          },
          "options": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PollOptionDto"
            }
          },
          "translations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PollTextDto"
            },
            "description": "Management only: the texts in other languages. The SDK gets the device's language in the fields above."
          },
          "hasVoted": {
            "type": "boolean",
            "description": "SDK only: whether the current user has already voted."
          }
        }
      },
      "PollOptionDto": {
        "required": [
          "text"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "text": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string"
          },
          "isOther": {
            "type": "boolean",
            "description": "A free-text \"Other\" option."
          },
          "order": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PollOptionResultDto": {
        "type": "object",
        "properties": {
          "optionId": {
            "type": "string"
          },
          "text": {
            "type": "string"
          },
          "voteCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "otherTexts": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "PollResultDto": {
        "type": "object",
        "properties": {
          "pollId": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "totalVotes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "options": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PollOptionResultDto"
            }
          },
          "splitBy": {
            "type": [
              "null",
              "string"
            ],
            "description": "Management only: the user property the votes are split by (e.g. \"plan\"), when asked for."
          },
          "groups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PollResultGroupDto"
            },
            "description": "The votes for each value of string? PollResultDto.SplitBy, most votes first; users without it are in a group with no value."
          }
        }
      },
      "PollResultGroupDto": {
        "type": "object",
        "properties": {
          "value": {
            "type": [
              "null",
              "string"
            ]
          },
          "totalVotes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "options": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PollOptionResultDto"
            },
            "description": "The votes per option, in the poll's order (no \"Other\" texts)."
          }
        }
      },
      "PollSelectionType": {
        "type": "integer"
      },
      "PollStatus": {
        "type": "integer"
      },
      "PollTextDto": {
        "required": [
          "languageCode"
        ],
        "type": "object",
        "properties": {
          "languageCode": {
            "maxLength": 2,
            "minLength": 2,
            "type": "string",
            "description": "ISO 639-1, e.g. \"it\"."
          },
          "title": {
            "maxLength": 255,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "options": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The options' texts in the poll's order (as sent in `Options`); null or missing: the main text."
          }
        }
      },
      "ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": [
              "null",
              "string"
            ]
          },
          "title": {
            "type": [
              "null",
              "string"
            ]
          },
          "status": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "detail": {
            "type": [
              "null",
              "string"
            ]
          },
          "instance": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PromoAdvertiserBreakdownDto": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "description": "The promo id, country code, platform id or format."
          },
          "name": {
            "type": "string"
          },
          "views": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "creditedViews": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "taps": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          }
        }
      },
      "PromoAdvertiserDayDto": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "views": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "creditedViews": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "taps": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "spentViews": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          }
        }
      },
      "PromoAdvertiserFormatDto": {
        "type": "object",
        "properties": {
          "promoId": {
            "type": "string"
          },
          "slot": {
            "$ref": "#/components/schemas/PromoSlot"
          },
          "views": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "creditedViews": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "taps": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          }
        },
        "description": "One promo in one format in other companies' apps."
      },
      "PromoAdvertiserStatsDto": {
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "description": "The first and last UTC day, at midnight.",
            "format": "date-time"
          },
          "to": {
            "type": "string",
            "format": "date-time"
          },
          "views": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "creditedViews": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "taps": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "spentViews": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Credits used, in views (1 credit = 100 views): what the ledger booked, less refunds.",
            "format": "int64"
          },
          "days": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PromoAdvertiserDayDto"
            },
            "description": "Every day of the range, oldest first."
          },
          "promos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PromoAdvertiserBreakdownDto"
            },
            "description": "By promo, most views first."
          },
          "countries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PromoAdvertiserBreakdownDto"
            },
            "description": "By country (ISO code; empty when unknown), most views first."
          },
          "platforms": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PromoAdvertiserBreakdownDto"
            }
          },
          "formats": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PromoAdvertiserBreakdownDto"
            },
            "description": "By format: banner, card, fullscreen."
          },
          "promoFormats": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PromoAdvertiserFormatDto"
            },
            "description": "By promo and format, to see which promo works in which format."
          }
        },
        "description": "The company's promos in other companies' apps, as their advertiser: summed over the apps that showed them, which are never\nnamed. Views are what was shown; credited views are those paid for with credits (within the hosts' limits)."
      },
      "PromoAppCreditsDto": {
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "description": "The first and last UTC day, at midnight.",
            "format": "date-time"
          },
          "to": {
            "type": "string",
            "format": "date-time"
          },
          "totals": {
            "description": "The whole company, including what isn't about one app (bought, granted, expired).",
            "$ref": "#/components/schemas/PromoCreditTotalsDto"
          },
          "apps": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PromoAppCreditsRowDto"
            },
            "description": "The apps with credit changes in the range, in the apps the caller can see."
          }
        },
        "description": "The company's credits over a range of UTC days (in views: 1 credit = 100 views): what came in and went out, and per app\nwhat it earned by showing the network's promos and what its promo used in other apps. From the credit history, by the\nday a change is about (the day it was booked when it isn't about one)."
      },
      "PromoAppCreditsRowDto": {
        "type": "object",
        "properties": {
          "appId": {
            "type": "string",
            "description": "The app's live environment."
          },
          "earnedViews": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Earned, less what staff took back.",
            "format": "int64"
          },
          "pendingViews": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Of long PromoAppCreditsRowDto.EarnedViews, what isn't available yet (earnings wait 14 days, 7 with a clean history).",
            "format": "int64"
          },
          "reversedViews": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Earnings staff took back (e.g. fake views), as a positive number.",
            "format": "int64"
          },
          "spentViews": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Used by the app's promo in other apps, less refunds.",
            "format": "int64"
          }
        }
      },
      "PromoBatchDto": {
        "type": "object",
        "properties": {
          "promos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServedPromoDto"
            },
            "description": "Empty when there is nothing to show: the promo view collapses."
          },
          "refreshSeconds": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "When to ask again, at the latest, even if some are left.",
            "format": "int32"
          },
          "fullscreenIntervalMinutes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "The fewest minutes between two fullscreen promos in this app.",
            "format": "int32"
          }
        },
        "description": "Promos for one slot: the SDK rotates through them and keeps them for offline use until it asks again."
      },
      "PromoCampaignDto": {
        "type": "object",
        "properties": {
          "promoId": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "appName": {
            "type": "string",
            "description": "The promoted app's name, with the promo's in brackets when it has one."
          },
          "networkStatus": {
            "$ref": "#/components/schemas/PromoNetworkStatus"
          },
          "networkPaused": {
            "type": "boolean"
          },
          "hasCampaign": {
            "type": "boolean"
          },
          "budgetViews": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "The most views it pays for in all (1 credit = 100 views); null: no budget.",
            "format": "int64"
          },
          "dailyViews": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "The most views it pays for in a UTC day; null: no daily cap.",
            "format": "int64"
          },
          "startsOn": {
            "type": [
              "null",
              "string"
            ],
            "description": "The first and last UTC day, at midnight; null: from now, and with no end.",
            "format": "date-time"
          },
          "endsOn": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "platformIds": {
            "type": "array",
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int16"
            },
            "description": "Only on these platforms; empty: all of List&lt;short&gt; PromoCampaignDto.StorePlatformIds."
          },
          "storePlatformIds": {
            "type": "array",
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int16"
            },
            "description": "The platforms the app has a usable store link for: the only ones the promo is ever shown on, whatever the campaign\nsays (an Android-only app is never shown on iOS)."
          },
          "countries": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Only in these countries (ISO codes); empty: everywhere."
          },
          "spentViews": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Views paid for since the campaign counts (its start, or the day it was made), and today.",
            "format": "int64"
          },
          "todayViews": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "state": {
            "$ref": "#/components/schemas/PromoCampaignState"
          }
        },
        "description": "A promo's campaign: limits and targeting for its views in other developers' apps, which use credits. Without one\n(bool PromoCampaignDto.HasCampaign false) it is shown everywhere it may be, within the company's daily share of its credits."
      },
      "PromoCampaignsDto": {
        "type": "object",
        "properties": {
          "open": {
            "type": "boolean"
          },
          "promos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PromoCampaignDto"
            },
            "description": "Its promos asking for or on the network, with their campaign if any."
          }
        },
        "description": "The company's network promos with their campaigns. Only while BeeAppie sells promo credits and\nthe company is on the network; otherwise bool PromoCampaignsDto.Open is false and the list empty."
      },
      "PromoCampaignState": {
        "type": "integer",
        "description": "Where a promo's campaign is now."
      },
      "PromoContentTags": {
        "type": "integer",
        "description": "Content some apps don't want to promote: once promos are shown in other companies' apps, hosts block these unless\nthey choose them. Real-money gambling is never accepted."
      },
      "PromoCreditTotalsDto": {
        "type": "object",
        "properties": {
          "earnedViews": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Earned, less what staff took back.",
            "format": "int64"
          },
          "pendingViews": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Of long PromoCreditTotalsDto.EarnedViews, what isn't available yet.",
            "format": "int64"
          },
          "boughtViews": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "grantedViews": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "From BeeAppie: starting grants and staff's (less what staff took).",
            "format": "int64"
          },
          "spentViews": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Used by the company's promos in other apps, less refunds.",
            "format": "int64"
          },
          "expiredViews": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "reversedViews": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Earnings staff took back (already left out of long PromoCreditTotalsDto.EarnedViews).",
            "format": "int64"
          }
        },
        "description": "Credits in and out over the range, each as a positive number of views."
      },
      "PromoDestinationDto": {
        "type": "object",
        "properties": {
          "platformId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "platformName": {
            "type": "string"
          },
          "storeUrl": {
            "type": [
              "null",
              "string"
            ]
          },
          "problem": {
            "type": [
              "null",
              "string"
            ],
            "description": "Why the link can't be used (not a store listing, missing), or null when promos lead there."
          }
        },
        "description": "A platform's store link, and whether promos can use it."
      },
      "PromoDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "appId": {
            "type": "string",
            "description": "The promoted app (its live environment)."
          },
          "appName": {
            "type": "string"
          },
          "name": {
            "type": [
              "null",
              "string"
            ],
            "description": "The team's name for it, to tell the app's promos apart; users never see it."
          },
          "weight": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "How often it comes up compared with the app's other promos, 1 to 10.",
            "format": "int32"
          },
          "platformIds": {
            "type": "array",
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int16"
            },
            "description": "Only on these platforms (ids, see List&lt;PromoDestinationDto&gt; PromoDto.Destinations), in your apps and on the network; empty: all with a store link."
          },
          "paused": {
            "type": "boolean",
            "description": "Paused by the team: not shown, nothing else changes."
          },
          "suspended": {
            "type": "boolean",
            "description": "Taken down by BeeAppie (string? PromoDto.StaffNote says why): not shown until BeeAppie puts it back."
          },
          "staffNote": {
            "type": [
              "null",
              "string"
            ]
          },
          "live": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "description": "The approved version, shown in apps; null until one is approved.",
                "$ref": "#/components/schemas/PromoVersionDto"
              }
            ]
          },
          "draft": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "description": "Changes not approved yet: being edited, in review or rejected. Null when there are none.",
                "$ref": "#/components/schemas/PromoVersionDto"
              }
            ]
          },
          "destinations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PromoDestinationDto"
            },
            "description": "Where a tap leads on each platform: the app's store links (App settings), checked."
          },
          "networkStatus": {
            "description": "Whether it is shown in other companies' apps (the promo network), spending credits.",
            "$ref": "#/components/schemas/PromoNetworkStatus"
          },
          "networkNote": {
            "type": [
              "null",
              "string"
            ],
            "description": "The reviewer's note on joining the network."
          },
          "networkPaused": {
            "type": "boolean",
            "description": "On the network, but paused there by the team: shown in its own apps only."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "description": "A promo of one of the company's live apps, shown in its other apps. What users see is its PromoVersionDto? PromoDto.Live version,\napproved by BeeAppie; changes are made in PromoVersionDto? PromoDto.Draft and shown once approved."
      },
      "PromoEventDto": {
        "required": [
          "token"
        ],
        "type": "object",
        "properties": {
          "token": {
            "maxLength": 1000,
            "minLength": 0,
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/PromoEventKind"
          },
          "width": {
            "maximum": 100000,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "A view's size on screen in points, from the ready-made views; a view without it earns nothing.",
            "format": "int32"
          },
          "height": {
            "maximum": 100000,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "visiblePercent": {
            "maximum": 100,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "How much of it was on screen when the view counted, 0 to 100.",
            "format": "int32"
          }
        }
      },
      "PromoEventKind": {
        "type": "integer",
        "description": "What happened to a promo an app was given."
      },
      "PromoEventsRequest": {
        "required": [
          "session",
          "events"
        ],
        "type": "object",
        "properties": {
          "session": {
            "maxLength": 64,
            "minLength": 0,
            "type": "string",
            "description": "The random key the SDK made when the app started (kept in memory only), as sent when getting the promos."
          },
          "events": {
            "maxItems": 100,
            "minItems": 1,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PromoEventDto"
            }
          }
        },
        "description": "Views and taps of promos the app was given, sent in batches."
      },
      "PromoFreeHostingDto": {
        "type": "object",
        "properties": {
          "hostedViews": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Counted network views its apps showed over the last few full days (the dashboard says how many).",
            "format": "int64"
          },
          "dailyLimit": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "What its promos may get a day for them; 0 below the minimum the dashboard shows.",
            "format": "int64"
          },
          "shownToday": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          }
        },
        "description": "Free plan's \"show to be shown\": a Free company's promos get network views only for the network views its apps showed\n(over the last days, as the dashboard shows), in banner views."
      },
      "PromoImageDto": {
        "type": "object",
        "properties": {
          "kind": {
            "$ref": "#/components/schemas/PromoImageKind"
          },
          "url": {
            "type": "string",
            "description": "The largest size."
          },
          "width": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "height": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "sizes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PromoImageSizeDto"
            },
            "description": "Every size, smallest first."
          }
        },
        "description": "One of a promo's pictures, in the sizes BeeAppie made from the upload (public addresses, cached for good)."
      },
      "PromoImageKind": {
        "type": "integer",
        "description": "A promo's picture: its icon, or a ready-made picture for one slot."
      },
      "PromoImageSizeDto": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          },
          "width": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "height": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PromoLedgerEntryDto": {
        "type": "object",
        "properties": {
          "kind": {
            "$ref": "#/components/schemas/PromoLedgerKind"
          },
          "views": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Views added (positive) or taken (negative).",
            "format": "int64"
          },
          "appId": {
            "type": [
              "null",
              "string"
            ]
          },
          "appName": {
            "type": [
              "null",
              "string"
            ]
          },
          "date": {
            "type": [
              "null",
              "string"
            ],
            "description": "The UTC day it is about, at midnight, if any.",
            "format": "date-time"
          },
          "note": {
            "type": [
              "null",
              "string"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "availableAt": {
            "type": "string",
            "description": "When it counts in the balance (later than now while pending).",
            "format": "date-time"
          }
        }
      },
      "PromoLedgerKind": {
        "type": "integer",
        "description": "Why a company's promo credits changed."
      },
      "PromoLinkDto": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          },
          "appStoreId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The App Store's numeric id, to open the listing inside the app (iOS, macOS)."
          },
          "packageName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The Android package, to open Google Play directly."
          }
        },
        "description": "Where a tap leads: always the promoted app's store listing for the requesting platform."
      },
      "PromoNetworkDayDto": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "shownViews": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "shownCreditedViews": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Of long PromoNetworkDayDto.ShownViews, those that earned (within the limits per app run, address and day).",
            "format": "int64"
          },
          "shownTaps": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "promotedViews": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "promotedCreditedViews": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Of long PromoNetworkDayDto.PromotedViews, those paid for with credits.",
            "format": "int64"
          },
          "promotedTaps": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          }
        },
        "description": "A UTC day on the network: other companies' promos in the company's apps, and its promos in other apps."
      },
      "PromoNetworkDto": {
        "type": "object",
        "properties": {
          "member": {
            "type": "boolean",
            "description": "The company is on the network (BeeAppie invites companies while it grows): the rest is empty otherwise."
          },
          "availableViews": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Views its promos can still get in other apps.",
            "format": "int64"
          },
          "pendingViews": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Earned, not available yet: earnings wait 14 days (7 with a clean history) in case they have to be reversed.",
            "format": "int64"
          },
          "entries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PromoLedgerEntryDto"
            },
            "description": "The latest changes, newest first."
          },
          "days": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PromoNetworkDayDto"
            },
            "description": "The last 30 days, oldest first."
          },
          "creditSalesOpen": {
            "type": "boolean",
            "description": "BeeAppie sells promo credits now: the account owner can buy them (`PromoCreditSalesDto`)."
          },
          "freeHosting": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "description": "On Free, while BeeAppie requires it: what the company's apps showed and what its promos may get for it; else null.",
                "$ref": "#/components/schemas/PromoFreeHostingDto"
              }
            ]
          }
        },
        "description": "The company on the promo network: its credits (in views: 1 credit = 100 views), what changed them, and its network\nviews per day."
      },
      "PromoNetworkStatus": {
        "type": "integer",
        "description": "Where a promo is on the promo network (other companies' apps)."
      },
      "PromoPlacementDto": {
        "type": "object",
        "properties": {
          "appId": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean",
            "description": "Off: the app's promo views stay empty. Promos only appear where the app's code puts a promo view."
          },
          "bannersEnabled": {
            "type": "boolean",
            "description": "Each format on its own (with bool PromoPlacementDto.Enabled on): off, that format's promo views stay empty, e.g. banners but no\nfullscreen promos."
          },
          "cardsEnabled": {
            "type": "boolean"
          },
          "fullscreenEnabled": {
            "type": "boolean"
          },
          "excludedPromoIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Promos never shown in this app."
          },
          "fullscreenIntervalMinutes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "The fewest minutes between two fullscreen promos.",
            "format": "int32"
          },
          "madeForKids": {
            "type": "boolean",
            "description": "The app is made for kids: it never shows promos, whatever these settings say."
          },
          "showNetworkPromos": {
            "type": "boolean",
            "description": "Also show other companies' promos (the promo network), earning credits that show the company's own promos in other\napps. Only on the network (invited); a test environment shows them too, marked \"Test\", and nothing counts there."
          },
          "ownSharePercent": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "With the network on: the share of promos that are the company's own, when it has any.",
            "format": "int32"
          },
          "networkMaxAgeRating": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "description": "Network promos rated above this are not shown; null: up to 12+.",
                "$ref": "#/components/schemas/AgeRating"
              }
            ]
          },
          "blockedCategories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AppCategory"
            },
            "description": "Network promos of these categories are not shown."
          },
          "blockedTags": {
            "description": "Network promos with any of this content are not shown.",
            "$ref": "#/components/schemas/PromoContentTags"
          }
        },
        "description": "Whether and how an app environment shows the company's promos."
      },
      "PromoReportReason": {
        "type": "integer"
      },
      "PromoReportRequest": {
        "required": [
          "token",
          "session"
        ],
        "type": "object",
        "properties": {
          "token": {
            "maxLength": 1000,
            "minLength": 0,
            "type": "string"
          },
          "session": {
            "maxLength": 64,
            "minLength": 0,
            "type": "string"
          },
          "reason": {
            "$ref": "#/components/schemas/PromoReportReason"
          },
          "details": {
            "maxLength": 500,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          }
        },
        "description": "A user reported a promo (\"Report this promo\" on its label); BeeAppie staff look at it."
      },
      "PromoReviewStatus": {
        "type": "integer",
        "description": "Where a promo's version is in BeeAppie's review: only an approved version is ever shown."
      },
      "PromoSlot": {
        "type": "integer",
        "description": "The kind of space a promo fills in an app."
      },
      "PromoStatRowDto": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "description": "The UTC day, at midnight.",
            "format": "date-time"
          },
          "showingAppId": {
            "type": "string",
            "description": "The app environment the promo was shown in."
          },
          "promoId": {
            "type": "string"
          },
          "slot": {
            "$ref": "#/components/schemas/PromoSlot"
          },
          "platformId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "views": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "taps": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          }
        }
      },
      "PromoStatsDto": {
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "description": "The first and last UTC day, at midnight.",
            "format": "date-time"
          },
          "to": {
            "type": "string",
            "format": "date-time"
          },
          "rows": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PromoStatRowDto"
            }
          }
        },
        "description": "Views and taps per UTC day, app showing the promo, promo, slot and platform."
      },
      "PromoVersionDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/PromoReviewStatus"
          },
          "title": {
            "type": "string"
          },
          "subtitle": {
            "type": [
              "null",
              "string"
            ]
          },
          "buttonText": {
            "type": [
              "null",
              "string"
            ],
            "description": "Null: \"Get\", in the user's language."
          },
          "accentColor": {
            "type": "string",
            "description": "The button's colour and the background behind pictures, e.g. `#F5A623`."
          },
          "category": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/AppCategory"
              }
            ]
          },
          "contentTags": {
            "$ref": "#/components/schemas/PromoContentTags"
          },
          "ageRating": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/AgeRating"
              }
            ]
          },
          "images": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PromoImageDto"
            }
          },
          "submittedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "reviewedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "reviewNote": {
            "type": [
              "null",
              "string"
            ],
            "description": "The reviewer's note: why it was rejected, or a remark on approval."
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "description": "What a promo shows: one reviewed version of it."
      },
      "PropertyConditionDto": {
        "required": [
          "key"
        ],
        "type": "object",
        "properties": {
          "key": {
            "maxLength": 40,
            "minLength": 0,
            "type": "string"
          },
          "operator": {
            "$ref": "#/components/schemas/PropertyOperator"
          },
          "values": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "PropertyOperator.Is and PropertyOperator.IsNot: any of these (ignoring case).\n        The comparisons: one value, compared as a number when both are numbers, else as text (so yyyy-MM-dd dates work).\n        PropertyOperator.Exists and PropertyOperator.NotExists: none."
          }
        },
        "description": "A condition on one user property."
      },
      "PropertyOperator": {
        "type": "integer"
      },
      "PushAutomationDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "trigger": {
            "$ref": "#/components/schemas/PushAutomationTrigger"
          },
          "delayMinutes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "eventName": {
            "type": [
              "null",
              "string"
            ]
          },
          "unlessOpenedSince": {
            "type": "boolean"
          },
          "rankingId": {
            "type": [
              "null",
              "string"
            ]
          },
          "rankingName": {
            "type": [
              "null",
              "string"
            ]
          },
          "cooldownDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "title": {
            "type": "string"
          },
          "body": {
            "type": "string"
          },
          "data": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "string"
            }
          },
          "openScreen": {
            "$ref": "#/components/schemas/PushScreen"
          },
          "openScreenId": {
            "type": [
              "null",
              "string"
            ]
          },
          "segmentCriteria": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/SegmentCriteriaDto"
              }
            ]
          },
          "translations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PushTextDto"
            }
          },
          "usersNotified": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Users notified so far, and in the last 30 days with how many tapped the notification.",
            "format": "int64"
          },
          "devicesLast30Days": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "openedLast30Days": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "lastSentAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "PushAutomationSettingsDto": {
        "type": "object",
        "properties": {
          "perUserPerDay": {
            "maximum": 10,
            "minimum": 1,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Automatic notifications one user may get in 24 hours, from all of the app's rules together.",
            "format": "int32"
          }
        },
        "description": "An app environment's settings for all its automatic push notifications."
      },
      "PushAutomationTrigger": {
        "type": "integer",
        "description": "What makes an automatic push notification go to a user."
      },
      "PushKindStatsDto": {
        "type": "object",
        "properties": {
          "kind": {
            "$ref": "#/components/schemas/PushNotificationKind"
          },
          "notifications": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "devices": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "sent": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "failed": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "opened": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        },
        "description": "The notifications of one kind, and their devices, deliveries, refusals and taps added up."
      },
      "PushLanguageStatsDto": {
        "type": "object",
        "properties": {
          "languageCode": {
            "type": "string"
          },
          "devices": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "sent": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "opened": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PushNotificationDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/PushNotificationKind"
          },
          "title": {
            "type": "string"
          },
          "body": {
            "type": "string"
          },
          "data": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "string"
            },
            "description": "The app's own data values; BeeAppie's (`beeappie_…`) are left out."
          },
          "openScreen": {
            "description": "The screen it opens when tapped, and the item for one that shows a single item.",
            "$ref": "#/components/schemas/PushScreen"
          },
          "openScreenId": {
            "type": [
              "null",
              "string"
            ]
          },
          "targetAudience": {
            "$ref": "#/components/schemas/TargetAudience"
          },
          "segmentCriteria": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/SegmentCriteriaDto"
              }
            ]
          },
          "sendAt": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/PushNotificationStatus"
          },
          "devices": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Devices it was sent to, delivered to Apple or Google, refused, and notifications the user tapped.",
            "format": "int32"
          },
          "sent": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "failed": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "opened": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "error": {
            "type": [
              "null",
              "string"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "finishedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "translations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PushTextDto"
            }
          },
          "languages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PushLanguageStatsDto"
            },
            "description": "One notification only (not in lists): devices, deliveries and taps by device language, most devices first; \"\" for\ndevices whose language is not known."
          }
        }
      },
      "PushNotificationKind": {
        "type": "integer"
      },
      "PushNotificationStatus": {
        "type": "integer"
      },
      "PushPermission": {
        "type": "integer",
        "description": "Whether the phone lets the app show notifications, as the SDK last saw it."
      },
      "PushPlatform": {
        "type": "integer",
        "description": "Who delivers a device's push notifications."
      },
      "PushScreen": {
        "type": "integer",
        "description": "The SDK's ready-made screen a push notification opens when tapped (PushScreens). PushScreen.Leaderboard,\nPushScreen.Poll and PushScreen.Communication are one item, by id; the others take none."
      },
      "PushStatsDto": {
        "type": "object",
        "properties": {
          "days": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "kinds": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PushKindStatsDto"
            }
          }
        },
        "description": "An app environment's push notifications over the last int PushStatsDto.Days days, by kind."
      },
      "PushStatusRequest": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean",
            "description": "False when the user turned BeeAppie's notifications off in the app."
          },
          "permission": {
            "$ref": "#/components/schemas/PushPermission"
          }
        },
        "description": "Whether the current device should get push notifications: the user's choice in the app, and what the phone allows. Sent\nwhen either changes; the token stays registered either way."
      },
      "PushTextDto": {
        "required": [
          "languageCode"
        ],
        "type": "object",
        "properties": {
          "languageCode": {
            "maxLength": 2,
            "minLength": 2,
            "type": "string",
            "description": "ISO 639-1, e.g. \"it\"."
          },
          "title": {
            "maxLength": 200,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "body": {
            "maxLength": 1000,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PutUserDataRequest": {
        "type": "object",
        "properties": {
          "value": {
            "description": "A JSON object, at most the plan's item size (counted as compact UTF-8 JSON).",
            "$ref": "#/components/schemas/JsonElement"
          },
          "ifVersion": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Write only if the item is still at this version (0: only if it does not exist yet); otherwise the write is refused\nwith string ErrorCodes.VersionMismatch and the item as it is now. Null: write whatever is there (last write wins).",
            "format": "int64"
          }
        }
      },
      "RankingDto": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "key": {
            "type": "string",
            "description": "What the app code uses to refer to the ranking, e.g. \"high-score\"; the same in test and live."
          },
          "name": {
            "maxLength": 150,
            "minLength": 0,
            "type": "string"
          },
          "description": {
            "maxLength": 500,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "singleRecordPerUser": {
            "type": "boolean",
            "description": "When true, each user keeps only their best score."
          },
          "separatePlatforms": {
            "type": "boolean",
            "description": "One leaderboard per platform: each player sees and ranks among the players of their own device's platform."
          },
          "order": {
            "description": "Which scores rank first: the highest (points) or the lowest (times, moves).",
            "$ref": "#/components/schemas/RankingOrder"
          },
          "scoreFormat": {
            "description": "How scores read: numbers, or times (the score is milliseconds); entries carry the text in string? RankingEntryDto.ScoreText.",
            "$ref": "#/components/schemas/RankingScoreFormat"
          },
          "minScore": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Scores outside this range are rejected. Null means no bound.",
            "format": "double"
          },
          "maxScore": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "startsAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Scores are taken from this time; with seasons, the first season's start. Null: from its creation.",
            "format": "date-time"
          },
          "endsAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "No scores from this time; the leaderboard stays as it was. Null: no end.",
            "format": "date-time"
          },
          "isOpen": {
            "type": "boolean",
            "description": "Whether it takes scores now: started and not ended."
          },
          "seasonUnit": {
            "description": "Repeating seasons, each starting with an empty leaderboard: int RankingDto.SeasonLength of this unit. None: no seasons.",
            "$ref": "#/components/schemas/RankingSeasonUnit"
          },
          "seasonLength": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "seasonTimeZone": {
            "type": "string",
            "description": "The time zone seasons follow, e.g. \"Europe/London\"."
          },
          "keptSeasons": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "How many past seasons keep their scores.",
            "format": "int32"
          },
          "currentSeason": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "description": "With seasons, the one shown now (the last one once it has ended).",
                "$ref": "#/components/schemas/RankingSeasonDto"
              }
            ]
          },
          "currentSeasonName": {
            "maxLength": 60,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ],
            "description": "The developer's names for the seasons (plan 26), in the device's language for the SDK: the running one (\"Today\"),\nthe one before it (\"Yesterday\"), and older ones with {number}, {start} and {end} (\"Round {number}\"). Null: the app's\nown words. Seasons carry theirs filled in (string? RankingSeasonDto.Name)."
          },
          "previousSeasonName": {
            "maxLength": 60,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "olderSeasonName": {
            "maxLength": 60,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "showPastSeasons": {
            "type": "boolean",
            "description": "Players can look back at past seasons (`/seasons`); false: the app shows only the current one."
          },
          "translations": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/RankingTextDto"
            },
            "description": "Management only: the name, description and season names in other languages. Null for the SDK."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "RankingEntryDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "rankingId": {
            "type": "string"
          },
          "position": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "username": {
            "type": [
              "null",
              "string"
            ]
          },
          "score": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "scoreText": {
            "type": [
              "null",
              "string"
            ],
            "description": "The score as the leaderboard shows it, e.g. \"1:23.45\" for a time (RankingScoreFormat RankingDto.ScoreFormat). Null for\nnumbers: format double RankingEntryDto.Score in the player's locale."
          },
          "platformName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The platform the score was submitted from."
          },
          "isCurrentUser": {
            "type": "boolean",
            "description": "True when the entry belongs to the user making the request."
          },
          "userId": {
            "type": [
              "null",
              "string"
            ],
            "description": "Only returned to dashboards; never exposed to other app users."
          },
          "hidden": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Dashboards only: true when the player is suspended, so players don't see the entry (its int RankingEntryDto.Position is\nthen 0). It shows again once the suspension ends."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "RankingOrder": {
        "type": "integer",
        "description": "Which scores rank first on a leaderboard (plan 23)."
      },
      "RankingScoreFormat": {
        "type": "integer",
        "description": "How a leaderboard's scores read (plan 23); string? ScoreFormats.Format(RankingScoreFormat format, double score) makes the text."
      },
      "RankingSeasonDto": {
        "type": "object",
        "properties": {
          "key": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "startsAt": {
            "type": "string",
            "format": "date-time"
          },
          "endsAt": {
            "type": "string",
            "format": "date-time"
          },
          "entryCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "In lists of past seasons: how many scores it kept.",
            "format": "int32"
          },
          "number": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "1 for the leaderboard's first season; 0 when unknown (a season from before the season settings changed).",
            "format": "int32"
          },
          "isPrevious": {
            "type": "boolean",
            "description": "The season right before the current one (the \"Last season\" of the screens)."
          },
          "name": {
            "type": [
              "null",
              "string"
            ],
            "description": "The developer's name for it, filled in and in the device's language (e.g. \"Today\", \"Round 12\"); null when they set\nnone: show the app's own words (the ready-made screens: \"Today\", \"Last week\", \"October 2026\"…)."
          }
        },
        "description": "A season of a leaderboard; ask for its entries with long RankingSeasonDto.Key (or \"current\", \"previous\")."
      },
      "RankingSeasonUnit": {
        "type": "integer",
        "description": "How long each season of a leaderboard lasts, with `SeasonLength` (e.g. 2 Week): None for no seasons."
      },
      "RankingTextDto": {
        "required": [
          "languageCode"
        ],
        "type": "object",
        "properties": {
          "languageCode": {
            "maxLength": 2,
            "minLength": 2,
            "type": "string",
            "description": "ISO 639-1, e.g. \"it\"."
          },
          "name": {
            "maxLength": 150,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "description": {
            "maxLength": 500,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "currentSeasonName": {
            "maxLength": 60,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "previousSeasonName": {
            "maxLength": 60,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "olderSeasonName": {
            "maxLength": 60,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          }
        },
        "description": "A leaderboard's texts in a language other than the app's main one; empty fields fall back to the main ones."
      },
      "ReferralTermsDto": {
        "type": "object",
        "properties": {
          "holdDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "addOnMonths": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "yearlyCap": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "RegisterPushTokenRequest": {
        "required": [
          "token"
        ],
        "type": "object",
        "properties": {
          "token": {
            "maxLength": 500,
            "minLength": 8,
            "type": "string",
            "description": "An FCM registration token (Android) or an APNs device token in hex (Apple)."
          },
          "platform": {
            "$ref": "#/components/schemas/PushPlatform"
          },
          "sandbox": {
            "type": "boolean",
            "description": "Apple only: a development build's token, which only Apple's sandbox accepts."
          }
        },
        "description": "Where the current device receives push notifications. Sent again whenever the platform gives a new token."
      },
      "ReleaseHealthDto": {
        "type": "object",
        "properties": {
          "version": {
            "type": "string"
          },
          "users": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "sessions": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "crashedUsers": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "hangUsers": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Users who had the app freeze until Android closed it (ANRs).",
            "format": "int32"
          },
          "crashFreeUsers": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "hangRate": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "The share of users with a freeze, Google Play's \"ANR rate\" (bad above 0.47%).",
            "format": "double"
          },
          "crashes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "errors": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "firstSeen": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "lastSeen": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        },
        "description": "One app version's health over a window: how many of its users crashed or had the app freeze. Users are those with a\nsession or a report in the window."
      },
      "ReleasePollRequest": {
        "type": "object",
        "properties": {
          "sendPush": {
            "type": "boolean",
            "description": "Also sends a push notification with the poll's title and description, tapping it opens the poll: to all users, or those\non the poll's platforms; at its DateTimeOffset? SavePollRequest.StartsAt when that is still to come."
          }
        },
        "description": "Optional options when releasing a poll."
      },
      "RemoteConfigDto": {
        "type": "object",
        "properties": {
          "values": {
            "type": "object",
            "description": "Every parameter of the app, with the value that applies to this user."
          },
          "status": {
            "$ref": "#/components/schemas/AppStatusDto"
          },
          "anonymousCrashReports": {
            "type": "boolean",
            "description": "The app's team allows anonymous error reports (bool AppDto.AnonymousCrashReports): the SDK sends errors and\ncrashes of users who did not allow error reports without any id (ReportIssueRequest IssueScrubbing.Anonymous(ReportIssueRequest report)), and drops\nthem otherwise."
          },
          "countsVisits": {
            "type": "boolean",
            "description": "The app's team counts opens and active installs without consent (bool AppDto.CountOpens): the ready-made\nscreens then show the switch to opt out of being counted, and mention it on the consent page."
          },
          "achievementsNeedConsent": {
            "type": "boolean",
            "description": "Achievements only with consent to usage statistics (bool AppDto.AchievementsNeedConsent): the SDK keeps them\non the device and sends them once the user allows statistics, and never makes a user for them before."
          },
          "consentScreen": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "description": "The app's own consent screen title and message, set in the dashboard, in the device's language (the install context's\nstring? InstallContext.LanguageCode) when there is a translation, else the app's main language. Null: BeeAppie's texts.",
                "$ref": "#/components/schemas/ConsentScreenDto"
              }
            ]
          },
          "countedDay": {
            "type": [
              "null",
              "string"
            ],
            "description": "The UTC day (`yyyy-MM-dd`) this request was counted on, when it counted an open and the app counts active\ninstalls (bool AppDto.CountOpens): the SDK saves it (in the app's preferences, not secure storage) and sends\nit back as string? InstallContext.LastCounted. Null otherwise: then the SDK stores nothing."
          },
          "installWeek": {
            "type": [
              "null",
              "string"
            ],
            "description": "For an install counted as new: the Monday (UTC, `yyyy-MM-dd`) of its first week, to save and send back as\nstring? InstallContext.InstallWeek."
          }
        },
        "description": "The remote config values for the current user and device, and the app's status for this version."
      },
      "RenameConversationRequest": {
        "required": [
          "title"
        ],
        "type": "object",
        "properties": {
          "title": {
            "maxLength": 150,
            "minLength": 0,
            "type": "string"
          }
        }
      },
      "ReportIssueRequest": {
        "required": [
          "message"
        ],
        "type": "object",
        "properties": {
          "id": {
            "maxLength": 64,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ],
            "description": "A unique id made by the client (e.g. a GUID), kept with the item while it is queued. An item whose id was already\nrecorded is ignored, so resending a batch after a lost response does not count it twice."
          },
          "exceptionType": {
            "type": [
              "null",
              "string"
            ]
          },
          "message": {
            "type": "string"
          },
          "stackTrace": {
            "type": [
              "null",
              "string"
            ]
          },
          "properties": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "string"
            }
          },
          "appVersion": {
            "maxLength": 50,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "language": {
            "maxLength": 10,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "country": {
            "maxLength": 10,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "osVersion": {
            "maxLength": 50,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "device": {
            "maxLength": 100,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "deviceModel": {
            "maxLength": 100,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "deviceManufacturer": {
            "maxLength": 100,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "isCrash": {
            "type": "boolean"
          },
          "kind": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "description": "What went wrong. Leave it out to have it follow bool ReportIssueRequest.IsCrash (IssueKind.Crash or\nIssueKind.Exception); any kind other than IssueKind.Exception is a crash whatever\nbool ReportIssueRequest.IsCrash says.",
                "$ref": "#/components/schemas/IssueKind"
              }
            ]
          },
          "timestamp": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "source": {
            "type": [
              "null",
              "string"
            ]
          },
          "targetSite": {
            "type": [
              "null",
              "string"
            ]
          },
          "innerExceptionType": {
            "type": [
              "null",
              "string"
            ]
          },
          "innerMessage": {
            "type": [
              "null",
              "string"
            ]
          },
          "method": {
            "type": [
              "null",
              "string"
            ]
          },
          "breadcrumbs": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/BreadcrumbDto"
            },
            "description": "What happened just before, oldest first: screens, app events, going to the background… The server keeps the last\nint BreadcrumbDto.MaxPerReport and shortens long texts rather than rejecting the report."
          },
          "frames": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IssueFrameDto"
            },
            "description": ".NET: the app's own frames of string? ReportIssueRequest.StackTrace, so the server can add file names and line numbers from the\nbuild's uploaded `.pdb` files. The text stays as .NET printed it. The server reads at most\nint IssueFrameDto.MaxPerReport."
          },
          "context": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "description": "The device's state when it happened (not when it was sent: a crash is sent on the next launch). Values out of range or\ntoo long are dropped by the server, never the report.",
                "$ref": "#/components/schemas/IssueContextDto"
              }
            ]
          }
        },
        "description": "An error or crash report. Texts longer than the limits here are shortened by the server rather than refused (so are\nDictionary&lt;string, string&gt;? ReportIssueRequest.Properties, as for events): a report is never lost for its size."
      },
      "RetentionCohortDto": {
        "type": "object",
        "properties": {
          "weekStart": {
            "type": "string",
            "description": "The Monday (UTC) of the week the users started.",
            "format": "date-time"
          },
          "users": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Users who started that week and used the app (with consent to usage sessions).",
            "format": "int32"
          },
          "activeByWeek": {
            "type": "array",
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            },
            "description": "Users active in week 0 (the first), 1, 2…, up to now."
          }
        }
      },
      "RetentionDto": {
        "type": "object",
        "properties": {
          "cohorts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RetentionCohortDto"
            }
          }
        },
        "description": "Weekly retention: of the users who started in each week, how many came back in each following week."
      },
      "RetentionKind": {
        "type": "integer",
        "description": "The kinds of data an app can keep for less time than its plan allows."
      },
      "RetentionSettingDto": {
        "type": "object",
        "properties": {
          "kind": {
            "$ref": "#/components/schemas/RetentionKind"
          },
          "chosenDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "The team's choice in days; null follows the plan, also after a change of plan.",
            "format": "int32"
          },
          "planDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "What the plan keeps, in days; 0 is for ever.",
            "format": "int32"
          },
          "days": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "What applies: the shorter of the two (0 = for ever).",
            "format": "int32"
          },
          "choices": {
            "type": "array",
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            },
            "description": "The numbers of days the team can choose on the plan, shorter than int RetentionSettingDto.PlanDays."
          }
        }
      },
      "SaveAchievementRequest": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "key": {
            "maxLength": 50,
            "minLength": 0,
            "pattern": "^[a-z0-9][a-z0-9_-]*$",
            "type": [
              "null",
              "string"
            ],
            "description": "What the app's code uses. Empty when creating: made from the name, e.g. \"First win\" → \"first-win\"."
          },
          "name": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string"
          },
          "description": {
            "maxLength": 500,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "points": {
            "maximum": 10000,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "goal": {
            "maximum": 1000000,
            "minimum": 1,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "The progress that unlocks it: 1 for a one-off achievement, e.g. 100 for \"Play 100 games\".",
            "format": "int32"
          },
          "hidden": {
            "type": "boolean"
          },
          "sortOrder": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "translations": {
            "maxItems": 30,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AchievementTextDto"
            },
            "description": "Its name and description in other languages, at most one per language."
          }
        }
      },
      "SaveCommunicationRequest": {
        "required": [
          "title",
          "content"
        ],
        "type": "object",
        "properties": {
          "title": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string"
          },
          "content": {
            "type": "string"
          },
          "contentType": {
            "$ref": "#/components/schemas/ContentType"
          },
          "communicationType": {
            "$ref": "#/components/schemas/CommunicationType"
          },
          "priority": {
            "$ref": "#/components/schemas/CommunicationPriority"
          },
          "requireAcknowledgment": {
            "type": "boolean"
          },
          "imageUrl": {
            "type": [
              "null",
              "string"
            ],
            "format": "uri"
          },
          "actionUrl": {
            "type": [
              "null",
              "string"
            ],
            "format": "uri"
          },
          "actionText": {
            "maxLength": 100,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "targetAudience": {
            "$ref": "#/components/schemas/TargetAudience"
          },
          "segment": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/SegmentCriteriaDto"
              }
            ]
          },
          "publishedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "sendPush": {
            "type": "boolean",
            "description": "Also sends it as a push notification to the same users when it is published. Turning it off before then cancels\nthe notification; once sent, it cannot be taken back."
          },
          "pushOpensCommunication": {
            "type": "boolean",
            "description": "Tapping the push notification opens the communication: its id is sent with it, as `PushOpenedEventArgs.CommunicationId`.\nOff, the tap just opens the app. Can be changed until the notification is sent."
          },
          "replacesId": {
            "maxLength": 64,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ],
            "description": "Creating only: the communication this is a new version of, which then expires when this one is published. Its\ncontent can no longer change once users have acknowledged it, so a changed text (an updated privacy policy, say)\ngoes out as a new version that users acknowledge again."
          },
          "translations": {
            "maxItems": 30,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CommunicationTextDto"
            },
            "description": "The texts in other languages than the app's main one; content like the rest once users have acknowledged it."
          }
        }
      },
      "SaveConfigParameterRequest": {
        "required": [
          "key",
          "defaultValue"
        ],
        "type": "object",
        "properties": {
          "key": {
            "pattern": "^[A-Za-z][A-Za-z0-9_.-]{0,63}$",
            "type": "string"
          },
          "description": {
            "maxLength": 500,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/ConfigValueType"
          },
          "defaultValue": {
            "type": "string"
          },
          "rules": {
            "maxItems": 10,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ConfigRuleDto"
            }
          }
        }
      },
      "SaveContentCollectionRequest": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "pattern": "^[a-z0-9][a-z0-9_-]{0,63}$",
            "type": "string"
          },
          "description": {
            "maxLength": 500,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "SavedReplyDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "text": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "SaveEntitlementRequest": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "key": {
            "maxLength": 50,
            "minLength": 0,
            "pattern": "^[a-z0-9][a-z0-9_.-]*$",
            "type": [
              "null",
              "string"
            ],
            "description": "What the app's code uses. Empty when creating: made from the name, e.g. \"Pro\" → \"pro\"."
          },
          "name": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string"
          },
          "description": {
            "maxLength": 500,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "SavePollRequest": {
        "required": [
          "title",
          "options"
        ],
        "type": "object",
        "properties": {
          "title": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "selectionType": {
            "$ref": "#/components/schemas/PollSelectionType"
          },
          "options": {
            "minItems": 2,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PollOptionDto"
            }
          },
          "startsAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Once released, not shown in the app before this; null: straight away.",
            "format": "date-time"
          },
          "endsAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Voting closes by itself at this time; null: when closed by hand.",
            "format": "date-time"
          },
          "platformIds": {
            "type": "array",
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int16"
            },
            "description": "Only shown on these platforms (see List&lt;short&gt; PollDto.PlatformIds); empty: all."
          },
          "translations": {
            "maxItems": 30,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PollTextDto"
            },
            "description": "The texts in other languages than the app's main one, options in the order of List&lt;PollOptionDto&gt; SavePollRequest.Options."
          }
        }
      },
      "SavePollTranslationsRequest": {
        "type": "object",
        "properties": {
          "translations": {
            "maxItems": 30,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PollTextDto"
            }
          }
        },
        "description": "A poll's translations, which can change in any state (its options can't once released)."
      },
      "SavePromoCampaignRequest": {
        "type": "object",
        "properties": {
          "budgetCredits": {
            "maximum": 1000000,
            "minimum": 1,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "The most credits it uses in all; null: no budget.",
            "format": "int32"
          },
          "dailyCredits": {
            "maximum": 100000,
            "minimum": 1,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "The most credits it uses in a UTC day; null: no daily cap.",
            "format": "int32"
          },
          "startsOn": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "endsOn": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "platformIds": {
            "maxItems": 10,
            "type": "array",
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int16"
            }
          },
          "countries": {
            "maxItems": 250,
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "ISO 3166-1 alpha-2 codes, e.g. GB."
          }
        }
      },
      "SavePromoDraftRequest": {
        "required": [
          "title",
          "accentColor"
        ],
        "type": "object",
        "properties": {
          "title": {
            "maxLength": 30,
            "minLength": 0,
            "type": "string"
          },
          "subtitle": {
            "maxLength": 60,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "buttonText": {
            "maxLength": 15,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ],
            "description": "Empty: \"Get\", in the user's language."
          },
          "accentColor": {
            "pattern": "^#[0-9A-Fa-f]{6}$",
            "type": "string"
          },
          "category": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/AppCategory"
              }
            ]
          },
          "contentTags": {
            "$ref": "#/components/schemas/PromoContentTags"
          },
          "ageRating": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/AgeRating"
              }
            ]
          }
        },
        "description": "The draft's texts and description. Saving makes it a draft again if it was in review or rejected."
      },
      "SavePromoNetworkRequest": {
        "type": "object",
        "properties": {
          "join": {
            "type": "boolean",
            "description": "True: ask BeeAppie to show it in other companies' apps (or stay there). False: leave the network."
          },
          "paused": {
            "type": "boolean",
            "description": "Approved for the network: pause it there for now (shown in the company's own apps only)."
          }
        },
        "description": "Joining or leaving the promo network with a promo, or pausing it there."
      },
      "SavePromoPlacementRequest": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "bannersEnabled": {
            "type": "boolean"
          },
          "cardsEnabled": {
            "type": "boolean"
          },
          "fullscreenEnabled": {
            "type": "boolean"
          },
          "excludedPromoIds": {
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "fullscreenIntervalMinutes": {
            "maximum": 120,
            "minimum": 1,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "showNetworkPromos": {
            "type": "boolean"
          },
          "ownSharePercent": {
            "maximum": 100,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "networkMaxAgeRating": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/AgeRating"
              }
            ]
          },
          "blockedCategories": {
            "maxItems": 100,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AppCategory"
            }
          },
          "blockedTags": {
            "$ref": "#/components/schemas/PromoContentTags"
          }
        }
      },
      "SavePromoSettingsRequest": {
        "type": "object",
        "properties": {
          "name": {
            "maxLength": 30,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ],
            "description": "The team's name for it; users never see it."
          },
          "weight": {
            "maximum": 10,
            "minimum": 1,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "How often it comes up compared with the app's other promos. Apps are chosen first, by their promos' highest weight, so\nmore promos don't show an app more often.",
            "format": "int32"
          },
          "paused": {
            "type": "boolean"
          },
          "platformIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int16"
            },
            "description": "Only on these platforms (iOS 1, Android 2, Windows 4, macOS 5), in your apps and on the network; empty: every platform\nthe app has a store link for. Null leaves them as they are."
          }
        },
        "description": "Settings that change nothing users see, so they need no review."
      },
      "SavePushAutomationRequest": {
        "required": [
          "appId",
          "name",
          "title",
          "body"
        ],
        "type": "object",
        "properties": {
          "appId": {
            "type": "string"
          },
          "name": {
            "maxLength": 100,
            "minLength": 1,
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "trigger": {
            "$ref": "#/components/schemas/PushAutomationTrigger"
          },
          "delayMinutes": {
            "maximum": 129600,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "PushAutomationTrigger.Inactive: how long the user has been away (1 to 90 days, in minutes).\n        PushAutomationTrigger.AfterEvent: how long after the event (5 minutes to 30 days). Not used for leaderboards.",
            "format": "int32"
          },
          "eventName": {
            "maxLength": 100,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ],
            "description": "PushAutomationTrigger.AfterEvent: the analytics event's name."
          },
          "unlessOpenedSince": {
            "type": "boolean",
            "description": "PushAutomationTrigger.AfterEvent: not sent if the user opened the app again after the event."
          },
          "rankingId": {
            "maxLength": 100,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ],
            "description": "PushAutomationTrigger.RankingOvertaken: the leaderboard (id or key)."
          },
          "cooldownDays": {
            "maximum": 365,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Days before the rule can notify the same user again (0 = only the daily limit applies).",
            "format": "int32"
          },
          "title": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string",
            "description": "For leaderboards, `{player}` (who beat the score), `{ranking}` (the leaderboard's name) and `{score}`\n(their new score) are filled in."
          },
          "body": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string"
          },
          "data": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "string"
            }
          },
          "openScreen": {
            "$ref": "#/components/schemas/PushScreen"
          },
          "openScreenId": {
            "maxLength": 100,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "segmentCriteria": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "description": "Only users in this segment (null = everyone the rule applies to).",
                "$ref": "#/components/schemas/SegmentCriteriaDto"
              }
            ]
          },
          "translations": {
            "maxItems": 30,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PushTextDto"
            },
            "description": "The title and body in other languages than the app's main one: each device gets its user's language, or the main text; placeholders are filled in them too."
          }
        },
        "description": "An automatic push notification: a rule that sends the same message to each user it applies to. Every user gets at most\nthe app's int PushAutomationSettingsDto.PerUserPerDay automatic notifications a day, whatever the rules, and\nat most one a day from each rule; each one counts against the plan's push notifications like any other."
      },
      "SaveRankingRequest": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "maxLength": 150,
            "minLength": 0,
            "type": "string"
          },
          "key": {
            "maxLength": 50,
            "minLength": 0,
            "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$",
            "type": [
              "null",
              "string"
            ],
            "description": "What the app code uses to refer to the ranking. Made from the name when empty on creation; kept when empty on update."
          },
          "description": {
            "maxLength": 500,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "singleRecordPerUser": {
            "type": "boolean"
          },
          "minScore": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "maxScore": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "startsAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Scores are taken from this time; null: straight away. Needed with seasons: the first season's start.",
            "format": "date-time"
          },
          "endsAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "No scores from this time; null: no end.",
            "format": "date-time"
          },
          "seasonUnit": {
            "description": "None: no seasons.",
            "$ref": "#/components/schemas/RankingSeasonUnit"
          },
          "seasonLength": {
            "maximum": 365,
            "minimum": 1,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "seasonTimeZone": {
            "maxLength": 64,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ],
            "description": "An IANA zone, e.g. \"Europe/London\"; empty: UTC."
          },
          "keptSeasons": {
            "maximum": 24,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "separatePlatforms": {
            "type": "boolean",
            "description": "A leaderboard per platform: players only rank against others on the same platform."
          },
          "order": {
            "description": "Which scores rank first. Fixed once the leaderboard has scores (409 conflict): make a new one instead.",
            "$ref": "#/components/schemas/RankingOrder"
          },
          "scoreFormat": {
            "description": "How scores read; Time takes the scores as milliseconds. Fixed once the leaderboard has scores, as RankingOrder SaveRankingRequest.Order.",
            "$ref": "#/components/schemas/RankingScoreFormat"
          },
          "currentSeasonName": {
            "maxLength": 60,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ],
            "description": "What the app calls the seasons (plan 26): the running one, the one before it, and older ones with {number}, {start}\nand {end}. Empty: the SDK's own words (by the season length: \"Today\", \"This week\", \"This month\", \"This season\"…)."
          },
          "previousSeasonName": {
            "maxLength": 60,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "olderSeasonName": {
            "maxLength": 60,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "showPastSeasons": {
            "type": "boolean",
            "description": "Players can look back at the kept past seasons in the app. Off: only the current season."
          },
          "translations": {
            "maxItems": 30,
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/RankingTextDto"
            },
            "description": "The texts in other languages than the app's main one. Null: kept as they are."
          }
        }
      },
      "SaveSavedReplyRequest": {
        "required": [
          "title",
          "text"
        ],
        "type": "object",
        "properties": {
          "title": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string"
          },
          "text": {
            "maxLength": 4000,
            "minLength": 0,
            "type": "string",
            "description": "Placeholders filled in when it is inserted: `{name}` the user's name, `{agent}` the sender's first name, `{app}` the app's name."
          }
        }
      },
      "SaveSurveyRequest": {
        "required": [
          "key",
          "name",
          "question"
        ],
        "type": "object",
        "properties": {
          "key": {
            "maxLength": 64,
            "minLength": 1,
            "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$",
            "type": "string",
            "description": "What the app's code names it by: lower-case letters, digits and dashes, unique in the app."
          },
          "name": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "description": "For the team only."
          },
          "answerType": {
            "$ref": "#/components/schemas/SurveyAnswerType"
          },
          "question": {
            "maxLength": 200,
            "minLength": 0,
            "type": "string"
          },
          "lowLabel": {
            "maxLength": 60,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "highLabel": {
            "maxLength": 60,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "commentMode": {
            "$ref": "#/components/schemas/SurveyCommentMode"
          },
          "commentPrompt": {
            "maxLength": 60,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "translations": {
            "maxItems": 30,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SurveyTextDto"
            }
          },
          "startsAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Not shown in the app before this; null: from when it goes live.",
            "format": "date-time"
          },
          "endsAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Ends by itself at this time; null: when ended by hand or at int? SaveSurveyRequest.MaxAnswers.",
            "format": "date-time"
          },
          "maxAnswers": {
            "maximum": 1000000,
            "minimum": 1,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Ends by itself after this many answers; null: no limit.",
            "format": "int32"
          },
          "platformIds": {
            "type": "array",
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int16"
            },
            "description": "Only shown on these platforms (ids as List&lt;short&gt; PollDto.PlatformIds); empty: all."
          },
          "minAppVersion": {
            "maxLength": 50,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "sharePercent": {
            "maximum": 100,
            "minimum": 1,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "askAgain": {
            "$ref": "#/components/schemas/SurveyAskAgain"
          },
          "askAgainDays": {
            "maximum": 365,
            "minimum": 1,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "minSessions": {
            "maximum": 1000,
            "minimum": 1,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "minDaysSinceInstall": {
            "maximum": 365,
            "minimum": 1,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          }
        },
        "description": "A feature survey as the team sees and edits it."
      },
      "ScoreBatchRequest": {
        "required": [
          "scores"
        ],
        "type": "object",
        "properties": {
          "scores": {
            "maxItems": 100,
            "minItems": 1,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScoreWrite"
            }
          }
        },
        "description": "Scores the SDK kept on the device (made offline), sent together."
      },
      "ScoreBatchResultDto": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScoreResultDto"
            }
          }
        },
        "description": "What happened to each score, in the request's order."
      },
      "ScoreResultDto": {
        "type": "object",
        "properties": {
          "ranking": {
            "type": "string"
          },
          "entry": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/RankingEntryDto"
              }
            ]
          },
          "error": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "description": "One score of a batch: the user's entry it made or kept (as `POST …/entries` answers), or why it was dropped:\n`not_found` (no such leaderboard), string ErrorCodes.RankingNotOpen (not taking scores at its time, or more\nthan int ScoreLimits.LateDays days late) or string ErrorCodes.ValidationFailed (outside its range).\nDropped scores are not sent again."
      },
      "ScoreWrite": {
        "required": [
          "ranking"
        ],
        "type": "object",
        "properties": {
          "ranking": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "description": "The leaderboard's id or key."
          },
          "score": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "at": {
            "type": [
              "null",
              "string"
            ],
            "description": "When it was made on the device; null: now.",
            "format": "date-time"
          }
        }
      },
      "SdkDto": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "covers": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "released": {
            "type": "boolean"
          },
          "packages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SdkPackageDto"
            }
          },
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SdkFileDto"
            }
          }
        }
      },
      "SdkFileDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "size": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "url": {
            "type": "string"
          }
        }
      },
      "SdkPackageDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "install": {
            "type": "string"
          },
          "registry": {
            "type": "string"
          },
          "registryUrl": {
            "type": "string"
          }
        }
      },
      "SegmentCriteriaDto": {
        "type": "object",
        "properties": {
          "userIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "platforms": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "languages": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "appVersions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "deviceModels": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "osVersions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "minAppVersion": {
            "type": [
              "null",
              "string"
            ]
          },
          "maxAppVersion": {
            "type": [
              "null",
              "string"
            ]
          },
          "signedIn": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "True: only users signed in with an account; false: only anonymous users; null: both."
          },
          "joinedWithinDays": {
            "maximum": 36500,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Only users who started using the app at most this many days ago.",
            "format": "int32"
          },
          "joinedAtLeastDaysAgo": {
            "maximum": 36500,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Only users who started using the app at least this many days ago.",
            "format": "int32"
          },
          "properties": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PropertyConditionDto"
            },
            "description": "Conditions on the properties the app set (UpdateUserPropertiesRequest); all must match."
          }
        },
        "description": "Who receives a communication. For TargetAudience.SpecificUsers only List&lt;string&gt; SegmentCriteriaDto.UserIds is used;\nfor TargetAudience.UserSegment every non-empty filter must match (values within a filter are OR-ed)."
      },
      "SegmentNumbersDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The platform's name, the version or the country code; empty when unknown."
          },
          "users": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Distinct active users. For platforms over a year or two, counted by calendar month like the overview's; null for\nversions and countries then.",
            "format": "int32"
          },
          "newUsers": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "sessions": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "events": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          }
        },
        "description": "One platform's, app version's or country's numbers over the overview's window."
      },
      "SelectedPollOption": {
        "required": [
          "optionId"
        ],
        "type": "object",
        "properties": {
          "optionId": {
            "type": "string"
          },
          "otherText": {
            "maxLength": 500,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "SendMessageRequest": {
        "type": "object",
        "properties": {
          "text": {
            "maxLength": 2000,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "imageBase64": {
            "maxLength": 2796204,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ],
            "description": "Optional JPEG, PNG, GIF or WebP image, base64 encoded: at most 2 MB (shrink photos first, as the SDKs' screens do)."
          }
        }
      },
      "SendPushRequest": {
        "required": [
          "appId",
          "title",
          "body"
        ],
        "type": "object",
        "properties": {
          "appId": {
            "type": "string"
          },
          "title": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "body": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string"
          },
          "data": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "string"
            },
            "description": "Delivered to the app with the notification, e.g. `{\"screen\": \"offers\"}`. Up to 20 keys."
          },
          "openScreen": {
            "description": "The SDK's ready-made screen to open when the notification is tapped; for a leaderboard, poll or communication, the\none in string? SendPushRequest.OpenScreenId. The app's own code can also handle the tap with Dictionary&lt;string, string&gt;? SendPushRequest.Data.",
            "$ref": "#/components/schemas/PushScreen"
          },
          "openScreenId": {
            "maxLength": 100,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ],
            "description": "The leaderboard (id or key), released poll or communication to open."
          },
          "targetAudience": {
            "$ref": "#/components/schemas/TargetAudience"
          },
          "segmentCriteria": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "description": "The segment, or the user ids for TargetAudience.SpecificUsers.",
                "$ref": "#/components/schemas/SegmentCriteriaDto"
              }
            ]
          },
          "sendAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When to send; now if omitted.",
            "format": "date-time"
          },
          "translations": {
            "maxItems": 30,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PushTextDto"
            },
            "description": "The title and body in other languages than the app's main one: each device gets its user's language, or the main text."
          }
        },
        "description": "A push notification to the users of an app environment: everyone, some users, or a segment."
      },
      "ServedPromoDto": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string",
            "description": "Sent back with its view and tap; valid for a day."
          },
          "title": {
            "type": "string"
          },
          "subtitle": {
            "type": [
              "null",
              "string"
            ]
          },
          "buttonText": {
            "type": "string",
            "description": "In the user's language when the team left it empty."
          },
          "accentColor": {
            "type": "string",
            "description": "E.g. `#F5A623`: the button, and the background behind pictures."
          },
          "label": {
            "type": "string",
            "description": "The small label every promo shows, e.g. \"Also by us\", in the user's language."
          },
          "icon": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PromoImageSizeDto"
            },
            "description": "The icon in every size, smallest first."
          },
          "images": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServedPromoImageDto"
            },
            "description": "Ready-made pictures for the slot (for a fullscreen, portrait and landscape), if the team made them. Shown aspect-fit on\nstring ServedPromoDto.AccentColor when the space's shape is within 15% of theirs; otherwise the SDK lays out icon and texts."
          },
          "link": {
            "$ref": "#/components/schemas/PromoLinkDto"
          }
        },
        "description": "A promo to show once (or rotate back to), with what's needed to draw it and the token to report what happened."
      },
      "ServedPromoImageDto": {
        "type": "object",
        "properties": {
          "kind": {
            "$ref": "#/components/schemas/PromoImageKind"
          },
          "sizes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PromoImageSizeDto"
            },
            "description": "Smallest first: take the smallest at least as wide as the space in pixels."
          }
        }
      },
      "ServiceStatusDto": {
        "type": "object",
        "properties": {
          "version": {
            "type": "string"
          },
          "serverTime": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "SessionDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "lastRefreshAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "closedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "SessionStatsDto": {
        "type": "object",
        "properties": {
          "days": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "sessions": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Sessions started in the period.",
            "format": "int32"
          },
          "measured": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Of them, those with a known length (closed, or ended at the next launch); the lengths below are theirs.",
            "format": "int32"
          },
          "averageSeconds": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "medianSeconds": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "sessionsPerUserDay": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "Sessions per user on the days they used the app.",
            "format": "double"
          },
          "secondsPerUserDay": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "Time in the app per user on the days they used it, in seconds.",
            "format": "double"
          },
          "lengths": {
            "type": "array",
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            },
            "description": "Measured sessions by length: under 10 s, 10 s–1 min, 1–5 min, 5–30 min, 30 min or more."
          },
          "versions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SessionVersionStatsDto"
            },
            "description": "The app versions with the most sessions, most first."
          }
        },
        "description": "How long and how often the app is used, from the sessions of the last days (GET v1/manage/sessions/stats)."
      },
      "SessionVersionStatsDto": {
        "type": "object",
        "properties": {
          "version": {
            "type": "string"
          },
          "sessions": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "averageSeconds": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "medianSeconds": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          }
        }
      },
      "SetAchievementIconRequest": {
        "required": [
          "imageBase64"
        ],
        "type": "object",
        "properties": {
          "imageBase64": {
            "type": "string"
          },
          "icon": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "description": "How the dashboard drew it, to edit it again; null for a picture of the team's own.",
                "$ref": "#/components/schemas/AchievementIconDto"
              }
            ]
          }
        },
        "description": "An achievement's icon, which apps show: a JPEG, PNG, GIF or WebP image of at most 256 KB. Square, 256×256 pixels, is\nbest. Anyone can open its URL, so it should not hold anything private."
      },
      "SetChatIconRequest": {
        "type": "object",
        "properties": {
          "mode": {
            "$ref": "#/components/schemas/ChatIconMode"
          },
          "imageBase64": {
            "maxLength": 1398104,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ],
            "description": "For ChatIconMode.Custom: a JPEG, PNG or WebP picture, base64, at most 1 MB; made 256×256."
          }
        }
      },
      "SetContentItemRequest": {
        "type": "object",
        "properties": {
          "value": {
            "$ref": "#/components/schemas/JsonElement"
          },
          "availableFrom": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        },
        "description": "Replaces the item in the draft: its value and its release time (null: as soon as published)."
      },
      "SetConversationTopicRequest": {
        "type": "object",
        "properties": {
          "topic": {
            "maxLength": 50,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ],
            "description": "The topic's key; null for general."
          }
        }
      },
      "SetMaintenanceRequest": {
        "type": "object",
        "properties": {
          "message": {
            "maxLength": 500,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          }
        },
        "description": "Turns maintenance on with this message, changes the message, or turns it off (empty)."
      },
      "SetPromoImageRequest": {
        "required": [
          "imageBase64"
        ],
        "type": "object",
        "properties": {
          "imageBase64": {
            "type": "string"
          }
        },
        "description": "A picture for the draft: a JPEG or PNG of at most 2 MB, in the shape of its kind (2% either way): the icon square and at\nleast 512×512; banner 6.4:1 at least 640 wide; card 6:5 at least 600 wide; fullscreen 9:16 or 16:9 at least 540 or 960\nwide. BeeAppie makes the smaller sizes."
      },
      "StartConversationRequest": {
        "required": [
          "userId",
          "text"
        ],
        "type": "object",
        "properties": {
          "userId": {
            "type": "string"
          },
          "title": {
            "maxLength": 150,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "text": {
            "maxLength": 2000,
            "minLength": 0,
            "type": "string"
          },
          "topic": {
            "maxLength": 50,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ],
            "description": "One of the app's topics (its key); null or unknown for a general conversation."
          }
        }
      },
      "StatusPageDto": {
        "type": "object",
        "properties": {
          "overall": {
            "$ref": "#/components/schemas/ComponentStatus"
          },
          "checkedAt": {
            "type": "string",
            "format": "date-time"
          },
          "components": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ComponentStatusDto"
            }
          },
          "activeIncidents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IncidentDto"
            }
          },
          "pastIncidents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IncidentDto"
            }
          },
          "upcomingMaintenance": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MaintenanceNoticeDto"
            }
          }
        }
      },
      "StringSegment": {
        "type": "object",
        "properties": {
          "buffer": {
            "type": [
              "null",
              "string"
            ]
          },
          "offset": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "length": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "value": {
            "type": [
              "null",
              "string"
            ]
          },
          "hasValue": {
            "type": "boolean"
          }
        }
      },
      "SubmitFeedbackRequest": {
        "required": [
          "message"
        ],
        "type": "object",
        "properties": {
          "category": {
            "$ref": "#/components/schemas/FeedbackCategory"
          },
          "message": {
            "maxLength": 2000,
            "minLength": 1,
            "type": "string"
          },
          "rating": {
            "maximum": 5,
            "minimum": 1,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "1 to 5 stars, optional.",
            "format": "int32"
          },
          "screenshotBase64": {
            "maxLength": 2796204,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ],
            "description": "A screenshot (JPEG, PNG, GIF or WebP, base64, at most 2 MB), only if the user chose to include it."
          },
          "writtenAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the user wrote it, on the device, if it was kept there to send later (offline); up to 30 days back.",
            "format": "date-time"
          }
        },
        "description": "Feedback from the app's user. Only what is in the request is sent, plus the device's app version, platform, OS version,\nmodel and language at the time. Replies from the team continue it as a conversation."
      },
      "SubmitScoreRequest": {
        "type": "object",
        "properties": {
          "score": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "at": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the score was made, on the device (a game played offline): it counts in the season running then, up to\nint ScoreLimits.LateDays days late. Null: now.",
            "format": "date-time"
          }
        }
      },
      "SupportSettingsDto": {
        "type": "object",
        "properties": {
          "autoReply": {
            "$ref": "#/components/schemas/AutoReplyMode"
          },
          "autoReplyText": {
            "maxLength": 1000,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "hours": {
            "$ref": "#/components/schemas/BusinessHoursDto"
          }
        },
        "description": "An app environment's support chat settings."
      },
      "SurveyAnswerDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "surveyId": {
            "type": "string"
          },
          "surveyKey": {
            "type": "string"
          },
          "surveyName": {
            "type": "string"
          },
          "answerType": {
            "$ref": "#/components/schemas/SurveyAnswerType"
          },
          "revision": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "value": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "comment": {
            "type": [
              "null",
              "string"
            ]
          },
          "userId": {
            "type": [
              "null",
              "string"
            ],
            "description": "Null for anonymous answers."
          },
          "username": {
            "type": [
              "null",
              "string"
            ]
          },
          "conversationId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The feedback conversation a low answer with a comment started, if it still exists."
          },
          "appVersion": {
            "type": [
              "null",
              "string"
            ]
          },
          "platformName": {
            "type": [
              "null",
              "string"
            ]
          },
          "countryCode": {
            "type": [
              "null",
              "string"
            ]
          },
          "languageCode": {
            "type": [
              "null",
              "string"
            ]
          },
          "answeredAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "SurveyAnswerType": {
        "type": "integer",
        "description": "How a feature survey is answered. One question per survey."
      },
      "SurveyAskAgain": {
        "type": "integer",
        "description": "Whether an install that answered or dismissed a survey is asked it again."
      },
      "SurveyCommentMode": {
        "type": "integer",
        "description": "When the user is offered a comment box after choosing their answer."
      },
      "SurveyDto": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "description": "What the app's code names it by, e.g. \"flow-value\"."
          },
          "revision": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Goes up when the question or answer type changes, or the team asks everyone again: an install that answered an older\nrevision may be asked again.",
            "format": "int32"
          },
          "answerType": {
            "$ref": "#/components/schemas/SurveyAnswerType"
          },
          "question": {
            "type": "string"
          },
          "lowLabel": {
            "type": [
              "null",
              "string"
            ],
            "description": "Under the lowest answer, e.g. \"Not valuable\"."
          },
          "highLabel": {
            "type": [
              "null",
              "string"
            ],
            "description": "Under the highest answer, e.g. \"Very valuable\"."
          },
          "commentMode": {
            "$ref": "#/components/schemas/SurveyCommentMode"
          },
          "commentPrompt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Above the comment box; the SDK has a default (\"Tell us more\")."
          },
          "minAppVersion": {
            "type": [
              "null",
              "string"
            ],
            "description": "Not asked in older app versions (compared as dotted numbers)."
          },
          "sharePercent": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "1–100: asked only on installs whose bucket (int? InstallContext.Bucket, 0–99) is below this.",
            "format": "int32"
          },
          "askAgain": {
            "$ref": "#/components/schemas/SurveyAskAgain"
          },
          "askAgainDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "minSessions": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Not asked before the app has been opened this many times on the install.",
            "format": "int32"
          },
          "minDaysSinceInstall": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Not asked before this many days after the install's first run.",
            "format": "int32"
          }
        }
      },
      "SurveyManageDto": {
        "required": [
          "key",
          "name",
          "question"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "status": {
            "description": "Ended once DateTimeOffset? SaveSurveyRequest.EndsAt or the answer limit has passed, even if not ended by hand.",
            "$ref": "#/components/schemas/SurveyStatus"
          },
          "scheduled": {
            "type": "boolean",
            "description": "Live, but its start is still to come."
          },
          "waiting": {
            "type": "boolean",
            "description": "Live but not shown: the plan does not include surveys, or the app has more live surveys than the plan allows (the\noldest ones it allows are shown)."
          },
          "revision": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "answerCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "average": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "In lists: the average answer of the current revision, null without answers.",
            "format": "double"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "startedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "endedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "key": {
            "maxLength": 64,
            "minLength": 1,
            "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$",
            "type": "string",
            "description": "What the app's code names it by: lower-case letters, digits and dashes, unique in the app."
          },
          "name": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "description": "For the team only."
          },
          "answerType": {
            "$ref": "#/components/schemas/SurveyAnswerType"
          },
          "question": {
            "maxLength": 200,
            "minLength": 0,
            "type": "string"
          },
          "lowLabel": {
            "maxLength": 60,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "highLabel": {
            "maxLength": 60,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "commentMode": {
            "$ref": "#/components/schemas/SurveyCommentMode"
          },
          "commentPrompt": {
            "maxLength": 60,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "translations": {
            "maxItems": 30,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SurveyTextDto"
            }
          },
          "startsAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Not shown in the app before this; null: from when it goes live.",
            "format": "date-time"
          },
          "endsAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Ends by itself at this time; null: when ended by hand or at int? SaveSurveyRequest.MaxAnswers.",
            "format": "date-time"
          },
          "maxAnswers": {
            "maximum": 1000000,
            "minimum": 1,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Ends by itself after this many answers; null: no limit.",
            "format": "int32"
          },
          "platformIds": {
            "type": "array",
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int16"
            },
            "description": "Only shown on these platforms (ids as List&lt;short&gt; PollDto.PlatformIds); empty: all."
          },
          "minAppVersion": {
            "maxLength": 50,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "sharePercent": {
            "maximum": 100,
            "minimum": 1,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "askAgain": {
            "$ref": "#/components/schemas/SurveyAskAgain"
          },
          "askAgainDays": {
            "maximum": 365,
            "minimum": 1,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "minSessions": {
            "maximum": 1000,
            "minimum": 1,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "minDaysSinceInstall": {
            "maximum": 365,
            "minimum": 1,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "SurveyResultsDto": {
        "type": "object",
        "properties": {
          "answers": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "average": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "distribution": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SurveyValueCount"
            },
            "description": "Answers per value, lowest first, every value of the type included (0 when none)."
          },
          "shown": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Times the survey was shown and dismissed in the period, as installs reported them.",
            "format": "int32"
          },
          "dismissed": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "byVersion": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SurveyVersionResult"
            }
          }
        },
        "description": "A survey's results, over its current revision unless asked for all."
      },
      "SurveysDto": {
        "type": "object",
        "properties": {
          "cooldownDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "At most one survey every this many days per install, across all of the app's surveys. 0: no cooldown.",
            "format": "int32"
          },
          "surveys": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SurveyDto"
            }
          }
        },
        "description": "The app's live feature surveys (`GET v1/surveys`), in the device's language, with the rules the SDK applies on the\ndevice: the server keeps no install ids, so which install answered, dismissed or was asked lately is kept by the SDK."
      },
      "SurveySettingsDto": {
        "type": "object",
        "properties": {
          "cooldownDays": {
            "maximum": 365,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "At most one survey every this many days per install, across all surveys. 0: no cooldown.",
            "format": "int32"
          }
        },
        "description": "The app environment's settings for all its surveys."
      },
      "SurveyStatDto": {
        "required": [
          "key"
        ],
        "type": "object",
        "properties": {
          "key": {
            "maxLength": 64,
            "minLength": 0,
            "type": "string"
          },
          "shown": {
            "maximum": 1000,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "dismissed": {
            "maximum": 1000,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "SurveyStatsRequest": {
        "required": [
          "surveys"
        ],
        "type": "object",
        "properties": {
          "surveys": {
            "maxItems": 50,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SurveyStatDto"
            }
          }
        },
        "description": "How often surveys were shown and dismissed on an install since it last said (`POST v1/surveys/stats`)."
      },
      "SurveyStatus": {
        "type": "integer"
      },
      "SurveyTextDto": {
        "required": [
          "languageCode",
          "question"
        ],
        "type": "object",
        "properties": {
          "languageCode": {
            "maxLength": 2,
            "minLength": 2,
            "type": "string",
            "description": "ISO 639-1, e.g. \"it\"."
          },
          "question": {
            "maxLength": 200,
            "minLength": 0,
            "type": "string"
          },
          "lowLabel": {
            "maxLength": 60,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "highLabel": {
            "maxLength": 60,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "commentPrompt": {
            "maxLength": 60,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          }
        },
        "description": "A survey's texts in one more language than its default ones."
      },
      "SurveyValueCount": {
        "type": "object",
        "properties": {
          "value": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "count": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "SurveyVersionResult": {
        "type": "object",
        "properties": {
          "appVersion": {
            "type": "string",
            "description": "Empty when the app did not say."
          },
          "answers": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "average": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          }
        }
      },
      "SuspendUserRequest": {
        "type": "object",
        "properties": {
          "until": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "reason": {
            "maxLength": 500,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          }
        },
        "description": "Suspends a user until DateTimeOffset? SuspendUserRequest.Until, or for good when it is null."
      },
      "TargetAudience": {
        "type": "integer"
      },
      "TeamChatsRequest": {
        "type": "object",
        "properties": {
          "allowed": {
            "type": "boolean"
          }
        },
        "description": "Whether the app's team may start conversations with the user, e.g. from a switch in the app's profile screen. Conversations\nthe user starts are not affected: the team can always reply to those."
      },
      "TestAppUsageDto": {
        "type": "object",
        "properties": {
          "newUsers": {
            "$ref": "#/components/schemas/UsageAllowanceDto"
          },
          "conversations": {
            "$ref": "#/components/schemas/UsageAllowanceDto"
          },
          "messages": {
            "$ref": "#/components/schemas/UsageAllowanceDto"
          },
          "events": {
            "$ref": "#/components/schemas/UsageAllowanceDto"
          },
          "pushes": {
            "description": "Push notifications, one per device.",
            "$ref": "#/components/schemas/UsageAllowanceDto"
          },
          "dataDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Events, sessions and crash reports older than this, and users who have not opened the app for as long, are deleted.",
            "format": "int32"
          },
          "resetsAt": {
            "type": "string",
            "description": "When the allowances start again: the first of next month (UTC).",
            "format": "date-time"
          },
          "anyUsedUp": {
            "type": "boolean"
          }
        },
        "description": "A test app's usage this month against its own allowances. Test apps are for development: a released app must use the\nlive key, and on a test key it soon finds new users, events, chat and push refused, and its data deleted after\nint TestAppUsageDto.DataDays days."
      },
      "TrackEventRequest": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "maxLength": 64,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ],
            "description": "A unique id made by the client (e.g. a GUID), kept with the item while it is queued. An item whose id was already\nrecorded is ignored, so resending a batch after a lost response does not count it twice."
          },
          "name": {
            "maxLength": 250,
            "minLength": 0,
            "type": "string"
          },
          "properties": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "string"
            },
            "description": "At most int TrackEventRequest.MaxProperties, keys up to int TrackEventRequest.MaxPropertyKeyLength characters and values up to\nint TrackEventRequest.MaxPropertyValueLength: the server drops the rest and shortens longer texts."
          },
          "timestamp": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "sessionId": {
            "maxLength": 50,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "TrackEventsBatchRequest": {
        "required": [
          "events"
        ],
        "type": "object",
        "properties": {
          "events": {
            "maxItems": 100,
            "minItems": 1,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TrackEventRequest"
            }
          }
        },
        "description": "Up to 100 events collected offline and sent together."
      },
      "TrackEventsResult": {
        "type": "object",
        "properties": {
          "eventsPausedUntil": {
            "type": [
              "null",
              "string"
            ],
            "description": "Set when no more events will be recorded until then: the user's events for the UTC day, or the plan's for the month,\nare used up. The SDKs stop sending events until then, since they would only be dropped.",
            "format": "date-time"
          }
        },
        "description": "The answer to sending events (202). Events past an allowance are accepted but not recorded."
      },
      "UpdateConversationStatusRequest": {
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/ConversationStatus"
          }
        }
      },
      "UpdateImpactDto": {
        "type": "object",
        "properties": {
          "activeUsers": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Users seen on the platform in the last 30 days.",
            "format": "int32"
          },
          "belowMinimum": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Of those, the ones whose latest version is older than the minimum.",
            "format": "int32"
          }
        },
        "description": "How many active users a minimum version would leave below it (GET v1/manage/remote-config/status/{platformId}/impact)."
      },
      "UpdateIssueGroupRequest": {
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/IssueStatus"
          },
          "notes": {
            "maxLength": 1000,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "resolvedInVersion": {
            "maxLength": 50,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ],
            "description": "When resolving: the version with the fix, so users still on older versions do not reopen it. Leave empty to reopen on\nany new report."
          }
        }
      },
      "UpdatePrompt": {
        "type": "integer",
        "description": "What an app should do about this version, as its team chose in the dashboard."
      },
      "UpdateReminder": {
        "type": "integer",
        "description": "How often a dismissed update suggestion comes back."
      },
      "UpdateUserPropertiesRequest": {
        "required": [
          "properties"
        ],
        "type": "object",
        "properties": {
          "properties": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        },
        "description": "            Sets or removes properties of the current user, used to target communications (e.g. `\"plan\": \"gold\"`,\n            `\"birth_year\": \"1990\"`). Properties not listed are kept; a null value removes one.\n            Keys: up to 40 letters, digits or underscores, starting with a letter; case-sensitive. Values: up to 100 characters;\nwrite numbers with a dot for decimals and dates as yyyy-MM-dd, so they compare as numbers and dates. A user has at most 20.\nDo not store special categories of personal data (health, religion, sexual orientation, ethnicity, political opinions…)\nor anything that identifies the person, such as names or phone numbers."
      },
      "UpdateUserRequest": {
        "type": "object",
        "properties": {
          "username": {
            "maxLength": 100,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "email": {
            "maxLength": 100,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "countryCode": {
            "maxLength": 2,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "languageCode": {
            "maxLength": 2,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "appVersion": {
            "maxLength": 50,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "platformCode": {
            "maxLength": 50,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ],
            "description": "Platform name as reported by the runtime, e.g. \"iOS\", \"Android\", \"MacCatalyst\", \"WinUI\"."
          },
          "osVersion": {
            "maxLength": 50,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "deviceModel": {
            "maxLength": 100,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "deviceManufacturer": {
            "maxLength": 100,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UsageAllowanceDto": {
        "type": "object",
        "properties": {
          "used": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "max": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "usedUp": {
            "type": "boolean"
          }
        }
      },
      "UserAchievementDto": {
        "type": "object",
        "properties": {
          "achievementId": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "points": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "goal": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "The progress that unlocks it: 1 for a one-off achievement.",
            "format": "int32"
          },
          "hidden": {
            "type": "boolean"
          },
          "progress": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "unlocked": {
            "type": "boolean"
          },
          "unlockedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        },
        "description": "An achievement of the user's app, with the user's progress: hidden ones included, with their names."
      },
      "UserAchievementUpdateDto": {
        "type": "object",
        "properties": {
          "justUnlocked": {
            "type": "boolean"
          },
          "achievementId": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "points": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "goal": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "The progress that unlocks it: 1 for a one-off achievement.",
            "format": "int32"
          },
          "hidden": {
            "type": "boolean"
          },
          "progress": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "unlocked": {
            "type": "boolean"
          },
          "unlockedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        },
        "description": "The user's achievement after a grant or progress call, and whether this call unlocked it."
      },
      "UserConsentRecordDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "description": "When the user made this choice.",
            "format": "date-time"
          },
          "validUntil": {
            "type": [
              "null",
              "string"
            ],
            "description": "When a later choice replaced it; null for the choice in force.",
            "format": "date-time"
          },
          "current": {
            "type": "boolean"
          },
          "eventPermission": {
            "type": "boolean",
            "description": "Analytics events."
          },
          "sessionPermission": {
            "type": "boolean",
            "description": "Sessions."
          },
          "issuesPermission": {
            "type": "boolean",
            "description": "Crash and issue reports."
          },
          "textVersion": {
            "type": [
              "null",
              "string"
            ],
            "description": "The version of the consent wording the user saw, as the app sent it, and in which language."
          },
          "languageCode": {
            "type": [
              "null",
              "string"
            ]
          },
          "deviceId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The device the choice was made on, with its platform and app version then. Null for older records."
          },
          "platformName": {
            "type": [
              "null",
              "string"
            ]
          },
          "appVersion": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "description": "One choice in a user's consent history, for the app's team: every change is kept, so a user who agreed, refused and\nagreed again has three records. The current one has no DateTimeOffset? UserConsentRecordDto.ValidUntil."
      },
      "UserDataBatchRequest": {
        "required": [
          "writes"
        ],
        "type": "object",
        "properties": {
          "writes": {
            "maxItems": 50,
            "minItems": 1,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserDataWrite"
            },
            "description": "Applied in order, in one transaction; each one succeeds or is refused on its own."
          }
        }
      },
      "UserDataBatchResultDto": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserDataWriteResult"
            }
          },
          "dataVersion": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "The user's long UserDto.DataVersion after the batch.",
            "format": "int64"
          }
        }
      },
      "UserDataCollectionDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "items": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "bytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          }
        }
      },
      "UserDataItemDto": {
        "type": "object",
        "properties": {
          "collection": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "value": {
            "description": "The JSON object the app stored.",
            "$ref": "#/components/schemas/JsonElement"
          },
          "version": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "1 when created, +1 with each write: what long? PutUserDataRequest.IfVersion compares with.",
            "format": "int64"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "description": "One item of the user's stored data: a JSON object under a collection and a key."
      },
      "UserDataPageDto": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserDataItemDto"
            }
          },
          "next": {
            "type": [
              "null",
              "string"
            ],
            "description": "Pass as `after` for the next page; null on the last one."
          }
        },
        "description": "A page of a collection's items, by key."
      },
      "UserDataSummaryDto": {
        "type": "object",
        "properties": {
          "dataVersion": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "As long UserDto.DataVersion.",
            "format": "int64"
          },
          "items": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "bytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "maxItems": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "The plan's limits for one user and one item (0: unlimited).",
            "format": "int32"
          },
          "maxBytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "maxItemBytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "readOnly": {
            "type": "boolean",
            "description": "The plan no longer includes user data storage: items can be read and deleted, not written."
          },
          "collections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserDataCollectionDto"
            }
          }
        },
        "description": "What the user stores and may store."
      },
      "UserDataWrite": {
        "required": [
          "collection",
          "key"
        ],
        "type": "object",
        "properties": {
          "collection": {
            "pattern": "^[a-z0-9_-]{1,64}$",
            "type": "string"
          },
          "key": {
            "pattern": "^[A-Za-z0-9_.-]{1,128}$",
            "type": "string"
          },
          "value": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "description": "The JSON object to store; null (left out) for a delete.",
                "$ref": "#/components/schemas/JsonElement"
              }
            ]
          },
          "delete": {
            "type": "boolean"
          },
          "ifVersion": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "As long? PutUserDataRequest.IfVersion.",
            "format": "int64"
          }
        },
        "description": "One write of a batch: a put, or with bool UserDataWrite.Delete a delete."
      },
      "UserDataWriteResult": {
        "type": "object",
        "properties": {
          "collection": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "error": {
            "type": [
              "null",
              "string"
            ],
            "description": "Null when the write was applied; otherwise why not, one of ErrorCodes."
          },
          "version": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "The item's version after the write (0 once deleted), or, when refused, its current version.",
            "format": "int64"
          },
          "current": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "description": "With string ErrorCodes.VersionMismatch: the item as it is now (null when it does not exist).",
                "$ref": "#/components/schemas/UserDataItemDto"
              }
            ]
          }
        },
        "description": "What happened to one write of a batch."
      },
      "UserDto": {
        "type": "object",
        "properties": {
          "rolloutBucket": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "The user's rollout bucket: the SDK keeps it as the install's (int? InstallContext.Bucket), so all the user's\ndevices get the same remote config. Null for users from before buckets, whose rollouts follow their id.",
            "format": "int32"
          },
          "id": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "email": {
            "type": [
              "null",
              "string"
            ]
          },
          "countryCode": {
            "type": [
              "null",
              "string"
            ]
          },
          "languageCode": {
            "type": [
              "null",
              "string"
            ]
          },
          "suspended": {
            "type": "boolean",
            "description": "Whether the user is suspended now; UserSuspensionDto? UserDto.Suspension says until when and why."
          },
          "suspension": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserSuspensionDto"
              }
            ]
          },
          "usernameResetAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the team last reset the user's name. Only from `v1/manage`: the app is not told.",
            "format": "date-time"
          },
          "usernameChangedAfterResetAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the app last set a different name since DateTimeOffset? UserDto.UsernameResetAt. Only from `v1/manage`.",
            "format": "date-time"
          },
          "lastSeenAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "properties": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "description": "What the app set with UpdateUserPropertiesRequest, to target communications."
          },
          "teamChatsOptedOut": {
            "type": "boolean",
            "description": "The user does not want the app's team to start conversations with them (TeamChatsRequest). They can still\nstart one, and get the team's replies in it."
          },
          "dataVersion": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Goes up with every change to the user's stored data (`v1/data/me`), from any device: the SDK reads the data again\nonly when it is higher than what it has.",
            "format": "int64"
          },
          "devices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DeviceDto"
            },
            "description": "The user's devices, most recently seen first."
          },
          "identities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserIdentityDto"
            },
            "description": "The sign-in accounts linked to the user. None means the user is anonymous."
          },
          "isAnonymous": {
            "type": "boolean"
          }
        }
      },
      "UserEntitlementDto": {
        "type": "object",
        "properties": {
          "entitlementId": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "active": {
            "type": "boolean",
            "description": "True while the user has it: granted and not expired."
          },
          "grant": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "description": "The grant, also when it expired; null if the user was never granted it (or it was revoked).",
                "$ref": "#/components/schemas/UserEntitlementGrantDto"
              }
            ]
          }
        },
        "description": "An entitlement of the user's app, and the user's grant of it if they have one."
      },
      "UserEntitlementGrantDto": {
        "type": "object",
        "properties": {
          "source": {
            "$ref": "#/components/schemas/EntitlementSource"
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Null: for good.",
            "format": "date-time"
          },
          "note": {
            "type": [
              "null",
              "string"
            ]
          },
          "grantedBy": {
            "type": "string"
          },
          "grantedAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "UserEventGroupDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "lastSeen": {
            "type": "string",
            "format": "date-time"
          },
          "count": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "numberOfUsers": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "status": {
            "$ref": "#/components/schemas/EventGroupStatus"
          },
          "notes": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UserEventReportDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "groupId": {
            "type": "string"
          },
          "userId": {
            "type": [
              "null",
              "string"
            ]
          },
          "properties": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "string"
            }
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "sessionId": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UserIdentityDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/IdentityProviderKind"
          },
          "issuer": {
            "type": "string"
          },
          "subject": {
            "type": "string",
            "description": "The provider's id for the user, e.g. the Firebase uid."
          },
          "email": {
            "type": [
              "null",
              "string"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "lastUsedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "UserIssueDto": {
        "type": "object",
        "properties": {
          "groupId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/IssueKind"
          },
          "isCrash": {
            "type": "boolean"
          },
          "status": {
            "$ref": "#/components/schemas/IssueStatus"
          },
          "reports": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "lastReportAt": {
            "type": "string",
            "format": "date-time"
          },
          "appVersion": {
            "type": [
              "null",
              "string"
            ]
          },
          "message": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "description": "An issue one user ran into, for the agent answering them."
      },
      "UserSessionResponse": {
        "type": "object",
        "properties": {
          "user": {
            "$ref": "#/components/schemas/UserDto"
          },
          "deviceId": {
            "type": "string"
          },
          "token": {
            "type": "string"
          },
          "tokenExpiresAt": {
            "type": "string",
            "format": "date-time"
          },
          "merged": {
            "type": "boolean",
            "description": "True when the account already had a user and the device's anonymous user (scores, chats, votes…) was merged into it.\nThe app should reload anything user-specific."
          }
        },
        "description": "The device's user after signing in or out. The previous token no longer works."
      },
      "UserSuspensionDto": {
        "type": "object",
        "properties": {
          "until": {
            "type": [
              "null",
              "string"
            ],
            "description": "When it ends; null when it does not (the user is banned).",
            "format": "date-time"
          },
          "reason": {
            "type": [
              "null",
              "string"
            ],
            "description": "Why, as the team wrote it for the user, e.g. with how to appeal."
          }
        },
        "description": "A user's suspension by the app's team, shown to them while it lasts."
      },
      "UserSuspensionRecordDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "startedAt": {
            "type": "string",
            "format": "date-time"
          },
          "until": {
            "type": [
              "null",
              "string"
            ],
            "description": "When it was set to end. Null: for good (a ban).",
            "format": "date-time"
          },
          "reason": {
            "type": [
              "null",
              "string"
            ],
            "description": "What the user was told."
          },
          "suspendedBy": {
            "type": "string"
          },
          "active": {
            "type": "boolean",
            "description": "Whether it is what suspends the user now."
          },
          "endedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When it was lifted or replaced. Null when it is still running or ran until DateTimeOffset? UserSuspensionRecordDto.Until.",
            "format": "date-time"
          },
          "endedBy": {
            "type": [
              "null",
              "string"
            ]
          },
          "replaced": {
            "type": "boolean",
            "description": "A new suspension took its place, e.g. with another end date: one episode, not a further offence."
          }
        },
        "description": "One suspension in a user's history, for the app's team."
      },
      "VotePollRequest": {
        "required": [
          "options"
        ],
        "type": "object",
        "properties": {
          "options": {
            "minItems": 1,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SelectedPollOption"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "http",
        "description": "The user's token from POST /v1/users/init (SDK endpoints), or a secret server key sk_… (management API).",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      },
      "AppKey": {
        "type": "apiKey",
        "description": "The app's key, required on every SDK request.",
        "name": "X-App-Key",
        "in": "header"
      }
    }
  },
  "tags": [
    {
      "name": "Achievements"
    },
    {
      "name": "Apps"
    },
    {
      "name": "Audience"
    },
    {
      "name": "Communications"
    },
    {
      "name": "ConsentText"
    },
    {
      "name": "Content"
    },
    {
      "name": "ConversationTopics"
    },
    {
      "name": "Conversations"
    },
    {
      "name": "Entitlements"
    },
    {
      "name": "Feedback"
    },
    {
      "name": "Insights"
    },
    {
      "name": "Lookups"
    },
    {
      "name": "Mappings"
    },
    {
      "name": "Polls"
    },
    {
      "name": "Promos"
    },
    {
      "name": "Public"
    },
    {
      "name": "Push"
    },
    {
      "name": "PushAutomations"
    },
    {
      "name": "Rankings"
    },
    {
      "name": "RemoteConfig"
    },
    {
      "name": "SDK"
    },
    {
      "name": "SignIn"
    },
    {
      "name": "SupportSettings"
    },
    {
      "name": "Surveys"
    },
    {
      "name": "Telemetry"
    },
    {
      "name": "UserAchievements"
    },
    {
      "name": "UserData"
    },
    {
      "name": "UserEntitlements"
    },
    {
      "name": "Users"
    }
  ]
}