{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/cloudbees/main/json-schema/cloudbees-api-flag-flag-configuration-optional-schema.json", "title": "api.flag.FlagConfigurationOptional", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/cloudbees-flag-configurations-api-openapi.yml#/components/schemas/api.flag.FlagConfigurationOptional", "type": "object", "properties": { "enabled": { "type": "boolean", "description": "Whether the feature flag is enabled in this environment. Omit to leave the current value unchanged." }, "defaultValue": { "allOf": [ { "$ref": "#/$defs/google.protobuf.Value" } ], "description": "The default value returned to users who do not match any targeting condition. Omit to leave the current value unchanged." }, "conditions": { "allOf": [ { "$ref": "#/$defs/google.protobuf.ListValue" } ], "description": "The list of targeting conditions that determine which users receive specific flag values. Omit to leave the current value unchanged." }, "stickinessProperty": { "type": "string", "description": "The user attribute used to ensure consistent flag evaluation for the same user. Omit to leave the current value unchanged." }, "variantsEnabled": { "type": "boolean", "description": "Whether multivariate variants are enabled. Omit to leave the current value unchanged." } }, "$defs": { "google.protobuf.ListValue": { "description": "`ListValue` is a wrapper around a repeated field of values.\n\n The JSON representation for `ListValue` is JSON array.", "type": "array", "items": {} }, "google.protobuf.Value": { "description": "Represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values." } } }