> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gobl.org/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 | Key of the algorithm used to generate the value. |
| Value | `val` | string | Hexadecimal representation of the hash generated by the algorithm. |

## Validation Rules

| Field | Test | Validation Code / Message |
| - | - | - |
| `alg` | <ul><li>Present</li></ul> | `GOBL-DSIG-DIGEST-01` Algorithm is required |
| `val` | <ul><li>Present</li></ul> | `GOBL-DSIG-DIGEST-02` Value is required |


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