# tech.waow.stash.file

> Published by [waow.tech](https://lexicon.garden/identity/did:plc:siv7zbedip4vcet4v67piibr)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:siv7zbedip4vcet4v67piibr/tech.waow.stash.file)
- [Documentation](https://lexicon.garden/lexicon/did:plc:siv7zbedip4vcet4v67piibr/tech.waow.stash.file/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:siv7zbedip4vcet4v67piibr/tech.waow.stash.file/examples)

## Definitions

### `tech.waow.stash.file`

**Type**: `record`

One stored file. The record key is the file name with characters outside the record-key set replaced by '-'.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `blob` | `blob` | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `name` | `string` | Yes |  |
| `note` | `string` | No |  |
| `sha256` | `string` | No | Hex digest of the bytes, when the writer could compute it. |
| `size` | `integer` | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "One stored file. The record key is the file name with characters outside the record-key set replaced by '-'.",
      "key": "any",
      "record": {
        "properties": {
          "blob": {
            "accept": [
              "*/*"
            ],
            "type": "blob"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "name": {
            "maxLength": 1024,
            "type": "string"
          },
          "note": {
            "maxLength": 3000,
            "type": "string"
          },
          "sha256": {
            "description": "Hex digest of the bytes, when the writer could compute it.",
            "maxLength": 64,
            "type": "string"
          },
          "size": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "name",
          "size",
          "blob",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "tech.waow.stash.file",
  "lexicon": 1
}
```
