{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "UserComment",
  "type": "object",
  "description": "A comment from a user reviewing the app.",
  "properties": {
    "text": {
      "type": "string",
      "description": "The text content of the review."
    },
    "starRating": {
      "type": "integer",
      "description": "The star rating (1-5) given by the user."
    },
    "reviewerLanguage": {
      "type": "string",
      "description": "BCP-47 language tag of the reviewer's language."
    },
    "device": {
      "type": "string",
      "description": "Information about the device used to write the review."
    },
    "androidOsVersion": {
      "type": "integer",
      "description": "The Android OS version of the user's device."
    },
    "appVersionCode": {
      "type": "integer",
      "description": "The version code of the app installed when the review was written."
    },
    "appVersionName": {
      "type": "string",
      "description": "The version name of the app installed when the review was written."
    },
    "thumbsUpCount": {
      "type": "integer",
      "description": "Number of users who found this review helpful."
    },
    "thumbsDownCount": {
      "type": "integer",
      "description": "Number of users who found this review unhelpful."
    },
    "originalText": {
      "type": "string",
      "description": "The untranslated text of the review, if a translation was requested."
    }
  }
}