/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 40d26bb7d760
 */
import * as z from "zod/v4";
import { safeParse } from "../../lib/schemas.js";
import { TempoTraceScope$inboundSchema, } from "./tempotracescope.js";
import { TempoTraceSpan$inboundSchema, } from "./tempotracespan.js";
/** @internal */
export const TempoTraceScopeSpan$inboundSchema = z.object({
    scope: TempoTraceScope$inboundSchema,
    spans: z.array(TempoTraceSpan$inboundSchema).optional(),
});
export function tempoTraceScopeSpanFromJSON(jsonString) {
    return safeParse(jsonString, (x) => TempoTraceScopeSpan$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TempoTraceScopeSpan' from JSON`);
}
//# sourceMappingURL=tempotracescopespan.js.map