/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 0376653bca71
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import { safeParse } from "../../lib/schemas.js";
import { OtelFieldDefinition$inboundSchema, } from "./otelfielddefinition.js";
/** @internal */
export const GetLogFields$inboundSchema = z
    .object({
    field_definitions: z.array(OtelFieldDefinition$inboundSchema),
}).transform((v) => {
    return remap$(v, {
        "field_definitions": "fieldDefinitions",
    });
});
export function getLogFieldsFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetLogFields$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetLogFields' from JSON`);
}
//# sourceMappingURL=getlogfields.js.map