PostHog · Schema

SentimentResult

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
label string
score number
scores object
messages object
message_count integer
View JSON Schema on GitHub

JSON Schema

posthog-sentimentresult-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SentimentResult",
  "title": "SentimentResult",
  "type": "object",
  "properties": {
    "label": {
      "type": "string"
    },
    "score": {
      "type": "number",
      "format": "double"
    },
    "scores": {
      "type": "object",
      "additionalProperties": {
        "type": "number",
        "format": "double"
      }
    },
    "messages": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/components/schemas/MessageSentiment"
      }
    },
    "message_count": {
      "type": "integer"
    }
  },
  "required": [
    "label",
    "message_count",
    "messages",
    "score",
    "scores"
  ]
}