{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/cloudbees/main/json-schema/cloudbees-api-custom-property-get-custom-property-flags-usage-per-environment-response-schema.json", "title": "api.CustomProperty.GetCustomPropertyFlagsUsagePerEnvironmentResponse", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/cloudbees-flag-custom-properties-api-openapi.yml#/components/schemas/api.CustomProperty.GetCustomPropertyFlagsUsagePerEnvironmentResponse", "type": "object", "properties": { "environments": { "type": "array", "items": { "$ref": "#/$defs/api.TargetGroup.EnvironmentUsage" }, "description": "List of environments and the feature flags that reference this custom property in each environment." } }, "$defs": { "api.TargetGroup.EnvironmentUsage": { "type": "object", "properties": { "environmentId": { "type": "string", "description": "Unique identifier of the environment." }, "flagUsage": { "type": "array", "items": { "$ref": "#/$defs/api.TargetGroup.FlagUsageInEnvironment" }, "description": "Feature flags that reference the target group in this environment." } } }, "api.TargetGroup.FlagUsageInEnvironment": { "type": "object", "properties": { "id": { "type": "string", "description": "Unique identifier of the feature flag." }, "name": { "type": "string", "description": "Display name of the feature flag." }, "enabled": { "type": "boolean", "description": "Whether the feature flag is enabled in this environment." }, "resourceId": { "type": "string", "description": "Unique identifier of the application that owns this feature flag." } } } } }