{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-codeartifact/json-schema/amazon-codeartifact-get-associated-package-group-request-schema.json",
  "title": "GetAssociatedPackageGroupRequest",
  "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/GetAssociatedPackageGroupRequest",
  "type": "object",
  "properties": {
    "domain": {
      "type": "string",
      "description": "The name of the domain that contains the package from which to get the associated package group."
    },
    "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."
    },
    "format": {
      "type": "string",
      "enum": [
        "npm",
        "pypi",
        "maven",
        "nuget",
        "generic",
        "ruby",
        "swift",
        "cargo"
      ],
      "description": "The format of the package from which to get the associated package group."
    },
    "namespace": {
      "type": "string",
      "description": "The namespace of the package from which to get the associated package group. The package component that specifies its namespace depends on its type. For example: The namespace is required when getting associated package groups from packages of the following formats: Maven Swift generic The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a na"
    },
    "package": {
      "type": "string",
      "description": "The package from which to get the associated package group."
    }
  },
  "required": [
    "domain",
    "format",
    "package"
  ]
}