{
  "$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-target-group-usage-response-schema.json",
  "title": "api.CustomProperty.GetCustomPropertyTargetGroupUsageResponse",
  "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.GetCustomPropertyTargetGroupUsageResponse",
  "type": "object",
  "properties": {
    "targetGroupUsage": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/api.TargetGroup.TargetGroupUsage"
      },
      "description": "List of target groups that reference this custom property in their targeting rules."
    }
  },
  "$defs": {
    "api.TargetGroup.TargetGroupUsage": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier of the target group."
        },
        "name": {
          "type": "string",
          "description": "Display name of the target group."
        },
        "resourceId": {
          "type": "string",
          "description": "Unique identifier of the application that owns this target group."
        }
      }
    }
  }
}