{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/calypsoai-com/json-schema/calypsoai-com-patch-campaign-run-project-access-body-schema.json",
  "title": "PatchCampaignRunProjectAccessBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/calypsoai-com-campaign-runs-api-openapi.yml#/components/schemas/PatchCampaignRunProjectAccessBody",
  "properties": {
    "global": {
      "description": "If true, the campaign run is available to all projects in the organization",
      "title": "Global",
      "type": "boolean"
    },
    "projectIds": {
      "default": [],
      "description": "List of project IDs that have access to the campaign run (must be empty if available_globally is true)",
      "items": {
        "format": "uuid",
        "type": "string"
      },
      "title": "Projectids",
      "type": "array"
    }
  },
  "required": [
    "global"
  ],
  "type": "object"
}