"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.addressSchema = void 0;
const zod_1 = require("zod");
exports.addressSchema = zod_1.z.object({
    use: zod_1.z.enum(['home', 'work', 'temp', 'old']),
    type: zod_1.z.enum(['both', 'physical', 'postal']),
    line: zod_1.z.array(zod_1.z.string()),
    text: zod_1.z.string().optional(),
    city: zod_1.z.string(),
    state: zod_1.z.string().length(2),
    postalCode: zod_1.z.string().regex(/[0-9]{5}/),
});
//# sourceMappingURL=address.zod.js.map