PostHog · Schema

HogFunctionMinimal

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
id string
type string
name string
description string
created_at string
created_by object
updated_at string
enabled boolean
hog string
filters object
icon_url string
template object
status object
execution_order integer
View JSON Schema on GitHub

JSON Schema

posthog-hogfunctionminimal-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/HogFunctionMinimal",
  "title": "HogFunctionMinimal",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "readOnly": true
    },
    "type": {
      "type": "string",
      "readOnly": true,
      "nullable": true
    },
    "name": {
      "type": "string",
      "readOnly": true,
      "nullable": true
    },
    "description": {
      "type": "string",
      "readOnly": true
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "created_by": {
      "allOf": [
        {
          "$ref": "#/components/schemas/UserBasic"
        }
      ],
      "readOnly": true
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "enabled": {
      "type": "boolean",
      "readOnly": true
    },
    "hog": {
      "type": "string",
      "readOnly": true
    },
    "filters": {
      "readOnly": true,
      "nullable": true
    },
    "icon_url": {
      "type": "string",
      "readOnly": true,
      "nullable": true
    },
    "template": {
      "allOf": [
        {
          "$ref": "#/components/schemas/HogFunctionTemplate"
        }
      ],
      "readOnly": true
    },
    "status": {
      "allOf": [
        {
          "$ref": "#/components/schemas/HogFunctionStatus"
        }
      ],
      "readOnly": true,
      "nullable": true
    },
    "execution_order": {
      "type": "integer",
      "readOnly": true,
      "nullable": true
    }
  },
  "required": [
    "created_at",
    "created_by",
    "description",
    "enabled",
    "execution_order",
    "filters",
    "hog",
    "icon_url",
    "id",
    "name",
    "status",
    "template",
    "type",
    "updated_at"
  ]
}