PostHog · Schema

RoleExternalReference

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
id string
provider string Integration kind (e.g., github, linear, jira, slack).
provider_organization_id string Provider organization/workspace/site identifier.
provider_role_id string Stable provider role identifier.
provider_role_slug string Human-friendly provider role identifier.
provider_role_name string Display name of the provider role.
role string PostHog role UUID this external role maps to.
created_at string
created_by object
View JSON Schema on GitHub

JSON Schema

posthog-roleexternalreference-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RoleExternalReference",
  "title": "RoleExternalReference",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "readOnly": true
    },
    "provider": {
      "type": "string",
      "description": "Integration kind (e.g., github, linear, jira, slack).",
      "maxLength": 32
    },
    "provider_organization_id": {
      "type": "string",
      "description": "Provider organization/workspace/site identifier.",
      "maxLength": 255
    },
    "provider_role_id": {
      "type": "string",
      "description": "Stable provider role identifier.",
      "maxLength": 255
    },
    "provider_role_slug": {
      "type": "string",
      "nullable": true,
      "description": "Human-friendly provider role identifier.",
      "maxLength": 255
    },
    "provider_role_name": {
      "type": "string",
      "description": "Display name of the provider role.",
      "maxLength": 255
    },
    "role": {
      "type": "string",
      "format": "uuid",
      "description": "PostHog role UUID this external role maps to."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "created_by": {
      "allOf": [
        {
          "$ref": "#/components/schemas/UserBasic"
        }
      ],
      "readOnly": true
    }
  },
  "required": [
    "created_at",
    "created_by",
    "id",
    "provider",
    "provider_organization_id",
    "provider_role_id",
    "provider_role_name",
    "role"
  ]
}