{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/webhooks_review", "title": "webhooks_review", "description": "The review that was affected.", "type": "object", "properties": { "_links": { "type": "object", "properties": { "html": { "title": "Link", "type": "object", "properties": { "href": { "type": "string", "format": "uri-template" } }, "required": [ "href" ] }, "pull_request": { "title": "Link", "type": "object", "properties": { "href": { "type": "string", "format": "uri-template" } }, "required": [ "href" ] } }, "required": [ "html", "pull_request" ] }, "author_association": { "title": "AuthorAssociation", "description": "How the author is associated with the repository.", "type": "string", "enum": [ "COLLABORATOR", "CONTRIBUTOR", "FIRST_TIMER", "FIRST_TIME_CONTRIBUTOR", "MANNEQUIN", "MEMBER", "NONE", "OWNER" ] }, "body": { "description": "The text of the review.", "type": "string", "nullable": true }, "commit_id": { "description": "A commit SHA for the review.", "type": "string" }, "html_url": { "type": "string", "format": "uri" }, "id": { "description": "Unique identifier of the review", "type": "integer" }, "node_id": { "type": "string" }, "pull_request_url": { "type": "string", "format": "uri" }, "state": { "type": "string" }, "submitted_at": { "type": "string", "nullable": true, "format": "date-time" }, "user": { "title": "User", "type": "object", "nullable": true, "properties": { "avatar_url": { "type": "string", "format": "uri" }, "deleted": { "type": "boolean" }, "email": { "type": "string", "nullable": true }, "events_url": { "type": "string", "format": "uri-template" }, "followers_url": { "type": "string", "format": "uri" }, "following_url": { "type": "string", "format": "uri-template" }, "gists_url": { "type": "string", "format": "uri-template" }, "gravatar_id": { "type": "string" }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer", "format": "int64" }, "login": { "type": "string" }, "name": { "type": "string" }, "node_id": { "type": "string" }, "organizations_url": { "type": "string", "format": "uri" }, "received_events_url": { "type": "string", "format": "uri" }, "repos_url": { "type": "string", "format": "uri" }, "site_admin": { "type": "boolean" }, "starred_url": { "type": "string", "format": "uri-template" }, "subscriptions_url": { "type": "string", "format": "uri" }, "type": { "type": "string", "enum": [ "Bot", "User", "Organization" ] }, "url": { "type": "string", "format": "uri" } }, "required": [ "login", "id" ] } }, "required": [ "id", "node_id", "user", "body", "commit_id", "submitted_at", "state", "html_url", "pull_request_url", "author_association", "_links" ] }