Model rfvs
Permissions
| User Group | Create? | Read? | Update? | Delete? |
|---|
| admin | x | x | x | x |
| owner | x | x | x | x |
| user | x | x | | |
| all | | | | |
Fields
| Name | Type | Link | Maps To | Default | Indexed? | Unique? | Required? |
|---|
| __v | Number | | | | | | |
| _deleted | Boolean | | | false | x | | |
| _id | ObjectID | | | [Function] | | | |
| _owner_id | ObjectID | User | _owner | | x | | |
| _updated_by_id | ObjectID | User | _updated_by | | x | | |
| createdAt | Date | | | | | | |
| date | Date | | | | x | | |
| email | String | | | | x | | |
| frequency | Number | | | | | | |
| frequency_quantile_rank | Number | | | | | | |
| frequency_score | Number | | | | x | | |
| monetary_value | Number | | | | | | |
| monetary_value_score | Number | | | | x | | |
| reader_id | ObjectID | reader | | | x | | |
| recency | Date | | | | | | |
| recency_quantile_rank | Number | | | | | | |
| recency_score | Number | | | | x | | |
| total_lifetime_value | Number | | | | | | |
| total_lifetime_value_score | Number | | | | x | | |
| updatedAt | Date | | | | | | |
| volume | Number | | | | | | |
| volume_quantile_rank | Number | | | | | | |
| volume_score | Number | | | | x | | |
Field Details
__v
{
"path": "__v",
"instance": "Number",
"options": {},
"validators": []
}_deleted
{
"path": "_deleted",
"instance": "Boolean",
"options": {
"default": false,
"index": true
},
"validators": [],
"defaultValue": false
}_id
{
"path": "_id",
"instance": "ObjectID",
"options": {
"auto": true,
"type": "ObjectId"
},
"validators": [],
"defaultValue": "[Function]"
}_owner_id
{
"path": "_owner_id",
"instance": "ObjectID",
"options": {
"link": "User",
"map_to": "_owner",
"index": true
},
"validators": []
}_updated_by_id
{
"path": "_updated_by_id",
"instance": "ObjectID",
"options": {
"link": "User",
"map_to": "_updated_by",
"index": true
},
"validators": []
}createdAt
{
"path": "createdAt",
"instance": "Date",
"options": {
"immutable": true
},
"validators": []
}date
{
"path": "date",
"instance": "Date",
"options": {
"index": true
},
"validators": []
}email
{
"path": "email",
"instance": "String",
"options": {
"index": true
},
"validators": []
}frequency
{
"path": "frequency",
"instance": "Number",
"options": {},
"validators": []
}frequency_quantile_rank
{
"path": "frequency_quantile_rank",
"instance": "Number",
"options": {},
"validators": []
}frequency_score
{
"path": "frequency_score",
"instance": "Number",
"options": {
"index": true
},
"validators": []
}monetary_value
{
"path": "monetary_value",
"instance": "Number",
"options": {},
"validators": []
}monetary_value_score
{
"path": "monetary_value_score",
"instance": "Number",
"options": {
"index": true
},
"validators": []
}reader_id
{
"path": "reader_id",
"instance": "ObjectID",
"options": {
"link": "reader",
"index": true
},
"validators": []
}recency
{
"path": "recency",
"instance": "Date",
"options": {},
"validators": []
}recency_quantile_rank
{
"path": "recency_quantile_rank",
"instance": "Number",
"options": {},
"validators": []
}recency_score
{
"path": "recency_score",
"instance": "Number",
"options": {
"index": true
},
"validators": []
}total_lifetime_value
{
"path": "total_lifetime_value",
"instance": "Number",
"options": {},
"validators": []
}total_lifetime_value_score
{
"path": "total_lifetime_value_score",
"instance": "Number",
"options": {
"index": true
},
"validators": []
}updatedAt
{
"path": "updatedAt",
"instance": "Date",
"options": {},
"validators": []
}volume
{
"path": "volume",
"instance": "Number",
"options": {},
"validators": []
}volume_quantile_rank
{
"path": "volume_quantile_rank",
"instance": "Number",
"options": {},
"validators": []
}volume_score
{
"path": "volume_score",
"instance": "Number",
"options": {
"index": true
},
"validators": []
}