Pull Request Minimal

APIs.ioEngineeringPlatform

Properties

Name Type Description
id integer
number integer
url string
head object
base object
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-pull-request-minimal-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/pull-request-minimal",
  "title": "Pull Request Minimal",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64"
    },
    "number": {
      "type": "integer"
    },
    "url": {
      "type": "string"
    },
    "head": {
      "type": "object",
      "properties": {
        "ref": {
          "type": "string"
        },
        "sha": {
          "type": "string"
        },
        "repo": {
          "type": "object",
          "properties": {
            "id": {
              "type": "integer",
              "format": "int64"
            },
            "url": {
              "type": "string"
            },
            "name": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "url",
            "name"
          ]
        }
      },
      "required": [
        "ref",
        "sha",
        "repo"
      ]
    },
    "base": {
      "type": "object",
      "properties": {
        "ref": {
          "type": "string"
        },
        "sha": {
          "type": "string"
        },
        "repo": {
          "type": "object",
          "properties": {
            "id": {
              "type": "integer",
              "format": "int64"
            },
            "url": {
              "type": "string"
            },
            "name": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "url",
            "name"
          ]
        }
      },
      "required": [
        "ref",
        "sha",
        "repo"
      ]
    }
  },
  "required": [
    "id",
    "number",
    "url",
    "head",
    "base"
  ]
}