> ## Documentation Index
> Fetch the complete documentation index at: https://gobl-cli-install-gobl-dev.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Digest

Digest defines a structure to hold a digest value including the algorithm used to generate it.

## Schema ID

`https://gobl.org/draft-0/dsig/digest`

## Properties

| Title | Property | Type | Description |
| - | - | - | - |
| Algorithm | `alg` | string | Algorithm stores the algorithm key that was used to generate the value. |
| Value | `val` | string | Value contains the Hexadecimal representation of the resulting hash generated by the algorithm. |

## Validation Rules

| Field | Test | Validation Code / Message |
| - | - | - |
| `alg` | <ul class="gobl-test"><li class="gobl-test-present">Present</li></ul> | `GOBL-DSIG-DIGEST-01`<br />Algorithm is required |
| `val` | <ul class="gobl-test"><li class="gobl-test-present">Present</li></ul> | `GOBL-DSIG-DIGEST-02`<br />Value is required |


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