/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 5ddf25711c75
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const BlobResourceContents$inboundSchema = z.object({
    uri: z.string(),
    mimeType: z.nullable(z.string()).optional(),
    _meta: z.nullable(z.record(z.string(), z.any())).optional(),
    blob: z.string(),
}).catchall(z.any()).transform((v) => {
    return remap$(v, {
        "_meta": "meta",
    });
});
export function blobResourceContentsFromJSON(jsonString) {
    return safeParse(jsonString, (x) => BlobResourceContents$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'BlobResourceContents' from JSON`);
}
//# sourceMappingURL=blobresourcecontents.js.map