{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "EntitySentimentEntityMention",
  "type": "object",
  "properties": {
    "offset": {
      "type": "number",
      "format": "int",
      "description": "Mention offset"
    },
    "confidence": {
      "$ref": "#/definitions/GenericConfidence"
    },
    "text": {
      "type": "string",
      "description": "Mention text"
    },
    "sentiment": {
      "type": "array",
      "description": "Mention sentiment data",
      "items": {
        "type": "object",
        "properties": {
          "polarity": {
            "$ref": "#/definitions/GenericPolarity"
          },
          "confidence": {
            "$ref": "#/definitions/GenericPolarityConfidence"
          }
        }
      }
    }
  }
}