launchdarkly · Schema
FlagEnvironment
The configuration of a feature flag for a specific environment.
Properties
| Name | Type | Description |
|---|---|---|
| true | boolean | Whether the flag is currently enabled in this environment. |
| archived | boolean | Whether the flag is archived in this environment. |
| salt | string | The salt used for percentage rollout hashing. |
| sel | string | The selection identifier. |
| lastModified | integer | Unix epoch timestamp of the last modification. |
| version | integer | The version number of this flag configuration. |
| targets | array | Individual context targets for each variation. |
| rules | array | Targeting rules that determine which variation to serve. |
| fallthrough | object | The default rule applied when no other rules match. |
| offVariation | integer | The variation index to serve when the flag is off. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/FlagEnvironment",
"title": "FlagEnvironment",
"type": "object",
"description": "The configuration of a feature flag for a specific environment.",
"properties": {
"true": {
"type": "boolean",
"description": "Whether the flag is currently enabled in this environment."
},
"archived": {
"type": "boolean",
"description": "Whether the flag is archived in this environment."
},
"salt": {
"type": "string",
"description": "The salt used for percentage rollout hashing."
},
"sel": {
"type": "string",
"description": "The selection identifier."
},
"lastModified": {
"type": "integer",
"format": "int64",
"description": "Unix epoch timestamp of the last modification."
},
"version": {
"type": "integer",
"description": "The version number of this flag configuration."
},
"targets": {
"type": "array",
"description": "Individual context targets for each variation.",
"items": {
"$ref": "#/components/schemas/Target"
}
},
"rules": {
"type": "array",
"description": "Targeting rules that determine which variation to serve.",
"items": {
"$ref": "#/components/schemas/Rule"
}
},
"fallthrough": {
"type": "object",
"description": "The default rule applied when no other rules match.",
"properties": {
"variation": {
"type": "integer",
"description": "The variation index to serve."
},
"rollout": {
"$ref": "#/components/schemas/Rollout"
}
}
},
"offVariation": {
"type": "integer",
"description": "The variation index to serve when the flag is off."
}
}
}