/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 059096015c3e
 */
import * as z from "zod/v4";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const MCPServerRemoteHeader$inboundSchema = z.object({
    name: z.string(),
    description: z.string(),
    isRequired: z.nullable(z.boolean()).optional(),
    isSecret: z.nullable(z.boolean()).optional(),
    default: z.nullable(z.string()).optional(),
    choices: z.nullable(z.array(z.string())).optional(),
});
export function mcpServerRemoteHeaderFromJSON(jsonString) {
    return safeParse(jsonString, (x) => MCPServerRemoteHeader$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'MCPServerRemoteHeader' from JSON`);
}
//# sourceMappingURL=mcpserverremoteheader.js.map