GitHub · Schema

Legacy Review Comment

Legacy Review Comment

CodeDeveloper ToolsPipelinesPlatformSoftware DevelopmentVersion ControlT1GitHubGit

Properties

Name Type Description
url string
pull_request_review_id integernull
id integer
node_id string
diff_hunk string
path string
position integernull
original_position integer
commit_id string
original_commit_id string
in_reply_to_id integer
user object
body string
created_at string
updated_at string
html_url string
pull_request_url string
author_association object
_links object
body_text string
body_html string
reactions object
side string The side of the first line of the range for a multi-line comment.
start_side stringnull The side of the first line of the range for a multi-line comment.
line integer The line of the blob to which the comment applies. The last line of the range for a multi-line comment
original_line integer The original line of the blob to which the comment applies. The last line of the range for a multi-line comment
start_line integernull The first line of the range for a multi-line comment.
original_start_line integernull The original first line of the range for a multi-line comment.
View JSON Schema on GitHub

JSON Schema

github-review-comment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/github/main/json-schema/github-review-comment-schema.json",
  "title": "Legacy Review Comment",
  "description": "Legacy Review Comment",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/github-pulls-api-openapi.yml#/components/schemas/review-comment",
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "format": "uri"
    },
    "pull_request_review_id": {
      "type": [
        "integer",
        "null"
      ]
    },
    "id": {
      "type": "integer"
    },
    "node_id": {
      "type": "string"
    },
    "diff_hunk": {
      "type": "string"
    },
    "path": {
      "type": "string"
    },
    "position": {
      "type": [
        "integer",
        "null"
      ]
    },
    "original_position": {
      "type": "integer"
    },
    "commit_id": {
      "type": "string"
    },
    "original_commit_id": {
      "type": "string"
    },
    "in_reply_to_id": {
      "type": "integer"
    },
    "user": {
      "$ref": "#/$defs/nullable-simple-user"
    },
    "body": {
      "type": "string"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    },
    "html_url": {
      "type": "string",
      "format": "uri"
    },
    "pull_request_url": {
      "type": "string",
      "format": "uri"
    },
    "author_association": {
      "$ref": "#/$defs/author-association"
    },
    "_links": {
      "type": "object",
      "properties": {
        "self": {
          "$ref": "#/$defs/link"
        },
        "html": {
          "$ref": "#/$defs/link"
        },
        "pull_request": {
          "$ref": "#/$defs/link"
        }
      },
      "required": [
        "self",
        "html",
        "pull_request"
      ]
    },
    "body_text": {
      "type": "string"
    },
    "body_html": {
      "type": "string"
    },
    "reactions": {
      "$ref": "#/$defs/reaction-rollup"
    },
    "side": {
      "description": "The side of the first line of the range for a multi-line comment.",
      "enum": [
        "LEFT",
        "RIGHT"
      ],
      "default": "RIGHT",
      "type": "string"
    },
    "start_side": {
      "type": [
        "string",
        "null"
      ],
      "description": "The side of the first line of the range for a multi-line comment.",
      "enum": [
        "LEFT",
        "RIGHT"
      ],
      "default": "RIGHT"
    },
    "line": {
      "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment",
      "type": "integer"
    },
    "original_line": {
      "description": "The original line of the blob to which the comment applies. The last line of the range for a multi-line comment",
      "type": "integer"
    },
    "start_line": {
      "description": "The first line of the range for a multi-line comment.",
      "type": [
        "integer",
        "null"
      ]
    },
    "original_start_line": {
      "description": "The original first line of the range for a multi-line comment.",
      "type": [
        "integer",
        "null"
      ]
    }
  },
  "required": [
    "id",
    "node_id",
    "url",
    "body",
    "diff_hunk",
    "path",
    "position",
    "original_position",
    "commit_id",
    "original_commit_id",
    "user",
    "pull_request_review_id",
    "html_url",
    "pull_request_url",
    "_links",
    "author_association",
    "created_at",
    "updated_at"
  ],
  "$defs": {
    "author-association": {
      "title": "author_association",
      "type": "string",
      "description": "How the author is associated with the repository.",
      "enum": [
        "COLLABORATOR",
        "CONTRIBUTOR",
        "FIRST_TIMER",
        "FIRST_TIME_CONTRIBUTOR",
        "MANNEQUIN",
        "MEMBER",
        "NONE",
        "OWNER"
      ]
    },
    "link": {
      "title": "Link",
      "description": "Hypermedia Link",
      "type": "object",
      "properties": {
        "href": {
          "type": "string"
        }
      },
      "required": [
        "href"
      ]
    },
    "nullable-simple-user": {
      "title": "Simple User",
      "description": "A GitHub user.",
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "email": {
          "type": [
            "string",
            "null"
          ]
        },
        "login": {
          "type": "string"
        },
        "id": {
          "type": "integer"
        },
        "node_id": {
          "type": "string"
        },
        "avatar_url": {
          "type": "string",
          "format": "uri"
        },
        "gravatar_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "html_url": {
          "type": "string",
          "format": "uri"
        },
        "followers_url": {
          "type": "string",
          "format": "uri"
        },
        "following_url": {
          "type": "string"
        },
        "gists_url": {
          "type": "string"
        },
        "starred_url": {
          "type": "string"
        },
        "subscriptions_url": {
          "type": "string",
          "format": "uri"
        },
        "organizations_url": {
          "type": "string",
          "format": "uri"
        },
        "repos_url": {
          "type": "string",
          "format": "uri"
        },
        "events_url": {
          "type": "string"
        },
        "received_events_url": {
          "type": "string",
          "format": "uri"
        },
        "type": {
          "type": "string"
        },
        "site_admin": {
          "type": "boolean"
        },
        "starred_at": {
          "type": "string"
        }
      },
      "required": [
        "avatar_url",
        "events_url",
        "followers_url",
        "following_url",
        "gists_url",
        "gravatar_id",
        "html_url",
        "id",
        "node_id",
        "login",
        "organizations_url",
        "received_events_url",
        "repos_url",
        "site_admin",
        "starred_url",
        "subscriptions_url",
        "type",
        "url"
      ]
    },
    "reaction-rollup": {
      "title": "Reaction Rollup",
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "format": "uri"
        },
        "total_count": {
          "type": "integer"
        },
        "+1": {
          "type": "integer"
        },
        "-1": {
          "type": "integer"
        },
        "laugh": {
          "type": "integer"
        },
        "confused": {
          "type": "integer"
        },
        "heart": {
          "type": "integer"
        },
        "hooray": {
          "type": "integer"
        },
        "eyes": {
          "type": "integer"
        },
        "rocket": {
          "type": "integer"
        }
      },
      "required": [
        "url",
        "total_count",
        "+1",
        "-1",
        "laugh",
        "confused",
        "heart",
        "hooray",
        "eyes",
        "rocket"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/github-review-comment"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.