{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/github-copilot/json-schema/github-copilot-organization-copilot-code-review-settings-schema.json",
  "title": "Organization Copilot Code Review Settings",
  "description": "The organization's Copilot code review settings.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/github-copilot-copilot-api-openapi.yml#/components/schemas/organization-copilot-code-review-settings",
  "type": "object",
  "properties": {
    "default_review_effort": {
      "type": "object",
      "description": "The default review effort for repositories in the organization that do not choose their own. For more information, see [Review effort level](https://docs.github.com/copilot/concepts/agent-capabilities/agent-powered-workflows-and-operations/code-review#review-effort-level).",
      "properties": {
        "configured": {
          "type": [
            "string",
            "null"
          ],
          "description": "The review effort stored for the organization. Null means the organization inherits the default, or has stored a value that is not currently available."
        },
        "effective": {
          "type": "string",
          "description": "The review effort that repositories without their own setting use. When that effort is not currently available for the organization, this reports the fallback effort instead."
        },
        "github_default": {
          "type": "string",
          "description": "The review effort the organization inherits when it does not configure one. This is the enterprise default when one applies, otherwise GitHub's default."
        },
        "editable": {
          "type": "boolean",
          "description": "Whether organization administrators can update the setting."
        },
        "managed_by": {
          "type": "string",
          "description": "Whether the enterprise or the organization controls the setting.",
          "enum": [
            "enterprise",
            "organization"
          ]
        }
      },
      "required": [
        "configured",
        "effective",
        "github_default",
        "editable",
        "managed_by"
      ]
    },
    "available_review_efforts": {
      "type": "array",
      "description": "The review efforts that can currently be set for this organization, in display order.",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "default_review_effort",
    "available_review_efforts"
  ]
}