- [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1alpha1/SentimentData#SCHEMA_REPRESENTATION)

The data for a sentiment annotation.

| JSON representation |
|---|
| ``` { "magnitude": number, "score": number } ``` |

| Fields ||
|---|---|
| `magnitude` | `number` A non-negative number from 0 to infinity which represents the absolute magnitude of sentiment regardless of score. |
| `score` | `number` The sentiment score between -1.0 (negative) and 1.0 (positive). |