{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aspern-org/json-schema/aspern-org-commit-request-schema.json",
  "title": "CommitRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aspern-org-attestation-api-openapi.yml#/components/schemas/CommitRequest",
  "type": "object",
  "required": [
    "digest",
    "seq",
    "leaf"
  ],
  "properties": {
    "digest": {
      "type": "string",
      "pattern": "^0x[0-9a-f]{64}$",
      "description": "The digest of the pre-registration this commitment attaches to. A commitment with no verified registration behind it is refused with a 404."
    },
    "seq": {
      "type": "integer",
      "minimum": 0,
      "description": "Sequence number, gapless. A gap is refused: the whole value of a commit chain is that nothing can be dropped from it later.",
      "x-unit": "count"
    },
    "leaf": {
      "type": "string",
      "pattern": "^0x[0-9a-f]{64}$",
      "description": "The 32-byte keccak hash being committed to."
    }
  }
}