PostHog · Schema

StructuredSummary

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
title string Concise title (no longer than 10 words) summarizing the trace/event
flow_diagram string Mermaid flowchart code showing the main flow
summary_bullets array Main summary bullets
interesting_notes array Interesting notes (0-2 for minimal, more for detailed)
View JSON Schema on GitHub

JSON Schema

posthog-structuredsummary-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/StructuredSummary",
  "title": "StructuredSummary",
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "description": "Concise title (no longer than 10 words) summarizing the trace/event"
    },
    "flow_diagram": {
      "type": "string",
      "description": "Mermaid flowchart code showing the main flow"
    },
    "summary_bullets": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/SummaryBullet"
      },
      "description": "Main summary bullets"
    },
    "interesting_notes": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/InterestingNote"
      },
      "description": "Interesting notes (0-2 for minimal, more for detailed)"
    }
  },
  "required": [
    "flow_diagram",
    "interesting_notes",
    "summary_bullets",
    "title"
  ]
}