---
url: 'https://adk.nht.io/api/@nhtio/adk/common/variables/byteStoreSchema.md'
description: 'Validator schema used to validate a [`ByteStore`](https://adk.nht.io/api/@nhtio/adk/common/interfaces/ByteStore) value.'
---

# Variable: byteStoreSchema

```ts
const byteStoreSchema: AnySchema<any>;
```

Defined in: [lib/contracts/byte\_store.ts:90](https://github.com/NHTIO/ADK/blob/v1.20260605.0/src/lib/contracts/byte_store.ts#L90)

Validator schema used to validate a [ByteStore](../interfaces/ByteStore.md) value.

## Remarks

Because `ByteStore` is a structural interface with no associated constructor, validation is
duck-typed: the value must be non-null with `write`, `read`, and `delete` present as callable
properties. Arity is not enforced — implementations may add optional parameters beyond the
contract. The reader type `R` cannot be checked structurally here; conformance of the reader is
the caller's concern at the point of use.
