{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-codecommit/json-schema/amazon-codecommit-create-commit-output-schema.json",
  "title": "CreateCommitOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-codecommit-commit-api-openapi.yml#/components/schemas/CreateCommitOutput",
  "type": "object",
  "properties": {
    "commitId": {
      "type": "string",
      "description": "The full commit ID of the commit that contains your committed file changes."
    },
    "treeId": {
      "type": "string",
      "description": "The full SHA-1 pointer of the tree information for the commit that contains the commited file changes."
    },
    "filesAdded": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/FileMetadata"
      },
      "description": "The files added as part of the committed file changes."
    },
    "filesUpdated": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/FileMetadata"
      },
      "description": "The files updated as part of the commited file changes."
    },
    "filesDeleted": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/FileMetadata"
      },
      "description": "The files deleted as part of the committed file changes."
    }
  },
  "$defs": {
    "FileMetadata": {
      "type": "object",
      "properties": {
        "absolutePath": {
          "type": "string",
          "description": "The full path to the file to be added or updated, including the name of the file."
        },
        "blobId": {
          "type": "string",
          "description": "The blob ID that contains the file information."
        },
        "fileMode": {
          "type": "string",
          "enum": [
            "EXECUTABLE",
            "NORMAL",
            "SYMLINK"
          ],
          "description": "The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL."
        }
      }
    }
  }
}