Redocly · Schema

pull_request opened event

Artificial IntelligenceAPI CatalogAPI DocumentationArazzoDeveloper PortalGovernanceLintingMCPMonitoringOpenAPIA2A

Properties

Name Type Description
action string
number integer The pull request number.
pull_request object
repository object
installation object
organization object
sender object
View JSON Schema on GitHub

JSON Schema

redocly-pull-request-opened-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/redocly/main/json-schema/redocly-pull-request-opened-schema.json",
  "title": "pull_request opened event",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/redocly-webhooks-api-openapi.yml#/components/schemas/pull-request-opened",
  "type": "object",
  "required": [
    "action",
    "number",
    "pull_request",
    "repository",
    "sender"
  ],
  "properties": {
    "action": {
      "type": "string",
      "enum": [
        "opened"
      ]
    },
    "number": {
      "type": "integer",
      "description": "The pull request number."
    },
    "pull_request": {
      "allOf": [
        {
          "$ref": "#/$defs/pull-request"
        },
        {
          "type": "object",
          "required": [
            "state",
            "closed_at",
            "merged_at",
            "active_lock_reason",
            "merged_by"
          ],
          "properties": {
            "state": {
              "type": "string",
              "enum": [
                "open"
              ]
            },
            "closed_at": {
              "type": "null"
            },
            "merged_at": {
              "type": "null"
            },
            "active_lock_reason": {
              "type": "null"
            },
            "merged_by": {
              "type": "null"
            }
          },
          "additionalProperties": false
        }
      ]
    },
    "repository": {
      "$ref": "#/$defs/repository"
    },
    "installation": {
      "$ref": "#/$defs/installation-lite"
    },
    "organization": {
      "$ref": "#/$defs/organization"
    },
    "sender": {
      "$ref": "#/$defs/user"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "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"
      ],
      "title": "AuthorAssociation"
    },
    "auto-merge": {
      "type": "object",
      "required": [
        "enabled_by",
        "merge_method",
        "commit_title",
        "commit_message"
      ],
      "properties": {
        "enabled_by": {
          "$ref": "#/$defs/user"
        },
        "merge_method": {
          "type": "string",
          "enum": [
            "merge",
            "squash",
            "rebase"
          ],
          "description": "The merge method to use."
        },
        "commit_title": {
          "type": "string",
          "description": "Title for the merge commit message."
        },
        "commit_message": {
          "type": "string",
          "description": "Commit message for the merge commit."
        }
      },
      "additionalProperties": false,
      "title": "PullRequestAutoMerge",
      "description": "The status of auto merging a pull request."
    },
    "installation-lite": {
      "description": "Installation.",
      "type": "object",
      "required": [
        "id",
        "node_id"
      ],
      "properties": {
        "id": {
          "type": "integer",
          "description": "The ID of the installation."
        },
        "node_id": {
          "type": "string"
        }
      },
      "additionalProperties": false,
      "title": "InstallationLite"
    },
    "label": {
      "type": "object",
      "required": [
        "id",
        "node_id",
        "url",
        "name",
        "color",
        "default",
        "description"
      ],
      "properties": {
        "id": {
          "type": "integer"
        },
        "node_id": {
          "type": "string"
        },
        "url": {
          "description": "URL for the label.",
          "type": "string",
          "format": "uri"
        },
        "name": {
          "description": "The name of the label.",
          "type": "string"
        },
        "description": {
          "type": [
            "string",
            "null"
          ]
        },
        "color": {
          "description": "6-character hex code, without the leading #, identifying the color.",
          "type": "string"
        },
        "default": {
          "type": "boolean"
        }
      },
      "additionalProperties": false,
      "title": "Label"
    },
    "license": {
      "type": "object",
      "required": [
        "key",
        "name",
        "spdx_id",
        "url",
        "node_id"
      ],
      "properties": {
        "key": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "spdx_id": {
          "type": "string"
        },
        "url": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri"
        },
        "node_id": {
          "type": "string"
        }
      },
      "additionalProperties": false,
      "title": "License"
    },
    "link": {
      "required": [
        "href"
      ],
      "type": "object",
      "properties": {
        "href": {
          "type": "string",
          "format": "uri-template"
        }
      },
      "additionalProperties": false,
      "title": "Link"
    },
    "milestone": {
      "description": "A collection of related issues and pull requests.",
      "required": [
        "url",
        "html_url",
        "labels_url",
        "id",
        "node_id",
        "number",
        "title",
        "description",
        "creator",
        "open_issues",
        "closed_issues",
        "state",
        "created_at",
        "updated_at",
        "due_on",
        "closed_at"
      ],
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "format": "uri"
        },
        "html_url": {
          "type": "string",
          "format": "uri"
        },
        "labels_url": {
          "type": "string",
          "format": "uri"
        },
        "id": {
          "type": "integer"
        },
        "node_id": {
          "type": "string"
        },
        "number": {
          "type": "integer",
          "description": "The number of the milestone."
        },
        "title": {
          "type": "string",
          "description": "The title of the milestone."
        },
        "description": {
          "type": [
            "string",
            "null"
          ]
        },
        "creator": {
          "$ref": "#/$defs/user"
        },
        "open_issues": {
          "type": "integer"
        },
        "closed_issues": {
          "type": "integer"
        },
        "state": {
          "type": "string",
          "enum": [
            "open",
            "closed"
          ],
          "description": "The state of the milestone."
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        },
        "due_on": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "closed_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        }
      },
      "additionalProperties": false,
      "title": "Milestone"
    },
    "organization": {
      "type": "object",
      "required": [
        "login",
        "id",
        "node_id",
        "url",
        "repos_url",
        "events_url",
        "hooks_url",
        "issues_url",
        "members_url",
        "public_members_url",
        "avatar_url",
        "description"
      ],
      "properties": {
        "login": {
          "type": "string"
        },
        "id": {
          "type": "integer"
        },
        "node_id": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "html_url": {
          "type": "string",
          "format": "uri"
        },
        "repos_url": {
          "type": "string",
          "format": "uri"
        },
        "events_url": {
          "type": "string",
          "format": "uri"
        },
        "hooks_url": {
          "type": "string",
          "format": "uri"
        },
        "issues_url": {
          "type": "string",
          "format": "uri"
        },
        "members_url": {
          "type": "string",
          "format": "uri-template"
        },
        "public_members_url": {
          "type": "string",
          "format": "uri-template"
        },
        "avatar_url": {
          "type": "string",
          "format": "uri"
        },
        "description": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false,
      "title": "Organization"
    },
    "pull-request": {
      "required": [
        "url",
        "id",
        "node_id",
        "html_url",
        "diff_url",
        "patch_url",
        "issue_url",
        "number",
        "state",
        "locked",
        "title",
        "user",
        "body",
        "created_at",
        "updated_at",
        "closed_at",
        "merged_at",
        "merge_commit_sha",
        "assignee",
        "assignees",
        "requested_reviewers",
        "requested_teams",
        "labels",
        "milestone",
        "commits_url",
        "review_comments_url",
        "review_comment_url",
        "comments_url",
        "statuses_url",
        "head",
        "base",
        "_links",
        "author_association",
        "auto_merge",
        "active_lock_reason",
        "draft",
        "merged",
        "mergeable",
        "rebaseable",
        "mergeable_state",
        "merged_by",
        "comments",
        "review_comments",
        "maintainer_can_modify",
        "commits",
        "additions",
        "deletions",
        "changed_files"
      ],
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "format": "uri"
        },
        "id": {
          "type": "integer"
        },
        "node_id": {
          "type": "string"
        },
        "html_url": {
          "type": "string",
          "format": "uri"
        },
        "diff_url": {
          "type": "string",
          "format": "uri"
        },
        "patch_url": {
          "type": "string",
          "format": "uri"
        },
        "issue_url": {
          "type": "string",
          "format": "uri"
        },
        "number": {
          "type": "integer",
          "description": "Number uniquely identifying the pull request within its repository."
        },
        "state": {
          "type": "string",
          "enum": [
            "open",
            "closed"
          ],
          "description": "State of this Pull Request. Either `open` or `closed`."
        },
        "locked": {
          "type": "boolean"
        },
        "title": {
          "type": "string",
          "description": "The title of the pull request."
        },
        "user": {
          "$ref": "#/$defs/user"
        },
        "body": {
          "type": [
            "string",
            "null"
          ]
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        },
        "closed_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "merged_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "merge_commit_sha": {
          "type": [
            "string",
            "null"
          ]
        },
        "assignee": {
          "oneOf": [
            {
              "$ref": "#/$defs/user"
            },
            {
              "type": "null"
            }
          ]
        },
        "assignees": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/user"
          }
        },
        "requested_reviewers": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "$ref": "#/$defs/user"
              },
              {
                "$ref": "#/$defs/team"
              }
            ]
          }
        },
        "requested_teams": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/team"
          }
        },
        "labels": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/label"
          }
        },
        "milestone": {
          "oneOf": [
            {
              "$ref": "#/$defs/milestone"
            },
            {
              "type": "null"
            }
          ]
        },
        "commits_url": {
          "type": "string",
          "format": "uri"
        },
        "review_comments_url": {
          "type": "string",
          "format": "uri"
        },
        "review_comment_url": {
          "type": "string",
          "format": "uri-template"
        },
        "comments_url": {
          "type": "string",
          "format": "uri"
        },
        "statuses_url": {
          "type": "string",
          "format": "uri"
        },
        "head": {
          "type": "object",
          "required": [
            "label",
            "ref",
            "sha",
            "user",
            "repo"
          ],
          "properties": {
            "label": {
              "type": "string"
            },
            "ref": {
              "type": "string"
            },
            "sha": {
              "type": "string"
            },
            "user": {
              "$ref": "#/$defs/user"
            },
            "repo": {
              "$ref": "#/$defs/repository"
            }
          },
          "additionalProperties": false
        },
        "base": {
          "type": "object",
          "required": [
            "label",
            "ref",
            "sha",
            "user",
            "repo"
          ],
          "properties": {
            "label": {
              "type": "string"
            },
            "ref": {
              "type": "string"
            },
            "sha": {
              "type": "string"
            },
            "user": {
              "$ref": "#/$defs/user"
            },
            "repo": {
              "$ref": "#/$defs/repository"
            }
          },
          "additionalProperties": false
        },
        "_links": {
          "type": "object",
          "required": [
            "self",
            "html",
            "issue",
            "comments",
            "review_comments",
            "review_comment",
            "commits",
            "statuses"
          ],
          "properties": {
            "self": {
              "$ref": "#/$defs/link"
            },
            "html": {
              "$ref": "#/$defs/link"
            },
            "issue": {
              "$ref": "#/$defs/link"
            },
            "comments": {
              "$ref": "#/$defs/link"
            },
            "review_comments": {
              "$ref": "#/$defs/link"
            },
            "review_comment": {
              "$ref": "#/$defs/link"
            },
            "commits": {
              "$ref": "#/$defs/link"
            },
            "statuses": {
              "$ref": "#/$defs/link"
            }
          },
          "additionalProperties": false
        },
        "author_association": {
          "$ref": "#/$defs/author-association"
        },
        "auto_merge": {
          "oneOf": [
            {
              "$ref": "#/$defs/auto-merge"
            },
            {
              "type": "null"
            }
          ]
        },
        "active_lock_reason": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "resolved",
            "off-topic",
            "too heated",
            "spam",
            null
          ]
        },
        "draft": {
          "type": "boolean",
          "description": "Indicates whether or not the pull request is a draft."
        },
        "merged": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "mergeable": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "rebaseable": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "mergeable_state": {
          "type": "string"
        },
        "merged_by": {
          "oneOf": [
            {
              "$ref": "#/$defs/user"
            },
            {
              "type": "null"
            }
          ]
        },
        "comments": {
          "type": "integer"
        },
        "review_comments": {
          "type": "integer"
        },
        "maintainer_can_modify": {
          "type": "boolean",
          "description": "Indicates whether maintainers can modify the pull request."
        },
        "commits": {
          "type": "integer"
        },
        "additions": {
          "type": "integer"
        },
        "deletions": {
          "type": "integer"
        },
        "changed_files": {
          "type": "integer"
        }
      },
      "additionalProperties": false,
      "title": "Pull Request"
    },
    "repository": {
      "description": "A git repository.",
      "type": "object",
      "required": [
        "id",
        "node_id",
        "name",
        "full_name",
        "private",
        "owner",
        "html_url",
        "description",
        "fork",
        "url",
        "forks_url",
        "keys_url",
        "collaborators_url",
        "teams_url",
        "hooks_url",
        "issue_events_url",
        "events_url",
        "assignees_url",
        "branches_url",
        "tags_url",
        "blobs_url",
        "git_tags_url",
        "git_refs_url",
        "trees_url",
        "statuses_url",
        "languages_url",
        "stargazers_url",
        "contributors_url",
        "subscribers_url",
        "subscription_url",
        "commits_url",
        "git_commits_url",
        "comments_url",
        "issue_comment_url",
        "contents_url",
        "compare_url",
        "merges_url",
        "archive_url",
        "downloads_url",
        "issues_url",
        "pulls_url",
        "milestones_url",
        "notifications_url",
        "labels_url",
        "releases_url",
        "deployments_url",
        "created_at",
        "updated_at",
        "pushed_at",
        "git_url",
        "ssh_url",
        "clone_url",
        "svn_url",
        "homepage",
        "size",
        "stargazers_count",
        "watchers_count",
        "language",
        "has_issues",
        "has_projects",
        "has_downloads",
        "has_wiki",
        "has_pages",
        "forks_count",
        "mirror_url",
        "archived",
        "open_issues_count",
        "license",
        "forks",
        "open_issues",
        "watchers",
        "default_branch",
        "is_template",
        "web_commit_signoff_required",
        "topics",
        "visibility"
      ],
      "properties": {
        "id": {
          "type": "integer",
          "description": "Unique identifier of the repository."
        },
        "node_id": {
          "type": "string",
          "description": "The GraphQL identifier of the repository."
        },
        "name": {
          "type": "string",
          "description": "The name of the repository."
        },
        "full_name": {
          "type": "string",
          "description": "The full, globally unique, name of the repository."
        },
        "private": {
          "type": "boolean",
          "description": "Whether the repository is private or public."
        },
        "owner": {
          "$ref": "#/$defs/user"
        },
        "html_url": {
          "type": "string",
          "format": "uri",
          "description": "The URL to view the repository on GitHub.com."
        },
        "description": {
          "type": [
            "string",
            "null"
          ],
          "description": "The repository description."
        },
        "fork": {
          "type": "boolean",
          "description": "Whether the repository is a fork."
        },
        "url": {
          "type": "string",
          "format": "uri",
          "description": "The URL to get more information about the repository from the GitHub API."
        },
        "forks_url": {
          "type": "string",
          "format": "uri",
          "description": "The API URL to list the forks of the repository."
        },
        "keys_url": {
          "type": "string",
          "format": "uri-template",
          "description": "A template for the API URL to get information about deploy keys on the repository."
        },
        "collaborators_url": {
          "type": "string",
          "format": "uri-template",
          "description": "A template for the API URL to get information about collaborators of the repository."
        },
        "teams_url": {
          "type": "string",
          "format": "uri",
          "description": "The API URL to list the teams on the repository."
        },
        "hooks_url": {
          "type": "string",
          "format": "uri",
          "description": "The API URL to list the hooks on the repository."
        },
        "issue_events_url": {
          "type": "string",
          "format": "uri-template",
          "description": "A template for the API URL to get information about issue events on the repository."
        },
        "events_url": {
          "type": "string",
          "format": "uri",
          "description": "The API URL to list the events of the repository."
        },
        "assignees_url": {
          "type": "string",
          "format": "uri-template",
          "description": "A template for the API URL to list the available assignees for issues in the repository."
        },
        "branches_url": {
          "type": "string",
          "format": "uri-template",
          "description": "A template for the API URL to get information about branches in the repository."
        },
        "tags_url": {
          "type": "string",
          "format": "uri",
          "description": "The API URL to get information about tags on the repository."
        },
        "blobs_url": {
          "type": "string",
          "format": "uri-template",
          "description": "A template for the API URL to create or retrieve a raw Git blob in the repository."
        },
        "git_tags_url": {
          "type": "string",
          "format": "uri-template",
          "description": "A template for the API URL to get information about Git tags of the repository."
        },
        "git_refs_url": {
          "type": "string",
          "format": "uri-template",
          "description": "A template for the API URL to get information about Git refs of the repository."
        },
        "trees_url": {
          "type": "string",
          "format": "uri-template",
          "description": "A template for the API URL to create or retrieve a raw Git tree of the repository."
        },
        "statuses_url": {
          "type": "string",
          "format": "uri-template",
          "description": "A template for the API URL to get information about statuses of a commit."
        },
        "languages_url": {
          "type": "string",
          "format": "uri",
          "description": "The API URL to get information about the languages of the repository."
        },
        "stargazers_url": {
          "type": "string",
          "format": "uri",
          "description": "The API URL to list the stargazers on the repository."
        },
        "contributors_url": {
          "type": "string",
          "format": "uri",
          "description": "A template for the API URL to list the contributors to the repository."
        },
        "subscribers_url": {
          "type": "string",
          "format": "uri",
          "description": "The API URL to list the subscribers on the repository."
        },
        "subscription_url": {
          "type": "string",
          "format": "uri",
          "description": "The API URL to subscribe to notifications for this repository."
        },
        "commits_url": {
          "type": "string",
          "format": "uri-template",
          "description": "A template for the API URL to get information about commits on the repository."
        },
        "git_commits_url": {
          "type": "string",
          "format": "uri-template",
          "description": "A template for the API URL to get information about Git commits of the repository."
        },
        "comments_url": {
          "type": "string",
          "format": "uri-template",
          "description": "A template for the API URL to get information about comments on the repository."
        },
        "issue_comment_url": {
          "type": "string",
          "format": "uri-template",
          "description": "A template for the API URL to get information about issue comments on the repository."
        },
        "contents_url": {
          "type": "string",
          "format": "uri-template",
          "description": "A template for the API URL to get the contents of the repository."
        },
        "compare_url": {
          "type": "string",
          "format": "uri-template",
          "description": "A template for the API URL to compare two commits or refs."
        },
        "merges_url": {
          "type": "string",
          "format": "uri",
          "description": "The API URL to merge branches in the repository."
        },
        "archive_url": {
          "type": "string",
          "format": "uri-template",
          "description": "A template for the API URL to download the repository as an archive."
        },
        "downloads_url": {
          "type": "string",
          "format": "uri",
          "description": "The API URL to list the downloads on the repository."
        },
        "issues_url": {
          "type": "string",
          "format": "uri-template",
          "description": "A template for the API URL to get information about issues on the repository."
        },
        "pulls_url": {
          "type": "string",
          "format": "uri-template",
          "description": "A template for the API URL to get information about pull requests on the repository."
        },
        "milestones_url": {
          "type": "string",
          "format": "uri-template",
          "description": "A template for the API URL to get information about milestones of the repository."
        },
        "notifications_url": {
          "type": "string",
          "format": "uri-template",
          "description": "A template for the API URL to get information about notifications on the repository."
        },
        "labels_url": {
          "type": "string",
          "format": "uri-template",
          "description": "A template for the API URL to get information about labels of the repository."
        },
        "releases_url": {
          "type": "string",
          "format": "uri-template",
          "description": "A template for the API URL to get information about releases on the repository."
        },
        "deployments_url": {
          "type": "string",
          "format": "uri",
          "description": "The API URL to list the deployments of the repository."
        },
        "created_at": {
          "oneOf": [
            {
              "type": "integer"
            },
            {
              "type": "string",
              "format": "date-time"
            }
          ]
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        },
        "pushed_at": {
          "oneOf": [
            {
              "type": "integer"
            },
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ]
        },
        "git_url": {
          "type": "string",
          "format": "uri"
        },
        "ssh_url": {
          "type": "string"
        },
        "clone_url": {
          "type": "string",
          "format": "uri"
        },
        "svn_url": {
          "type": "string",
          "format": "uri"
        },
        "homepage": {
          "type": [
            "string",
            "null"
          ]
        },
        "size": {
          "type": "integer"
        },
        "stargazers_count": {
          "type": "integer"
        },
        "watchers_count": {
          "type": "integer"
        },
        "language": {
          "type": [
            "string",
            "null"
          ]
        },
        "has_issues": {
          "type": "boolean",
          "description": "Whether issues are enabled.",
          "default": true
        },
        "has_projects": {
          "type": "boolean",
          "description": "Whether projects are enabled.",
          "default": true
        },
        "has_downloads": {
          "type": "boolean",
          "description": "Whether downloads are enabled.",
          "default": true
        },
        "has_wiki": {
          "type": "boolean",
          "description": "Whether the wiki is enabled.",
          "default": true
        },
        "has_pages": {
          "type": "boolean"
        },
        "forks_count": {
          "type": "integer"
        },
        "mirror_url": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri"
        },
        "archived": {
          "type": "boolean",
          "description": "Whether the repository is archived.",
          "default": false
        },
        "disabled": {
          "type": "boolean",
          "description": "Returns whether or not this repository is disabled."
        },
        "open_issues_count": {
          "type": "integer"
        },
        "license": {
          "oneOf": [
            {
              "$ref": "#/$defs/license"
            },
            {
              "type": "null"
            }
          ]
        },
        "forks": {
          "type": "integer"
        },
        "open_issues": {
          "type": "integer"
        },
        "watchers": {
          "type": "integer"
        },
        "stargazers": {
          "type": "integer"
        },
        "default_branch": {
          "type": "string",
          "description": "The default branch of the repository."
        },
        "allow_squash_merge": {
          "type": "boolean",
          "description": "Whether to allow squash merges for pull requests.",
          "default": true
        },
        "allow_merge_commit": {
          "type": "boolean",
          "description": "Whether to allow merge commits for pull requests.",
          "default": true
        },
        "allow_rebase_merge": {
          "type": "boolean",
          "description": "Whether to allow rebase merges for pull requests.",
          "default": true
        },
        "allow_auto_merge": {
          "type": "boolean",
          "description": "Whether to allow auto-merge for pull requests.",
          "default": false
        },
        "allow_forking": {
          "type": "boolean",
          "description": "Whether to allow private forks."
        },
        "allow_update_branch": {
          "type": "boolean"
        },
        "use_squash_pr_title_as_default": {
          "type": "boolean"
        },
        "is_template": {
          "type": "boolean"
        },
        "web_commit_signoff_required": {
          "type": "boolean"
        },
        "topics": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "visibility": {
          "type": "string",
          "enum": [
            "public",
            "private",
            "internal"
          ]
        },
        "delete_branch_on_merge": {
          "type": "boolean",
          "description": "Whether to delete head branches when pull requests are merged.",
          "default": false
        },
        "master_branch": {
          "type": "string"
        },
        "permissions": {
          "type": "object",
          

# --- truncated at 32 KB (38 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/redocly/refs/heads/main/json-schema/redocly-pull-request-opened-schema.json

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/redocly-pull-request-opened"
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.