"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");
const validation_1 = require("../../../validation");
exports.fields = {
    userId: {
        label: 'User ID',
        id: 'userId',
        type: extensions_core_1.FieldType.STRING,
        required: true,
        description: "The user's unique ID in Sendbird.",
    },
    metadata: {
        id: 'metadata',
        label: 'Metadata',
        description: 'A JSON object that can store up to five key-value items for additional user information.',
        type: extensions_core_1.FieldType.JSON,
        required: true,
    },
};
exports.FieldsValidationSchema = zod_1.z.object({
    userId: zod_1.z.string().nonempty(),
    metadata: validation_1.MetadataValidationSchema,
});
//# sourceMappingURL=fields.js.map