{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/github-copilot/json-schema/github-copilot-copilot-code-review-request-schema.json",
  "title": "Copilot Code Review Request",
  "description": "A request for Copilot to review a pull request.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/github-copilot-pulls-api-openapi.yml#/components/schemas/copilot-code-review-request",
  "type": "object",
  "properties": {
    "node_id": {
      "type": "string",
      "description": "The global node ID of the review request."
    },
    "state": {
      "type": "string",
      "description": "The current state of the review request.",
      "enum": [
        "PENDING"
      ]
    }
  },
  "required": [
    "node_id",
    "state"
  ]
}