PostHog · Schema

EventElement

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
event string
text string
tag_name string
attr_class array
href string
attr_id string
nth_child integer
nth_of_type integer
attributes object
order integer
View JSON Schema on GitHub

JSON Schema

posthog-eventelement-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/EventElement",
  "title": "EventElement",
  "type": "object",
  "properties": {
    "event": {
      "type": "string"
    },
    "text": {
      "type": "string",
      "nullable": true,
      "maxLength": 10000
    },
    "tag_name": {
      "type": "string",
      "nullable": true,
      "maxLength": 1000
    },
    "attr_class": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 200
      },
      "nullable": true
    },
    "href": {
      "type": "string",
      "nullable": true,
      "maxLength": 10000
    },
    "attr_id": {
      "type": "string",
      "nullable": true,
      "maxLength": 10000
    },
    "nth_child": {
      "type": "integer",
      "maximum": 2147483647,
      "minimum": -2147483648,
      "nullable": true
    },
    "nth_of_type": {
      "type": "integer",
      "maximum": 2147483647,
      "minimum": -2147483648,
      "nullable": true
    },
    "attributes": {},
    "order": {
      "type": "integer",
      "maximum": 2147483647,
      "minimum": -2147483648,
      "nullable": true
    }
  },
  "required": [
    "event"
  ]
}