CloudBees · Schema

api.flag.FlagConfigurationOptional

CI/CDContinuous DeliveryContinuous IntegrationDeveloper ToolsDevOpsFeature FlagsFeature ManagementJenkinsRelease OrchestrationSoftware Delivery

Properties

Name Type Description
enabled boolean Whether the feature flag is enabled in this environment. Omit to leave the current value unchanged.
defaultValue object The default value returned to users who do not match any targeting condition. Omit to leave the current value unchanged.
conditions object The list of targeting conditions that determine which users receive specific flag values. Omit to leave the current value unchanged.
stickinessProperty string The user attribute used to ensure consistent flag evaluation for the same user. Omit to leave the current value unchanged.
variantsEnabled boolean Whether multivariate variants are enabled. Omit to leave the current value unchanged.
View JSON Schema on GitHub

JSON Schema

cloudbees-api-flag-flag-configuration-optional-schema.json Raw ↑
{
  "$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."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/cloudbees-api-flag-flag-configuration-optional"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.