/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import * as z from "zod";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const DeleteSchoolRequest$inboundSchema = z.object({
    sourcedId: z.string(),
});
/** @internal */
export const DeleteSchoolRequest$outboundSchema = z.object({
    sourcedId: z.string(),
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var DeleteSchoolRequest$;
(function (DeleteSchoolRequest$) {
    /** @deprecated use `DeleteSchoolRequest$inboundSchema` instead. */
    DeleteSchoolRequest$.inboundSchema = DeleteSchoolRequest$inboundSchema;
    /** @deprecated use `DeleteSchoolRequest$outboundSchema` instead. */
    DeleteSchoolRequest$.outboundSchema = DeleteSchoolRequest$outboundSchema;
})(DeleteSchoolRequest$ || (DeleteSchoolRequest$ = {}));
export function deleteSchoolRequestToJSON(deleteSchoolRequest) {
    return JSON.stringify(DeleteSchoolRequest$outboundSchema.parse(deleteSchoolRequest));
}
export function deleteSchoolRequestFromJSON(jsonString) {
    return safeParse(jsonString, (x) => DeleteSchoolRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeleteSchoolRequest' from JSON`);
}
//# sourceMappingURL=deleteschool.js.map