"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FieldsValidationSchema = exports.fields = void 0;
const zod_1 = require("zod");
const extensions_core_1 = require("@awell-health/extensions-core");
exports.fields = {
    referenceDate: {
        id: 'referenceDate',
        label: 'Reference date',
        description: 'The date for which to calculate the next occurrence. If the year in the provided date is in the past, the next occurrence is computed in the upcoming year. If omitted, today’s date is used.',
        type: extensions_core_1.FieldType.DATE,
        required: false,
    },
};
exports.FieldsValidationSchema = zod_1.z.object({
    referenceDate: zod_1.z.optional(zod_1.z.coerce.date()),
});
//# sourceMappingURL=fields.js.map