/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: e4565058b979
 */
import * as z from "zod/v4";
import { safeParse } from "../../lib/schemas.js";
import * as openEnums from "../../types/enums.js";
export const Audience = {
    User: "user",
    Assistant: "assistant",
};
/** @internal */
export const Audience$inboundSchema = openEnums
    .inboundSchema(Audience);
/** @internal */
export const Annotations$inboundSchema = z
    .object({
    audience: z.nullable(z.array(Audience$inboundSchema)).optional(),
    priority: z.nullable(z.number()).optional(),
}).catchall(z.any());
export function annotationsFromJSON(jsonString) {
    return safeParse(jsonString, (x) => Annotations$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Annotations' from JSON`);
}
//# sourceMappingURL=annotations.js.map