/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import * as z from "zod";
import { remap as remap$ } from "../../lib/primitives.js";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const HumanAnatomyAnalysisDataTags$inboundSchema = z.object({});
/** @internal */
export const HumanAnatomyAnalysisDataTags$outboundSchema = z.object({});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var HumanAnatomyAnalysisDataTags$;
(function (HumanAnatomyAnalysisDataTags$) {
    /** @deprecated use `HumanAnatomyAnalysisDataTags$inboundSchema` instead. */
    HumanAnatomyAnalysisDataTags$.inboundSchema = HumanAnatomyAnalysisDataTags$inboundSchema;
    /** @deprecated use `HumanAnatomyAnalysisDataTags$outboundSchema` instead. */
    HumanAnatomyAnalysisDataTags$.outboundSchema = HumanAnatomyAnalysisDataTags$outboundSchema;
})(HumanAnatomyAnalysisDataTags$ || (HumanAnatomyAnalysisDataTags$ = {}));
export function humanAnatomyAnalysisDataTagsToJSON(humanAnatomyAnalysisDataTags) {
    return JSON.stringify(HumanAnatomyAnalysisDataTags$outboundSchema.parse(humanAnatomyAnalysisDataTags));
}
export function humanAnatomyAnalysisDataTagsFromJSON(jsonString) {
    return safeParse(jsonString, (x) => HumanAnatomyAnalysisDataTags$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HumanAnatomyAnalysisDataTags' from JSON`);
}
/** @internal */
export const HumanAnatomyAnalysisData$inboundSchema = z.object({
    tags: z.lazy(() => HumanAnatomyAnalysisDataTags$inboundSchema),
    model_version: z.number().int().optional(),
}).transform((v) => {
    return remap$(v, {
        "model_version": "modelVersion",
    });
});
/** @internal */
export const HumanAnatomyAnalysisData$outboundSchema = z.object({
    tags: z.lazy(() => HumanAnatomyAnalysisDataTags$outboundSchema),
    modelVersion: z.number().int().optional(),
}).transform((v) => {
    return remap$(v, {
        modelVersion: "model_version",
    });
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var HumanAnatomyAnalysisData$;
(function (HumanAnatomyAnalysisData$) {
    /** @deprecated use `HumanAnatomyAnalysisData$inboundSchema` instead. */
    HumanAnatomyAnalysisData$.inboundSchema = HumanAnatomyAnalysisData$inboundSchema;
    /** @deprecated use `HumanAnatomyAnalysisData$outboundSchema` instead. */
    HumanAnatomyAnalysisData$.outboundSchema = HumanAnatomyAnalysisData$outboundSchema;
})(HumanAnatomyAnalysisData$ || (HumanAnatomyAnalysisData$ = {}));
export function humanAnatomyAnalysisDataToJSON(humanAnatomyAnalysisData) {
    return JSON.stringify(HumanAnatomyAnalysisData$outboundSchema.parse(humanAnatomyAnalysisData));
}
export function humanAnatomyAnalysisDataFromJSON(jsonString) {
    return safeParse(jsonString, (x) => HumanAnatomyAnalysisData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HumanAnatomyAnalysisData' from JSON`);
}
//# sourceMappingURL=humananatomyanalysisdata.js.map