import * as v from "@badrap/valita";
const jsonValueSchema = v.lazy(
  () => v.union(
    v.null(),
    v.string(),
    v.boolean(),
    v.number(),
    v.array(jsonValueSchema),
    jsonObjectSchema
  )
);
const jsonObjectSchema = v.record(
  v.union(jsonValueSchema, v.undefined())
);
export {
  jsonObjectSchema,
  jsonValueSchema
};
//# sourceMappingURL=json.js.map
