---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/llm/openai_responses/validation/variables/openAIResponsesOptionsSchema.md
description: Validator schema for `OpenAIResponsesAdapterOptions`.
---

# Variable: openAIResponsesOptionsSchema

```ts
const openAIResponsesOptionsSchema: ObjectSchema<OpenAIResponsesAdapterOptions>;
```

Defined in: [src/batteries/llm/openai\_responses/validation.ts:184](https://github.com/NHTIO/ADK/blob/v1.20260901.0/src/src/batteries/llm/openai_responses/validation.ts#L184)

Validator schema for `OpenAIResponsesAdapterOptions`.

## Remarks

Used by `validateOptions` at construction time and again at the start of every iteration after
options have been merged (stash > executor > constructor). Rejects unknown top-level keys so
typos, removed fields, and every server-side-conversation-state key
(`previous_response_id`/`conversation`/`prompt`/`context_management`) fail loud — as does
`instructions`/`store`, which are simply not part of this options interface at all (see the
module remarks above).
