> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hex65.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Exam attempt result

> The service's receipt for a finished exam attempt.

Schema: `urn:hex65:schema:exam-attempt-result:v1`. Every field below comes from the schema; the schema decides.

hex65.exam-attempt-result/v1: the service's receipt for an attempt's completion, signed by its `seal` key (payload type application/vnd.hex65.exam-attempt-result+json). The client commits `result_hash`, `laps_root` and `counts` before it shows any result (commit before reveal). The service derives the state: void when expired, when its exam grant's counted laps are not `counts.graded`, or when the void share is over 10 percent; else passed (feedback cleared) or failed. Only the first void-share void of a version does not consume budget. `feedback` is null for a void attempt.

## Fields

| Field | Type | Required | Meaning |
| - | - | - | - |
| `format` | `"hex65.exam-attempt-result/v1"` | yes | |
| `attempt_id` | string | yes | |
| `seal_hash` | string | yes | |
| `attempt_no` | integer | yes | |
| `state` | one of `"passed"`, `"failed"`, `"void"` | yes | |
| `consumes_budget` | boolean | yes | |
| `result_hash` | string | yes | |
| `laps_root` | string | yes | |
| `counts` | object | yes | |
| `counts.laps` | integer | yes | |
| `counts.graded` | integer | yes | |
| `counts.void` | integer | yes | |
| `feedback` | one of `"cleared"`, `"not_cleared_near"`, `"not_cleared_far"`, `null` | yes | |
| `void_reason` | one of `"void_share"`, `"expired"`, `"receipts_mismatch"`, `"tree_changed"`, `"containment"`, `"service"`, `null` | yes | |
| `completed_at` | string | yes | |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.