PostHog · Schema

Run

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
approved_by object
id string
repo_id string
status string
run_type string
commit_sha string
branch string
pr_number integer
approved boolean
approved_at string
summary object
error_message string
created_at string
completed_at string
is_stale boolean
superseded_by_id string
metadata object
View JSON Schema on GitHub

JSON Schema

posthog-run-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Run",
  "title": "Run",
  "type": "object",
  "properties": {
    "approved_by": {
      "allOf": [
        {
          "$ref": "#/components/schemas/UserBasicInfo"
        }
      ],
      "nullable": true
    },
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "repo_id": {
      "type": "string",
      "format": "uuid"
    },
    "status": {
      "type": "string"
    },
    "run_type": {
      "type": "string"
    },
    "commit_sha": {
      "type": "string"
    },
    "branch": {
      "type": "string"
    },
    "pr_number": {
      "type": "integer",
      "nullable": true
    },
    "approved": {
      "type": "boolean"
    },
    "approved_at": {
      "type": "string",
      "format": "date-time",
      "nullable": true
    },
    "summary": {
      "$ref": "#/components/schemas/RunSummary"
    },
    "error_message": {
      "type": "string",
      "nullable": true
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "completed_at": {
      "type": "string",
      "format": "date-time",
      "nullable": true
    },
    "is_stale": {
      "type": "boolean"
    },
    "superseded_by_id": {
      "type": "string",
      "format": "uuid",
      "nullable": true
    },
    "metadata": {
      "type": "object",
      "additionalProperties": true
    }
  },
  "required": [
    "approved",
    "approved_at",
    "branch",
    "commit_sha",
    "completed_at",
    "created_at",
    "error_message",
    "id",
    "pr_number",
    "repo_id",
    "run_type",
    "status",
    "summary"
  ]
}