{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-codeartifact/json-schema/amazon-codeartifact-list-package-groups-request-schema.json",
  "title": "ListPackageGroupsRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-codeartifact-operations-api-openapi.yml#/components/schemas/ListPackageGroupsRequest",
  "type": "object",
  "properties": {
    "domain": {
      "type": "string",
      "description": "The domain for which you want to list package groups."
    },
    "domainOwner": {
      "type": "string",
      "description": "The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces."
    },
    "maxResults": {
      "type": "integer",
      "description": "The maximum number of results to return per page."
    },
    "nextToken": {
      "type": "string",
      "description": "The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results."
    },
    "prefix": {
      "type": "string",
      "description": "A prefix for which to search package groups. When included, ListPackageGroups will return only package groups with patterns that match the prefix."
    }
  },
  "required": [
    "domain"
  ]
}