{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/postman/main/json-schema/postman-pull-request-updated-schema.json",
  "title": "pullRequestUpdated",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/postman-pull-requests-api-openapi.yml#/components/schemas/pullRequestUpdated",
  "type": "object",
  "properties": {
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time at which the pull request was created."
    },
    "createdBy": {
      "type": "string",
      "description": "The ID of the user who created the pull request."
    },
    "description": {
      "type": "string",
      "description": "The pull request's description."
    },
    "destinationId": {
      "type": "string",
      "format": "uid",
      "description": "The pull request's merge destination ID."
    },
    "forkType": {
      "type": "string",
      "description": "The type of forked element."
    },
    "id": {
      "type": "string",
      "description": "The pull request's ID."
    },
    "sourceId": {
      "type": "string",
      "format": "uid",
      "description": "The unique ID of the source element."
    },
    "status": {
      "$ref": "#/$defs/PullRequestUpdatedStatus",
      "description": "The pull request's status."
    },
    "title": {
      "type": "string",
      "description": "The pull request's title."
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time at which the pull request was updated."
    }
  },
  "$defs": {
    "PullRequestUpdatedStatus": {
      "type": "string",
      "enum": [
        "open",
        "approved",
        "declined",
        "merged"
      ],
      "description": "The pull request's status.",
      "title": "PullRequestUpdatedStatus"
    }
  }
}