# haus.hash.submission

> Published by [hash.haus](https://lexicon.garden/identity/did:plc:kfp3bz5mfmasgl3i5pekwmlm)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:kfp3bz5mfmasgl3i5pekwmlm/haus.hash.submission)
- [Documentation](https://lexicon.garden/lexicon/did:plc:kfp3bz5mfmasgl3i5pekwmlm/haus.hash.submission/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:kfp3bz5mfmasgl3i5pekwmlm/haus.hash.submission/examples)

## Definitions

### `haus.hash.submission`

**Type**: `record`

A hash submission for the hash.haus leaderboard.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `hash` | `string` | Yes | The resulting hex-encoded hash of did/suffix. |
| `suffix` | `string` | Yes | The suffix appended to the user's DID to produce the hash input. |
| `algorithm` | `string` | Yes | The hash algorithm used. |
| `createdAt` | `string` (datetime) | Yes | Timestamp of the submission. |

## Raw Schema

```json
{
  "id": "haus.hash.submission",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "suffix",
          "algorithm",
          "hash",
          "createdAt"
        ],
        "properties": {
          "hash": {
            "type": "string",
            "maxLength": 64,
            "minLength": 32,
            "description": "The resulting hex-encoded hash of did/suffix."
          },
          "suffix": {
            "type": "string",
            "maxLength": 32,
            "minLength": 1,
            "description": "The suffix appended to the user's DID to produce the hash input."
          },
          "algorithm": {
            "type": "string",
            "description": "The hash algorithm used.",
            "knownValues": [
              "sha256",
              "md5"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Timestamp of the submission."
          }
        }
      },
      "description": "A hash submission for the hash.haus leaderboard."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
