{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-codecommit/json-schema/amazon-codecommit-get-commit-output-schema.json",
  "title": "GetCommitOutput",
  "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/GetCommitOutput",
  "type": "object",
  "properties": {
    "commit": {
      "$ref": "#/$defs/Commit"
    }
  },
  "required": [
    "commit"
  ],
  "$defs": {
    "Commit": {
      "type": "object",
      "properties": {
        "commitId": {
          "type": "string",
          "description": "The full SHA ID of the specified commit."
        },
        "treeId": {
          "type": "string",
          "description": "Tree information for the specified commit."
        },
        "parents": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of parent commits for the specified commit. Each parent commit ID is the full commit ID."
        },
        "message": {
          "type": "string",
          "description": "The commit message associated with the specified commit."
        },
        "author": {
          "$ref": "#/$defs/UserInfo"
        },
        "committer": {
          "$ref": "#/$defs/UserInfo"
        },
        "additionalData": {
          "type": "string",
          "description": "Any other data associated with the specified commit."
        }
      }
    },
    "UserInfo": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the user who made the specified commit."
        },
        "email": {
          "type": "string",
          "description": "The email address associated with the user who made the commit, if any."
        },
        "date": {
          "type": "string",
          "description": "The date when the specified commit was commited, in timestamp format with GMT offset."
        }
      }
    }
  }
}