{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "EntitySentiment",
  "properties": {
    "polarity": {
      "$ref": "#/components/schemas/SentimentPolarity"
    },
    "confidence": {
      "description": "Polarity confidence of the sentiment",
      "format": "double",
      "maximum": 1,
      "minimum": 0,
      "type": "number"
    }
  },
  "type": "object"
}