PostHog · Schema

MessageSentiment

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

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

JSON Schema

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