Split · Schema

Attribute

An attribute used in targeting rules for feature flag definitions.

ExperimentationFeature FlagsFeature ManagementRolloutsSDKs

Properties

Name Type Description
id string Unique identifier for the attribute
trafficTypeId string Identifier of the associated traffic type
displayName string Human-readable name of the attribute
dataType string Data type of the attribute
description string Description of the attribute
isSearchable boolean Whether the attribute is searchable
View JSON Schema on GitHub

JSON Schema

split-attribute-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Attribute",
  "title": "Attribute",
  "type": "object",
  "description": "An attribute used in targeting rules for feature flag definitions.",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the attribute"
    },
    "trafficTypeId": {
      "type": "string",
      "description": "Identifier of the associated traffic type"
    },
    "displayName": {
      "type": "string",
      "description": "Human-readable name of the attribute"
    },
    "dataType": {
      "type": "string",
      "description": "Data type of the attribute",
      "enum": [
        "STRING",
        "NUMBER",
        "DATETIME",
        "SET"
      ]
    },
    "description": {
      "type": "string",
      "description": "Description of the attribute"
    },
    "isSearchable": {
      "type": "boolean",
      "description": "Whether the attribute is searchable"
    }
  }
}