Flag Schema
Flags in Confidence don’t just describe a boolean decision to enable or disable a feature. Instead, flags have multiple properties that you use to control multiple aspects of the experience. The flag schema defines the available properties and their data type. The schema lets applications consume the flag value while knowing what to expect. Confidence supports the following data types in the schema:| Type | Description | Example values |
|---|---|---|
| String | A string | "HELO" |
| Integer | An integer | 42, 199932 |
| Double | A double | 3.14, 50.0 |
| Boolean | Boolean | true, false |
| Struct | Nested structure | { age: 23, country: "SE" } |

