PostHog · Schema

Snapshot

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
current_artifact object
baseline_artifact object
diff_artifact object
reviewed_by object
id string
identifier string
result string
classification_reason string
diff_percentage number
diff_pixel_count integer
review_state string
reviewed_at string
approved_hash string
tolerated_hash_id string
is_quarantined boolean
metadata object
View JSON Schema on GitHub

JSON Schema

posthog-snapshot-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Snapshot",
  "title": "Snapshot",
  "type": "object",
  "properties": {
    "current_artifact": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Artifact"
        }
      ],
      "nullable": true
    },
    "baseline_artifact": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Artifact"
        }
      ],
      "nullable": true
    },
    "diff_artifact": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Artifact"
        }
      ],
      "nullable": true
    },
    "reviewed_by": {
      "allOf": [
        {
          "$ref": "#/components/schemas/UserBasicInfo"
        }
      ],
      "nullable": true
    },
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "identifier": {
      "type": "string"
    },
    "result": {
      "type": "string"
    },
    "classification_reason": {
      "type": "string"
    },
    "diff_percentage": {
      "type": "number",
      "format": "double",
      "nullable": true
    },
    "diff_pixel_count": {
      "type": "integer",
      "nullable": true
    },
    "review_state": {
      "type": "string"
    },
    "reviewed_at": {
      "type": "string",
      "format": "date-time",
      "nullable": true
    },
    "approved_hash": {
      "type": "string"
    },
    "tolerated_hash_id": {
      "type": "string",
      "format": "uuid",
      "nullable": true
    },
    "is_quarantined": {
      "type": "boolean"
    },
    "metadata": {
      "type": "object",
      "additionalProperties": true
    }
  },
  "required": [
    "approved_hash",
    "classification_reason",
    "diff_percentage",
    "diff_pixel_count",
    "id",
    "identifier",
    "result",
    "review_state",
    "reviewed_at"
  ]
}