{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-get-configuration-bundle-response-schema.json",
  "title": "GetConfigurationBundleResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-bedrock-configuration-bundles-api-openapi.yml#/components/schemas/GetConfigurationBundleResponse",
  "type": "object",
  "properties": {
    "bundleArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the configuration bundle."
    },
    "bundleId": {
      "type": "string",
      "description": "The unique identifier of the configuration bundle."
    },
    "bundleName": {
      "type": "string",
      "description": "The name of the configuration bundle."
    },
    "description": {
      "type": "string",
      "description": "The description of the configuration bundle."
    },
    "versionId": {
      "type": "string",
      "description": "The version identifier of this configuration bundle."
    },
    "components": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/ComponentConfiguration"
      },
      "description": "A map of component identifiers to their configurations for this version."
    },
    "lineageMetadata": {
      "$ref": "#/$defs/VersionLineageMetadata"
    },
    "createdAt": {
      "type": "string",
      "description": "The timestamp when the configuration bundle was created."
    },
    "updatedAt": {
      "type": "string",
      "description": "The timestamp when the configuration bundle was last updated."
    },
    "kmsKeyArn": {
      "type": "string",
      "description": "KMS key ARN used to encrypt component configurations, if CMK was provided."
    }
  },
  "required": [
    "bundleArn",
    "bundleId",
    "bundleName",
    "versionId",
    "components",
    "createdAt",
    "updatedAt"
  ],
  "$defs": {
    "ComponentConfiguration": {
      "type": "object",
      "properties": {
        "configuration": {
          "type": "object",
          "description": "The configuration values as a flexible JSON document."
        }
      },
      "required": [
        "configuration"
      ]
    },
    "VersionCreatedBySource": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the source (for example, user, optimization-job, or system)."
        },
        "arn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the source, if applicable (for example, a user ARN or optimization job ARN)."
        }
      },
      "required": [
        "name"
      ]
    },
    "VersionLineageMetadata": {
      "type": "object",
      "properties": {
        "parentVersionIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of parent version identifiers. Regular commits have 0-1 parents. Merge commits have 2 parents: the target branch parent and the source branch parent. The first parent represents the primary lineage."
        },
        "branchName": {
          "type": "string",
          "description": "The branch name for this version. If not specified, inherits the parent's branch or defaults to mainline."
        },
        "createdBy": {
          "$ref": "#/$defs/VersionCreatedBySource"
        },
        "commitMessage": {
          "type": "string",
          "description": "A commit message describing the changes in this version."
        }
      }
    }
  }
}