Skip to content

Flag Definitions

Flags

flags is a required property. The flags property is a top-level property that contains a collection of individual flags and their corresponding flag configurations.

{
  "$schema": "https://flagd.dev/schema/v0/flags.json",
  "flags": {
    ...
  }
}

Flag Definition

flag key is a required property. The flag key must uniquely identify a flag so it can be used during flag evaluation. The flag key should convey the intent of the flag.

{
  "$schema": "https://flagd.dev/schema/v0/flags.json",
  "flags": {
    "new-welcome-banner": {
      ...
    }
  }