Skip to main content

Common fields shared by all feature rule types. Specific rule types extend this base with their own required properties (value, coverage, etc.).

description
string
required
Maximum string length: 10000
id
string
required
enabled
boolean
required
type
string
required
Allowed value: "force"
value
string
required
condition
string
scheduleRules
object[]

Simple time-based on/off schedule for this rule

scheduleType
enum<string>

UI hint for which scheduling mode is active:

  • none – no schedule
  • schedule – simple time-based enable/disable via scheduleRules
  • ramp – multi-step ramp-up controlled by an associated RampSchedule document
Available options:
none,
schedule,
ramp
rampScheduleId
string

ID of the active RampSchedule document controlling this rule. Present when scheduleType is ramp and a live schedule exists.

savedGroupTargeting
object[]
prerequisites
object[]
allProjects
boolean

When true (the default) the rule applies to every project the feature is delivered to. When false the rule is limited to projects.

projects
string[]

Project IDs this rule is scoped to when allProjects is false. An empty array scopes the rule to no project.

sparse
boolean

JSON features only. When true, value is a partial object merged onto the feature's default value instead of replacing it.