{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "Issue",
        "PullRequest"
      ],
      "description": "The type of item to add to the project. Must be either Issue or PullRequest."
    },
    "id": {
      "type": "integer",
      "description": "The unique identifier of the issue or pull request to add to the project."
    },
    "owner": {
      "type": "string",
      "description": "The repository owner login."
    },
    "repo": {
      "type": "string",
      "description": "The repository name."
    },
    "number": {
      "type": "integer",
      "description": "The issue or pull request number."
    }
  },
  "required": [
    "type"
  ],
  "oneOf": [
    {
      "required": [
        "id"
      ]
    },
    {
      "required": [
        "owner",
        "repo",
        "number"
      ]
    }
  ],
  "$schema": "https://json-schema.org/draft/2019-09/schema"
}