Split · Schema

Treatment

A treatment representing one of the possible values returned by a feature flag evaluation.

ExperimentationFeature FlagsFeature ManagementRolloutsSDKs

Properties

Name Type Description
name string Name of the treatment (e.g., on, off, v1, v2)
description string Description of what this treatment does
configurations string JSON string containing dynamic configuration associated with this treatment
View JSON Schema on GitHub

JSON Schema

split-treatment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Treatment",
  "title": "Treatment",
  "type": "object",
  "description": "A treatment representing one of the possible values returned by a feature flag evaluation.",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the treatment (e.g., on, off, v1, v2)"
    },
    "description": {
      "type": "string",
      "description": "Description of what this treatment does"
    },
    "configurations": {
      "type": "string",
      "description": "JSON string containing dynamic configuration associated with this treatment"
    }
  }
}