{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gluecron-com/json-schema/gluecron-com-put-api-v2-repos-owner-repo-branches-branch-protection-request-schema.json",
  "title": "PutApiV2ReposOwnerRepoBranchesBranchProtectionRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/gluecron-com-openapi-generated.yml#/components/schemas/PutApiV2ReposOwnerRepoBranchesBranchProtectionRequest",
  "type": "object",
  "properties": {
    "required_checks[]": {
      "type": "string"
    },
    "require_pr_run": {
      "type": "string"
    },
    "required_approvals": {
      "type": "string",
      "description": "0-10"
    },
    "require_human_review": {
      "type": "string"
    },
    "require_ai_approval": {
      "type": "string"
    },
    "require_green_gates": {
      "type": "string"
    },
    "require_pull_request": {
      "type": "string"
    },
    "dismiss_stale_reviews": {
      "type": "string"
    },
    "allow_force_push": {
      "type": "string"
    },
    "allow_deletion": {
      "type": "string"
    },
    "enable_auto_merge": {
      "type": "string"
    }
  }
}