PostHog · Schema

ElementType

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

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

JSON Schema

posthog-elementtype-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ElementType",
  "title": "ElementType",
  "additionalProperties": false,
  "properties": {
    "attr_class": {
      "default": null,
      "title": "Attr Class",
      "items": {
        "type": "string"
      },
      "type": "array",
      "nullable": true
    },
    "attr_id": {
      "default": null,
      "title": "Attr Id",
      "type": "string",
      "nullable": true
    },
    "attributes": {
      "additionalProperties": {
        "type": "string"
      },
      "title": "Attributes",
      "type": "object"
    },
    "href": {
      "default": null,
      "title": "Href",
      "type": "string",
      "nullable": true
    },
    "nth_child": {
      "default": null,
      "title": "Nth Child",
      "type": "number",
      "nullable": true
    },
    "nth_of_type": {
      "default": null,
      "title": "Nth Of Type",
      "type": "number",
      "nullable": true
    },
    "order": {
      "default": null,
      "title": "Order",
      "type": "number",
      "nullable": true
    },
    "tag_name": {
      "title": "Tag Name",
      "type": "string"
    },
    "text": {
      "default": null,
      "title": "Text",
      "type": "string",
      "nullable": true
    }
  },
  "required": [
    "attributes",
    "tag_name"
  ],
  "type": "object"
}