{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/postman/main/json-schema/postman-pull-request-review-schema.json", "title": "pullRequestReview", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/postman-pull-requests-api-openapi.yml#/components/schemas/pullRequestReview", "type": "object", "properties": { "action": { "$ref": "#/$defs/PullRequestReviewAction", "description": "The action to perform on the pull request:\n- `approve` — Approve the pull request for merge.\n- `decline` — Decline the pull request.\n- `merge` — Merge the pull request into its parent element.\n- `unapprove` — Revokes a pull request's `approve` status. This action does not decline the pull request.\n" }, "comment": { "type": "string", "description": "If the pull request is a `decline` status, an optoinal comment about why the pull request was declined." } }, "required": [ "action" ], "$defs": { "PullRequestReviewAction": { "type": "string", "enum": [ "approve", "decline", "merge", "unapprove" ], "description": "The action to perform on the pull request:\n- `approve` — Approve the pull request for merge.\n- `decline` — Decline the pull request.\n- `merge` — Merge the pull request into its parent element.\n- `unapprove` — Revokes a pull request's `approve` status. This action does not decline the pull request.\n", "title": "PullRequestReviewAction" } } }