Skip to main content

Plan

A user plan schema.

Attributes

Attribute NameTypeRequiredDefaultRefComments
nameStringtrue
majorsString[]
year_idsObjectId[]Year
distribution_idsObjectId[]Distribution
user_idStringtrue
expireAtDate

Example

{
_id: { $oid: "61cce47ca2ec790004427200" },
majors: ["B.S. Computer Science (OLD - Pre-2021)"],
year_ids: [
{ $oid: "61cce47ca2ec790004427202" },
{ $oid: "61cce47ca2ec790004427205" },
{ $oid: "61cce47ca2ec790004427207" },
{ $oid: "61cce47ca2ec790004427209" },
{ $oid: "61cce47ca2ec79000442720b" },
],
distribution_ids: [
{ $oid: "61cce47ca2ec790004427210" },
{ $oid: "61cce47ca2ec790004427214" },
{ $oid: "61cce47ca2ec790004427212" },
{ $oid: "61cce47ca2ec790004427216" },
{ $oid: "61cce47ca2ec79000442721c" },
],
name: "Unnamed Pland",
user_id: "guestUser",
expireAt: { $date: "2021-12-30T22:43:08.063Z" },
__v: 2,
reviewers: [],
};