Files
ohif-viewer/Packages/ohif-user-management/both/schema/reviewers.js
T
Erik Ziegler ab4d4c9008 Work on refactoring measurements out of Lesion Tracker package
- Removed AssociatedStudies Collection
- Measurement API is generated from configuration files
- Data exchange methods are defined in configuration
2016-11-15 08:21:46 +01:00

25 lines
524 B
JavaScript

import { SimpleSchema } from 'meteor/aldeed:simple-schema';
const ReviewingUserSchema = new SimpleSchema({
userId: {
type: String,
label: 'User ID'
},
userName: { // TODO: Remove this
type: String,
label: 'Name'
}
});
export const schema = new SimpleSchema({
timepointId: {
type: String,
label: 'Timepoint ID',
regEx: SimpleSchema.RegEx.Id
},
reviewers: {
type: [ ReviewingUserSchema ],
label: 'Reviewing Users'
}
});