Split · Schema

TreatmentResult

The result of evaluating a single feature flag for a given key.

ExperimentationFeature FlagsFeature ManagementRolloutsSDKs

Properties

Name Type Description
splitName string Name of the evaluated feature flag
treatment string The treatment value returned by the evaluation (e.g., on, off)
config string JSON string of dynamic configuration associated with the treatment, or null if no configuration is defined
View JSON Schema on GitHub

JSON Schema

split-treatmentresult-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TreatmentResult",
  "title": "TreatmentResult",
  "type": "object",
  "description": "The result of evaluating a single feature flag for a given key.",
  "properties": {
    "splitName": {
      "type": "string",
      "description": "Name of the evaluated feature flag"
    },
    "treatment": {
      "type": "string",
      "description": "The treatment value returned by the evaluation (e.g., on, off)"
    },
    "config": {
      "type": "string",
      "nullable": true,
      "description": "JSON string of dynamic configuration associated with the treatment, or null if no configuration is defined"
    }
  }
}