{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-codecommit/json-schema/amazon-codecommit-list-pull-requests-input-schema.json",
  "title": "ListPullRequestsInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-codecommit-pull-request-api-openapi.yml#/components/schemas/ListPullRequestsInput",
  "type": "object",
  "properties": {
    "repositoryName": {
      "type": "string",
      "description": "The name of the repository for which you want to list pull requests."
    },
    "authorArn": {
      "type": "string",
      "description": "Optional. The Amazon Resource Name (ARN) of the user who created the pull request. If used, this filters the results to pull requests created by that user."
    },
    "pullRequestStatus": {
      "type": "string",
      "enum": [
        "OPEN",
        "CLOSED"
      ],
      "description": "Optional. The status of the pull request. If used, this refines the results to the pull requests that match the specified status."
    },
    "nextToken": {
      "type": "string",
      "description": "An enumeration token that, when provided in a request, returns the next batch of the results."
    },
    "maxResults": {
      "type": "integer",
      "description": "A non-zero, non-negative integer used to limit the number of returned results."
    }
  },
  "required": [
    "repositoryName"
  ]
}