/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: d3e25b24457d
 */

import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";

export type DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteRequest = {
  judgeId: string;
};

/** @internal */
export type DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteRequest$Outbound = {
  judge_id: string;
};

/** @internal */
export const DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteRequest$outboundSchema:
  z.ZodType<
    DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteRequest$Outbound,
    DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteRequest
  > = z.object({
    judgeId: z.string(),
  }).transform((v) => {
    return remap$(v, {
      judgeId: "judge_id",
    });
  });

export function deleteJudgeV1ObservabilityJudgesJudgeIdDeleteRequestToJSON(
  deleteJudgeV1ObservabilityJudgesJudgeIdDeleteRequest:
    DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteRequest,
): string {
  return JSON.stringify(
    DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteRequest$outboundSchema.parse(
      deleteJudgeV1ObservabilityJudgesJudgeIdDeleteRequest,
    ),
  );
}
