Optimizely · Schema

Feature

A feature with configurable variables

A/B TestingContent ManagementCustomer DataE-CommerceExperimentationFeature FlagsMarketing

Properties

Name Type Description
id integer Unique identifier for the feature
key string Unique key for the feature
project_id integer The project this feature belongs to
variables array List of variables associated with this feature
created string Timestamp when the feature was created
last_modified string Timestamp when the feature was last modified
View JSON Schema on GitHub

JSON Schema

optimizely-feature-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Feature",
  "title": "Feature",
  "type": "object",
  "description": "A feature with configurable variables",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64",
      "description": "Unique identifier for the feature"
    },
    "key": {
      "type": "string",
      "description": "Unique key for the feature"
    },
    "project_id": {
      "type": "integer",
      "format": "int64",
      "description": "The project this feature belongs to"
    },
    "variables": {
      "type": "array",
      "description": "List of variables associated with this feature",
      "items": {
        "$ref": "#/components/schemas/Variable"
      }
    },
    "created": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the feature was created"
    },
    "last_modified": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the feature was last modified"
    }
  }
}