{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudfront/json-schema/cloudfront-update-key-group-request-schema.json",
  "title": "UpdateKeyGroupRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudfront-key-group-api-openapi.yml#/components/schemas/UpdateKeyGroupRequest",
  "type": "object",
  "properties": {
    "KeyGroupConfig": {
      "$ref": "#/$defs/KeyGroupConfig"
    },
    "Id": {
      "type": "string",
      "description": "The identifier of the key group that you are updating."
    },
    "IfMatch": {
      "type": "string",
      "description": "The version of the key group that you are updating. The version is the key group's ETag value."
    }
  },
  "required": [
    "KeyGroupConfig",
    "Id"
  ],
  "$defs": {
    "KeyGroupConfig": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "A name to identify the key group."
        },
        "Items": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of the identifiers of the public keys in the key group."
        },
        "Comment": {
          "type": "string",
          "description": "A comment to describe the key group. The comment cannot be longer than 128 characters."
        }
      },
      "required": [
        "Name",
        "Items"
      ]
    }
  }
}