{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/bitbucket/refs/heads/main/json-schema/bitbucket-cloud-rest-api-commit-schema.json",
  "title": "Commit",
  "description": "A Bitbucket Cloud commit.",
  "type": "object",
  "properties": {
    "type": { "type": "string" },
    "hash": { "type": "string", "description": "The commit hash." },
    "date": { "type": "string", "format": "date-time", "description": "The commit date." },
    "author": { "type": "object", "description": "The commit author.", "properties": { "raw": { "type": "string" }, "user": { "type": "object" } } },
    "message": { "type": "string", "description": "The commit message." },
    "parents": { "type": "array", "items": { "type": "object", "properties": { "hash": { "type": "string" } } } },
    "repository": { "type": "object" }
  }
}
