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

import * as z from "zod/v4";

export type CreateDatasetRequest = {
  name: string;
  description: string;
};

/** @internal */
export type CreateDatasetRequest$Outbound = {
  name: string;
  description: string;
};

/** @internal */
export const CreateDatasetRequest$outboundSchema: z.ZodType<
  CreateDatasetRequest$Outbound,
  CreateDatasetRequest
> = z.object({
  name: z.string(),
  description: z.string(),
});

export function createDatasetRequestToJSON(
  createDatasetRequest: CreateDatasetRequest,
): string {
  return JSON.stringify(
    CreateDatasetRequest$outboundSchema.parse(createDatasetRequest),
  );
}
