PostHog · Schema

PatchedComment

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
id string
created_by object
deleted boolean
mentions array
slug string
content string
rich_content object
version integer
created_at string
item_id string
item_context object
scope string
source_comment string
View JSON Schema on GitHub

JSON Schema

posthog-patchedcomment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PatchedComment",
  "title": "PatchedComment",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "readOnly": true
    },
    "created_by": {
      "allOf": [
        {
          "$ref": "#/components/schemas/UserBasic"
        }
      ],
      "readOnly": true
    },
    "deleted": {
      "type": "boolean",
      "nullable": true
    },
    "mentions": {
      "type": "array",
      "items": {
        "type": "integer"
      },
      "writeOnly": true
    },
    "slug": {
      "type": "string",
      "writeOnly": true
    },
    "content": {
      "type": "string",
      "nullable": true
    },
    "rich_content": {
      "nullable": true
    },
    "version": {
      "type": "integer",
      "readOnly": true
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "item_id": {
      "type": "string",
      "nullable": true,
      "maxLength": 72
    },
    "item_context": {
      "nullable": true
    },
    "scope": {
      "type": "string",
      "maxLength": 79
    },
    "source_comment": {
      "type": "string",
      "format": "uuid",
      "nullable": true
    }
  }
}