"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "PortalSurveyAssignmentSchema", {
    enumerable: true,
    get: function() {
        return PortalSurveyAssignmentSchema;
    }
});
const _zod = require("zod");
const _surveyschema = require("./survey.schema");
const _constants = require("@tamanu/constants");
const _userschema = require("./user.schema");
const _types = require("../../types");
const PortalSurveyAssignmentSchema = _zod.z.object({
    id: _zod.z.string(),
    survey: _surveyschema.SurveySchema,
    status: _zod.z.enum(_constants.PORTAL_SURVEY_ASSIGNMENTS_STATUSES),
    assignedBy: _userschema.UserSchema,
    facilityId: _types.foreignKey
});

//# sourceMappingURL=portalSurveyAssignment.schema.js.map