{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/github/main/json-schema/github-git-commit-schema.json", "title": "Git Commit", "description": "Low-level Git commit operations within a repository", "x-generated": "2026-10-03", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/github-git-api-openapi.yml#/components/schemas/git-commit", "type": "object", "properties": { "sha": { "description": "SHA for the commit", "type": "string" }, "node_id": { "type": "string" }, "url": { "type": "string", "format": "uri" }, "author": { "description": "Identifying information for the git-user", "type": "object", "properties": { "date": { "description": "Timestamp of the commit", "format": "date-time", "type": "string" }, "email": { "type": "string", "description": "Git email address of the user" }, "name": { "description": "Name of the git user", "type": "string" } }, "required": [ "email", "name", "date" ] }, "committer": { "description": "Identifying information for the git-user", "type": "object", "properties": { "date": { "description": "Timestamp of the commit", "format": "date-time", "type": "string" }, "email": { "type": "string", "description": "Git email address of the user" }, "name": { "description": "Name of the git user", "type": "string" } }, "required": [ "email", "name", "date" ] }, "message": { "description": "Message describing the purpose of the commit", "type": "string" }, "tree": { "type": "object", "properties": { "sha": { "description": "SHA for the commit", "type": "string" }, "url": { "type": "string", "format": "uri" } }, "required": [ "sha", "url" ] }, "parents": { "type": "array", "items": { "type": "object", "properties": { "sha": { "description": "SHA for the commit", "type": "string" }, "url": { "type": "string", "format": "uri" }, "html_url": { "type": "string", "format": "uri" } }, "required": [ "sha", "url", "html_url" ] } }, "verification": { "type": "object", "properties": { "verified": { "type": "boolean" }, "reason": { "type": "string" }, "signature": { "type": [ "string", "null" ] }, "payload": { "type": [ "string", "null" ] } }, "required": [ "verified", "reason", "signature", "payload" ] }, "html_url": { "type": "string", "format": "uri" } }, "required": [ "sha", "node_id", "url", "html_url", "author", "committer", "tree", "message", "parents", "verification" ] }