{
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "description": "The title of the new pull request. Required unless `issue` is specified."
    },
    "head": {
      "type": "string",
      "description": "The name of the branch where your changes are implemented. For cross-repository pull requests in the same network, namespace `head` with a user like this: `username:branch`."
    },
    "head_repo": {
      "type": "string",
      "description": "The name of the repository where the changes in the pull request were made. This field is required for cross-repository pull requests if both repositories are owned by the same organization.",
      "format": "repo.nwo"
    },
    "base": {
      "type": "string",
      "description": "The name of the branch you want the changes pulled into. This should be an existing branch on the current repository. You cannot submit a pull request to one repository that requests a merge to a base of another repository."
    },
    "body": {
      "type": "string",
      "description": "The contents of the pull request."
    },
    "maintainer_can_modify": {
      "type": "boolean",
      "description": "Indicates whether [maintainers can modify](https://docs.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request."
    },
    "draft": {
      "type": "boolean",
      "description": "Indicates whether the pull request is a draft. See \"[Draft Pull Requests](https://docs.github.com/articles/about-pull-requests#draft-pull-requests)\" in the GitHub Help documentation to learn more."
    },
    "issue": {
      "type": "integer",
      "format": "int64",
      "description": "An issue in the repository to convert to a pull request. The issue title, body, and comments will become the title, body, and comments on the new pull request. Required unless `title` is specified.",
      "minimum": -9223372036854776000,
      "maximum": 9223372036854776000
    }
  },
  "required": [
    "head",
    "base"
  ],
  "$schema": "https://json-schema.org/draft/2019-09/schema"
}