|
4 | 4 | "description": "Represents an environment context for feature flag evaluation.", |
5 | 5 | "properties": { |
6 | 6 | "key": { |
7 | | - "description": "An environment's unique identifier.", |
| 7 | + "description": "Unique environment key. May be used for selecting a value for a multivariate feature, or for % split segmentation.", |
8 | 8 | "title": "Key", |
9 | | - "type": "string", |
10 | | - "x-flagsmith-engine-condition-property": "$.environment.key" |
| 9 | + "type": "string" |
11 | 10 | }, |
12 | 11 | "name": { |
13 | 12 | "description": "An environment's human-readable name.", |
|
27 | 26 | "description": "Represents a feature context for feature flag evaluation.", |
28 | 27 | "properties": { |
29 | 28 | "key": { |
30 | | - "description": "Key used when selecting a value for a multivariate feature. Set to an internal identifier or a UUID, depending on Flagsmith implementation.", |
| 29 | + "description": "Unique feature key used when selecting a variant if the feature is multivariate. Set to an internal identifier or a UUID, depending on Flagsmith implementation.", |
31 | 30 | "title": "Key", |
32 | 31 | "type": "string" |
33 | 32 | }, |
34 | | - "feature_key": { |
35 | | - "description": "Unique feature identifier.", |
36 | | - "title": "Feature Key", |
37 | | - "type": "string" |
38 | | - }, |
39 | 33 | "name": { |
40 | 34 | "description": "Feature name.", |
41 | 35 | "title": "Name", |
|
78 | 72 | }, |
79 | 73 | "required": [ |
80 | 74 | "key", |
81 | | - "feature_key", |
82 | 75 | "name", |
83 | 76 | "enabled", |
84 | 77 | "value" |
|
122 | 115 | "description": "Represents an identity context for feature flag evaluation.", |
123 | 116 | "properties": { |
124 | 117 | "identifier": { |
125 | | - "description": "A unique identifier for an identity, used for segment and multivariate feature flag targeting, and displayed in the Flagsmith UI.", |
| 118 | + "description": "A unique identifier for an identity as displayed in the Flagsmith UI.", |
126 | 119 | "title": "Identifier", |
127 | 120 | "type": "string", |
128 | 121 | "x-flagsmith-engine-condition-property": "$.identity.identifier" |
|
148 | 141 | } |
149 | 142 | }, |
150 | 143 | "required": [ |
151 | | - "identifier", |
152 | | - "key" |
| 144 | + "identifier" |
153 | 145 | ], |
154 | 146 | "title": "IdentityContext", |
155 | 147 | "type": "object" |
|
158 | 150 | "description": "Represents a segment context for feature flag evaluation.", |
159 | 151 | "properties": { |
160 | 152 | "key": { |
161 | | - "description": "Key used for % split segmentation.", |
| 153 | + "description": "Unique segment key used for % split segmentation.", |
162 | 154 | "title": "Key", |
163 | 155 | "type": "string" |
164 | 156 | }, |
|
0 commit comments