{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/usenotra-com/json-schema/usenotra-com-geo-sentiment-response-schema.json",
  "title": "GeoSentimentResponse",
  "description": "How positively answers mention the brand, per engine and day, compared with the previous period.",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/usenotra-com-openapi.json#/components/schemas/GeoSentimentResponse",
  "type": "object",
  "properties": {
    "configured": {
      "type": "boolean",
      "enum": [
        true
      ],
      "description": "Always `true` for a project-scoped request."
    },
    "summary": {
      "type": "object",
      "properties": {
        "totalChecks": {
          "type": "integer",
          "description": "Answers in the window across every tracked language, including sequences and personas. A multi-turn conversation counts once, with the sentiment of its first turn that mentions the brand."
        },
        "mentions": {
          "type": "integer",
          "description": "Answers that mentioned the tracked brand."
        },
        "positive": {
          "type": "integer",
          "description": "Mentions classified as positive."
        },
        "neutral": {
          "type": "integer",
          "description": "Mentions classified as neutral."
        },
        "negative": {
          "type": "integer",
          "description": "Mentions classified as negative."
        },
        "lastCheckedAt": {
          "type": [
            "string",
            "null"
          ],
          "description": "Latest answer captured, or `null` when there are none."
        },
        "score": {
          "type": [
            "number",
            "null"
          ],
          "description": "Sentiment score from 0 to 100: positive counts 100, neutral 50, negative 0, averaged over classified mentions. `null` without classified mentions."
        },
        "classifiedMentions": {
          "type": "integer",
          "description": "Mentions with a sentiment: positive + neutral + negative."
        },
        "unknownMentions": {
          "type": "integer",
          "description": "Mentions without a sentiment classification."
        },
        "notMentioned": {
          "type": "integer",
          "description": "Answers that did not mention the brand."
        },
        "positiveShare": {
          "type": [
            "number",
            "null"
          ],
          "description": "Share of classified mentions that are positive, from 0 to 1. `null` without classified mentions."
        },
        "neutralShare": {
          "type": [
            "number",
            "null"
          ],
          "description": "Share of classified mentions that are neutral, from 0 to 1. `null` without classified mentions."
        },
        "negativeShare": {
          "type": [
            "number",
            "null"
          ],
          "description": "Share of classified mentions that are negative, from 0 to 1. `null` without classified mentions."
        },
        "classificationCoverage": {
          "type": [
            "number",
            "null"
          ],
          "description": "Share of mentions that have a sentiment, from 0 to 1. `null` without mentions."
        }
      },
      "required": [
        "totalChecks",
        "mentions",
        "positive",
        "neutral",
        "negative",
        "lastCheckedAt",
        "score",
        "classifiedMentions",
        "unknownMentions",
        "notMentioned",
        "positiveShare",
        "neutralShare",
        "negativeShare",
        "classificationCoverage"
      ],
      "description": "Totals for the selected period."
    },
    "engines": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "totalChecks": {
            "type": "integer",
            "description": "Answers in the window across every tracked language, including sequences and personas. A multi-turn conversation counts once, with the sentiment of its first turn that mentions the brand."
          },
          "mentions": {
            "type": "integer",
            "description": "Answers that mentioned the tracked brand."
          },
          "positive": {
            "type": "integer",
            "description": "Mentions classified as positive."
          },
          "neutral": {
            "type": "integer",
            "description": "Mentions classified as neutral."
          },
          "negative": {
            "type": "integer",
            "description": "Mentions classified as negative."
          },
          "lastCheckedAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "Latest answer captured, or `null` when there are none."
          },
          "score": {
            "type": [
              "number",
              "null"
            ],
            "description": "Sentiment score from 0 to 100: positive counts 100, neutral 50, negative 0, averaged over classified mentions. `null` without classified mentions."
          },
          "classifiedMentions": {
            "type": "integer",
            "description": "Mentions with a sentiment: positive + neutral + negative."
          },
          "unknownMentions": {
            "type": "integer",
            "description": "Mentions without a sentiment classification."
          },
          "notMentioned": {
            "type": "integer",
            "description": "Answers that did not mention the brand."
          },
          "positiveShare": {
            "type": [
              "number",
              "null"
            ],
            "description": "Share of classified mentions that are positive, from 0 to 1. `null` without classified mentions."
          },
          "neutralShare": {
            "type": [
              "number",
              "null"
            ],
            "description": "Share of classified mentions that are neutral, from 0 to 1. `null` without classified mentions."
          },
          "negativeShare": {
            "type": [
              "number",
              "null"
            ],
            "description": "Share of classified mentions that are negative, from 0 to 1. `null` without classified mentions."
          },
          "classificationCoverage": {
            "type": [
              "number",
              "null"
            ],
            "description": "Share of mentions that have a sentiment, from 0 to 1. `null` without mentions."
          },
          "engine": {
            "type": "string",
            "description": "Answer engine id, as listed by listGeoEngines."
          }
        },
        "required": [
          "totalChecks",
          "mentions",
          "positive",
          "neutral",
          "negative",
          "lastCheckedAt",
          "score",
          "classifiedMentions",
          "unknownMentions",
          "notMentioned",
          "positiveShare",
          "neutralShare",
          "negativeShare",
          "classificationCoverage",
          "engine"
        ]
      },
      "description": "Totals per engine that answered in the selected period."
    },
    "points": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "totalChecks": {
            "type": "integer",
            "description": "Answers in the window across every tracked language, including sequences and personas. A multi-turn conversation counts once, with the sentiment of its first turn that mentions the brand."
          },
          "mentions": {
            "type": "integer",
            "description": "Answers that mentioned the tracked brand."
          },
          "positive": {
            "type": "integer",
            "description": "Mentions classified as positive."
          },
          "neutral": {
            "type": "integer",
            "description": "Mentions classified as neutral."
          },
          "negative": {
            "type": "integer",
            "description": "Mentions classified as negative."
          },
          "lastCheckedAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "Latest answer captured, or `null` when there are none."
          },
          "score": {
            "type": [
              "number",
              "null"
            ],
            "description": "Sentiment score from 0 to 100: positive counts 100, neutral 50, negative 0, averaged over classified mentions. `null` without classified mentions."
          },
          "classifiedMentions": {
            "type": "integer",
            "description": "Mentions with a sentiment: positive + neutral + negative."
          },
          "unknownMentions": {
            "type": "integer",
            "description": "Mentions without a sentiment classification."
          },
          "notMentioned": {
            "type": "integer",
            "description": "Answers that did not mention the brand."
          },
          "positiveShare": {
            "type": [
              "number",
              "null"
            ],
            "description": "Share of classified mentions that are positive, from 0 to 1. `null` without classified mentions."
          },
          "neutralShare": {
            "type": [
              "number",
              "null"
            ],
            "description": "Share of classified mentions that are neutral, from 0 to 1. `null` without classified mentions."
          },
          "negativeShare": {
            "type": [
              "number",
              "null"
            ],
            "description": "Share of classified mentions that are negative, from 0 to 1. `null` without classified mentions."
          },
          "classificationCoverage": {
            "type": [
              "number",
              "null"
            ],
            "description": "Share of mentions that have a sentiment, from 0 to 1. `null` without mentions."
          },
          "day": {
            "type": "string",
            "description": "UTC day (YYYY-MM-DD)."
          }
        },
        "required": [
          "totalChecks",
          "mentions",
          "positive",
          "neutral",
          "negative",
          "lastCheckedAt",
          "score",
          "classifiedMentions",
          "unknownMentions",
          "notMentioned",
          "positiveShare",
          "neutralShare",
          "negativeShare",
          "classificationCoverage",
          "day"
        ]
      },
      "description": "One point per UTC day of the selected period, including days without answers."
    },
    "comparison": {
      "type": "object",
      "properties": {
        "current": {
          "type": "object",
          "properties": {
            "from": {
              "type": "string",
              "description": "First day of the range in UTC, formatted as YYYY-MM-DD."
            },
            "to": {
              "type": "string",
              "description": "Last day of the range in UTC, formatted as YYYY-MM-DD."
            }
          },
          "required": [
            "from",
            "to"
          ],
          "description": "Selected period as inclusive UTC days (YYYY-MM-DD)."
        },
        "previous": {
          "type": "object",
          "properties": {
            "from": {
              "type": "string",
              "description": "First day of the range in UTC, formatted as YYYY-MM-DD."
            },
            "to": {
              "type": "string",
              "description": "Last day of the range in UTC, formatted as YYYY-MM-DD."
            }
          },
          "required": [
            "from",
            "to"
          ],
          "description": "Period of the same length right before it, as inclusive UTC days (YYYY-MM-DD)."
        },
        "summary": {
          "type": "object",
          "properties": {
            "totalChecks": {
              "type": "integer",
              "description": "Answers in the window across every tracked language, including sequences and personas. A multi-turn conversation counts once, with the sentiment of its first turn that mentions the brand."
            },
            "mentions": {
              "type": "integer",
              "description": "Answers that mentioned the tracked brand."
            },
            "positive": {
              "type": "integer",
              "description": "Mentions classified as positive."
            },
            "neutral": {
              "type": "integer",
              "description": "Mentions classified as neutral."
            },
            "negative": {
              "type": "integer",
              "description": "Mentions classified as negative."
            },
            "lastCheckedAt": {
              "type": [
                "string",
                "null"
              ],
              "description": "Latest answer captured, or `null` when there are none."
            },
            "score": {
              "type": [
                "number",
                "null"
              ],
              "description": "Sentiment score from 0 to 100: positive counts 100, neutral 50, negative 0, averaged over classified mentions. `null` without classified mentions."
            },
            "classifiedMentions": {
              "type": "integer",
              "description": "Mentions with a sentiment: positive + neutral + negative."
            },
            "unknownMentions": {
              "type": "integer",
              "description": "Mentions without a sentiment classification."
            },
            "notMentioned": {
              "type": "integer",
              "description": "Answers that did not mention the brand."
            },
            "positiveShare": {
              "type": [
                "number",
                "null"
              ],
              "description": "Share of classified mentions that are positive, from 0 to 1. `null` without classified mentions."
            },
            "neutralShare": {
              "type": [
                "number",
                "null"
              ],
              "description": "Share of classified mentions that are neutral, from 0 to 1. `null` without classified mentions."
            },
            "negativeShare": {
              "type": [
                "number",
                "null"
              ],
              "description": "Share of classified mentions that are negative, from 0 to 1. `null` without classified mentions."
            },
            "classificationCoverage": {
              "type": [
                "number",
                "null"
              ],
              "description": "Share of mentions that have a sentiment, from 0 to 1. `null` without mentions."
            }
          },
          "required": [
            "totalChecks",
            "mentions",
            "positive",
            "neutral",
            "negative",
            "lastCheckedAt",
            "score",
            "classifiedMentions",
            "unknownMentions",
            "notMentioned",
            "positiveShare",
            "neutralShare",
            "negativeShare",
            "classificationCoverage"
          ],
          "description": "Totals for the previous period."
        },
        "points": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "totalChecks": {
                "type": "integer",
                "description": "Answers in the window across every tracked language, including sequences and personas. A multi-turn conversation counts once, with the sentiment of its first turn that mentions the brand."
              },
              "mentions": {
                "type": "integer",
                "description": "Answers that mentioned the tracked brand."
              },
              "positive": {
                "type": "integer",
                "description": "Mentions classified as positive."
              },
              "neutral": {
                "type": "integer",
                "description": "Mentions classified as neutral."
              },
              "negative": {
                "type": "integer",
                "description": "Mentions classified as negative."
              },
              "lastCheckedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Latest answer captured, or `null` when there are none."
              },
              "score": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Sentiment score from 0 to 100: positive counts 100, neutral 50, negative 0, averaged over classified mentions. `null` without classified mentions."
              },
              "classifiedMentions": {
                "type": "integer",
                "description": "Mentions with a sentiment: positive + neutral + negative."
              },
              "unknownMentions": {
                "type": "integer",
                "description": "Mentions without a sentiment classification."
              },
              "notMentioned": {
                "type": "integer",
                "description": "Answers that did not mention the brand."
              },
              "positiveShare": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Share of classified mentions that are positive, from 0 to 1. `null` without classified mentions."
              },
              "neutralShare": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Share of classified mentions that are neutral, from 0 to 1. `null` without classified mentions."
              },
              "negativeShare": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Share of classified mentions that are negative, from 0 to 1. `null` without classified mentions."
              },
              "classificationCoverage": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Share of mentions that have a sentiment, from 0 to 1. `null` without mentions."
              },
              "day": {
                "type": "string",
                "description": "UTC day (YYYY-MM-DD)."
              }
            },
            "required": [
              "totalChecks",
              "mentions",
              "positive",
              "neutral",
              "negative",
              "lastCheckedAt",
              "score",
              "classifiedMentions",
              "unknownMentions",
              "notMentioned",
              "positiveShare",
              "neutralShare",
              "negativeShare",
              "classificationCoverage",
              "day"
            ]
          },
          "description": "One point per UTC day of the previous period."
        },
        "delta": {
          "type": [
            "number",
            "null"
          ],
          "description": "Current `score` minus previous `score`, in points. `null` when either period has no classified mentions."
        }
      },
      "required": [
        "current",
        "previous",
        "summary",
        "points",
        "delta"
      ],
      "description": "The selected period compared with the one before it. Always returned by this endpoint."
    },
    "organization": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Workspace ID. Account API keys can send it, or the slug, as X-Notra-Organization-Id."
        },
        "slug": {
          "type": "string",
          "description": "URL-safe workspace handle, unique across Notra."
        },
        "name": {
          "type": "string",
          "description": "Workspace display name."
        },
        "logo": {
          "type": [
            "string",
            "null"
          ],
          "description": "Workspace logo image URL. Null when none is set."
        }
      },
      "required": [
        "id",
        "slug",
        "name",
        "logo"
      ],
      "description": "Workspace the request ran in."
    }
  },
  "required": [
    "configured",
    "summary",
    "engines",
    "points",
    "organization"
  ]
}