{ "$schema": "https://json-schema.org/draft-07/schema#", "type": "object", "properties": { "id": { "type": ["null", "integer"] }, "iid": { "type": ["null", "integer"] }, "project_id": { "type": ["null", "integer"] }, "title": { "type": ["null", "string"] }, "description": { "type": ["null", "string"] }, "state": { "type": ["null", "string"] }, "created_at": { "type": ["null", "string"], "format": "date-time" }, "prepared_at": { "type": ["null", "string"], "format": "date-time" }, "updated_at": { "type": ["null", "string"], "format": "date-time" }, "merged_at": { "type": ["null", "string"], "format": "date-time" }, "closed_at": { "type": ["null", "string"], "format": "date-time" }, "target_branch": { "type": ["null", "string"] }, "source_branch": { "type": ["null", "string"] }, "user_notes_count": { "type": ["null", "integer"] }, "upvotes": { "type": ["null", "integer"] }, "downvotes": { "type": ["null", "integer"] }, "assignees": { "type": ["null", "array"], "items": { "type": ["null", "integer"] } }, "reviewers": { "type": ["null", "array"] }, "source_project_id": { "type": ["null", "integer"] }, "target_project_id": { "type": ["null", "integer"] }, "labels": { "type": ["null", "array"], "items": { "type": ["null", "string"] } }, "work_in_progress": { "type": ["null", "boolean"] }, "merge_when_pipeline_succeeds": { "type": ["null", "boolean"] }, "merge_status": { "type": ["null", "string"] }, "sha": { "type": ["null", "string"] }, "merge_commit_sha": { "type": ["null", "string"] }, "squash_commit_sha": { "type": ["null", "string"] }, "discussion_locked": { "type": ["null", "boolean"] }, "should_remove_source_branch": { "type": ["null", "boolean"] }, "force_remove_source_branch": { "type": ["null", "boolean"] }, "reference": { "type": ["null", "string"] }, "references": { "type": ["null", "object"] }, "web_url": { "type": ["null", "string"] }, "time_stats": { "type": ["null", "object"] }, "squash": { "type": ["null", "boolean"] }, "task_completion_status": { "type": ["null", "object"] }, "has_conflicts": { "type": ["null", "boolean"] }, "blocking_discussions_resolved": { "type": ["null", "boolean"] }, "approvals_before_merge": { "type": ["null", "boolean", "string", "object"] }, "author": { "type": ["null", "object"], "additionalProperties": true }, "author_id": { "type": ["null", "integer"] }, "assignee": { "type": ["null", "object"], "additionalProperties": true }, "assignee_id": { "type": ["null", "integer"] }, "closed_by": { "type": ["null", "object"], "additionalProperties": true }, "closed_by_id": { "type": ["null", "integer"] }, "milestone": { "type": ["null", "object"], "additionalProperties": true }, "milestone_id": { "type": ["null", "integer"] }, "merged_by": { "type": ["null", "object"], "additionalProperties": true }, "merged_by_id": { "type": ["null", "integer"] }, "draft": { "type": ["null", "boolean"] }, "detailed_merge_status": { "type": ["null", "string"] }, "squash_on_merge": { "type": ["null", "boolean"] }, "merge_user": { "type": ["null", "object"], "properties": { "id": { "type": ["null", "integer"] }, "name": { "type": ["null", "string"] }, "username": { "type": ["null", "string"] }, "state": { "type": ["null", "string"] }, "avatar_url": { "type": ["null", "string"] }, "web_url": { "type": ["null", "string"] } } } } }