# Function zodObjectToSchema

- zodObjectToSchema(
  schema:
  | ZodObject<
  ZodRawShape,
  UnknownKeysParam,
  ZodTypeAny,
  { [key: string]: any },
  { [key: string]: any },
  >
  | ZodObject<
  Readonly<
  {
  [k: string]: $ZodType<
  unknown,
  unknown,
  $ZodTypeInternals<unknown, unknown>,
  >;
  },
  >,
  $strip,
  >,
  ): Schema

  #### Parameters

  - schema:
    | ZodObject<
    ZodRawShape,
    UnknownKeysParam,
    ZodTypeAny,
    { [key: string]: any },
    { [key: string]: any },
    >
    | ZodObject<
    Readonly<
    {
    [k: string]: $ZodType<
    unknown,
    unknown,
    $ZodTypeInternals<unknown, unknown>,
    >;
    },
    >,
    $strip,
    >

  #### Returns Schema

  - Defined in utils/simple_zod_to_json.ts:67