---
url: 'https://adk.nht.io/api/@nhtio/adk/common/variables/mediaReaderSchema.md'
description: Validator schema used to validate a MediaReader value.
---

# Variable: mediaReaderSchema

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

Defined in: [lib/contracts/media\_reader.ts:54](https://github.com/NHTIO/ADK/blob/v1.20260605.0/src/lib/contracts/media_reader.ts#L54)

Validator schema used to validate a MediaReader value.

## Remarks

Because MediaReader is a structural interface with no associated constructor, validation is
duck-typed: the value must be an object, class instance, or function with `stream` and
`byteLength` present as callable properties. Arity is not enforced.
