/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 3202dbe3c1e9
 */
import * as z from "zod/v4";
import { safeParse } from "../../lib/schemas.js";
import { TempoTraceResource$inboundSchema, } from "./tempotraceresource.js";
import { TempoTraceScopeSpan$inboundSchema, } from "./tempotracescopespan.js";
/** @internal */
export const TempoTraceBatch$inboundSchema = z.object({
    resource: TempoTraceResource$inboundSchema,
    scopeSpans: z.array(TempoTraceScopeSpan$inboundSchema).optional(),
});
export function tempoTraceBatchFromJSON(jsonString) {
    return safeParse(jsonString, (x) => TempoTraceBatch$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TempoTraceBatch' from JSON`);
}
//# sourceMappingURL=tempotracebatch.js.map