PostHog · Schema
TraceReviewScoreWrite
A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording
Properties
| Name | Type | Description |
|---|---|---|
| definition_id | string | Stable scorer definition ID. |
| definition_version_id | string | Optional immutable scorer version ID. Defaults to the scorer's current version. |
| categorical_values | array | Categorical option keys selected for this score. |
| numeric_value | string | Numeric value selected for this score. |
| boolean_value | boolean | Boolean value selected for this score. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/TraceReviewScoreWrite",
"title": "TraceReviewScoreWrite",
"type": "object",
"properties": {
"definition_id": {
"type": "string",
"format": "uuid",
"description": "Stable scorer definition ID."
},
"definition_version_id": {
"type": "string",
"format": "uuid",
"nullable": true,
"description": "Optional immutable scorer version ID. Defaults to the scorer's current version."
},
"categorical_values": {
"type": "array",
"items": {
"type": "string",
"maxLength": 128
},
"nullable": true,
"description": "Categorical option keys selected for this score.",
"minItems": 1
},
"numeric_value": {
"type": "string",
"format": "decimal",
"pattern": "^-?\\d{0,6}(?:\\.\\d{0,6})?$",
"nullable": true,
"description": "Numeric value selected for this score."
},
"boolean_value": {
"type": "boolean",
"nullable": true,
"description": "Boolean value selected for this score."
}
},
"required": [
"definition_id"
]
}