Redocly · Schema

PullRequest

Artificial IntelligenceAPI CatalogAPI DocumentationArazzoDeveloper PortalGovernanceLintingMCPMonitoringOpenAPIA2A

Properties

Name Type Description
id string Pull request Id.
number integer Pull request number.
branchName string Branch name.
title string PR title.
description string PR description.
status string PR status.
isDraft boolean Indicates whether or not the pull request is a draft.
reviewers array List of reviewers.
createdBy object User who create PR.
closedById string User id who close PR.
mergedById string User id who merged PR.
organizationId string Organization ID.
organization object Organization.
projectId string Project ID.
project object Project.
reviews array list of reviews.
createdAt string Created date.
updatedAt string Updated date.
View JSON Schema on GitHub

JSON Schema

redocly-pull-request-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-schema.json",
  "title": "PullRequest",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/redocly-remotes-api-openapi.yml#/components/schemas/PullRequest",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "ulid",
      "description": "Pull request Id.",
      "readOnly": true
    },
    "number": {
      "description": "Pull request number.",
      "type": "integer",
      "readOnly": true
    },
    "branchName": {
      "description": "Branch name.",
      "type": "string",
      "maxLength": 512
    },
    "title": {
      "description": "PR title.",
      "type": "string",
      "maxLength": 512
    },
    "description": {
      "description": "PR description.",
      "type": "string"
    },
    "status": {
      "description": "PR status.",
      "type": "string",
      "default": "OPEN",
      "enum": [
        "OPEN",
        "CLOSED",
        "MERGED"
      ]
    },
    "isDraft": {
      "description": "Indicates whether or not the pull request is a draft.",
      "type": "boolean"
    },
    "reviewers": {
      "description": "List of reviewers.",
      "type": "array",
      "readOnly": true,
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "ulid",
            "description": "User id.",
            "readOnly": true
          },
          "firstName": {
            "description": "User first name.",
            "type": "string",
            "readOnly": true
          },
          "lastName": {
            "description": "User last name.",
            "type": "string",
            "readOnly": true
          }
        },
        "required": [
          "id",
          "firstName",
          "lastName"
        ]
      },
      "default": []
    },
    "createdBy": {
      "description": "User who create PR.",
      "type": "object",
      "readOnly": true,
      "properties": {
        "id": {
          "type": "string",
          "format": "ulid",
          "description": "User id.",
          "readOnly": true
        },
        "firstName": {
          "description": "User first name.",
          "type": "string",
          "readOnly": true
        },
        "lastName": {
          "description": "User last name.",
          "type": "string",
          "readOnly": true
        }
      },
      "required": [
        "id",
        "firstName",
        "lastName"
      ]
    },
    "closedById": {
      "type": "string",
      "format": "ulid",
      "description": "User id who close PR.",
      "readOnly": true
    },
    "mergedById": {
      "type": "string",
      "format": "ulid",
      "description": "User id who merged PR.",
      "readOnly": true
    },
    "organizationId": {
      "description": "Organization ID.",
      "type": "string",
      "readOnly": true
    },
    "organization": {
      "description": "Organization.",
      "properties": {
        "name": {
          "description": "Organization name.",
          "type": "string"
        }
      }
    },
    "projectId": {
      "description": "Project ID.",
      "type": "string",
      "readOnly": true
    },
    "project": {
      "description": "Project.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Project name.",
          "type": "string"
        }
      }
    },
    "reviews": {
      "description": "list of reviews.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "ulid"
          },
          "status": {
            "type": "string",
            "enum": [
              "APPROVED",
              "REQUESTED_CHANGES",
              "COMMENTED"
            ]
          },
          "userId": {
            "type": "string",
            "format": "ulid"
          },
          "user": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "format": "ulid",
                "description": "User id."
              },
              "firstName": {
                "description": "User first name.",
                "type": "string"
              },
              "lastName": {
                "description": "User last name.",
                "type": "string"
              }
            }
          }
        }
      }
    },
    "createdAt": {
      "description": "Created date.",
      "type": "string",
      "readOnly": true,
      "format": "date-time"
    },
    "updatedAt": {
      "description": "Updated date.",
      "type": "string",
      "readOnly": true,
      "format": "date-time"
    }
  },
  "required": [
    "id",
    "number",
    "branchName",
    "commitHash",
    "title",
    "status",
    "reviewers",
    "createdAt",
    "updatedAt",
    "createdBy"
  ]
}

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"
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.