{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-codeartifact/json-schema/amazon-codeartifact-create-package-group-request-schema.json",
  "title": "CreatePackageGroupRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-codeartifact-package-group-api-openapi.yml#/components/schemas/CreatePackageGroupRequest",
  "type": "object",
  "properties": {
    "domain": {
      "type": "string",
      "description": "The name of the domain in which you want to create a 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."
    },
    "packageGroup": {
      "type": "string",
      "description": "The pattern of the package group to create. The pattern is also the identifier of the package group."
    },
    "contactInfo": {
      "type": "string",
      "description": "The contact information for the created package group."
    },
    "description": {
      "type": "string",
      "description": "A description of the package group."
    },
    "tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "One or more tag key-value pairs for the package group."
    }
  },
  "required": [
    "domain",
    "packageGroup"
  ],
  "$defs": {
    "Tag": {
      "type": "object",
      "properties": {
        "key": {
          "type": "string",
          "description": "The tag key."
        },
        "value": {
          "type": "string",
          "description": "The tag value."
        }
      },
      "required": [
        "key",
        "value"
      ]
    }
  }
}