{ "title": "Review", "description": "A set of review comments on a pull/merge request.", "type": "object", "additionalProperties": false, "properties": { "index": { "description": "Unique identifier of the review.", "type": "string" }, "reviewer_id": { "description": "Unique identifier of review author.", "type": "string" }, "official": { "description": "True if a positive review counts to reach the required threshold.", "type": "boolean" }, "commit_id": { "description": "SHA of the commit targeted by the review.", "type": "string" }, "content": { "description": "Cover message of the review.", "type": "string" }, "created_at": { "description": "Creation time.", "type": "string", "format": "date-time" }, "state": { "description": "State of the review.", "enum": [ "PENDING", "APPROVED", "CHANGES_REQUESTED", "COMMENTED" ] }, "dissmissed": { "description": "True if the review was dismissed.", "type": "boolean" }, "stale": { "description": "True if the review is stale because the pull request content changed after it was published.", "type": "boolean" } }, "required": [ "index", "reviewer_id", "commit_id", "content", "created_at", "state" ], "$schema": "http://json-schema.org/draft-04/schema#", "$id": "https://code.forgejo.org/f3/f3-schemas/src/branch/main/review.json", "$$target": "review.json" }