Model readers


Permissions

User GroupCreate?Read?Update?Delete?
adminxxxx
ownerxxxx
userx

Fields

NameTypeLinkMaps ToDefaultIndexed?Unique?Required?
__vNumber
_deletedBooleanfalsex
_idObjectID[Function]
_owner_idObjectIDUser_ownerx
_updated_by_idObjectIDUser_updated_byx
app_userBooleanfalsex
authorsArray of String[Function]
authors_last_30_daysArray[Function]
browserString
browser_versionString
campaignString
cc_expiry_dateDate
cc_last4_digitsString
cellphoneString
cityString
countryString
createdAtDate
deviceString
display_nameString
emailStringxx
email_clientString
email_stateStringx
favourite_authorString
favourite_sectionString
first_loginDate
first_nameString
frequencyNumber
frequency_quantile_rankNumber
frequency_scoreNumberx
heightNumber
label_dataMixed
label_idArray of ObjectID[Function]
label_updateDate
last_loginDate
last_nameString
last_updateDate
latitudeNumber
longitudeNumber
mediumString
memberBoolean
monetary_valueNumber
monetary_value_scoreNumberx
monthly_contributionNumber
newslettersArray of String[Function]
operating_systemString
os_versionString
paying_customerBoolean
platformString
recencyDate
recency_quantile_rankNumber
recency_scoreNumberx
regionString
remp_beam_idNumber
sectionsArray of String[Function]
sections_last_30_daysArray[Function]
segment_updateDate
segmentation_idArray of ObjectID[Function]
sent_insider_welcome_emailDatex
sourceString
test_wordpress_idNumberx
total_lifetime_valueNumber
total_lifetime_value_scoreNumberx
uasMixed
uber_code_overrideStringautox
updatedAtDate
user_registered_on_wordpressDate
volumeNumber
volume_quantile_rankNumber
volume_scoreNumberx
widthNumber
wordpress_idNumberxx
wordpressuser_idObjectIDwordpressuserx

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": []
}

app_user

{
  "path": "app_user",
  "instance": "Boolean",
  "options": {
    "index": true,
    "default": false
  },
  "validators": [],
  "defaultValue": false
}

authors

{
  "path": "authors",
  "instance": "Array",
  "options": {
    "type": [
      {
        "index": true
      }
    ]
  },
  "validators": [],
  "defaultValue": "[Function]",
  "arrayType": "String"
}

authors_last_30_days

{
  "path": "authors_last_30_days",
  "instance": "Array",
  "options": {
    "type": [
      {}
    ]
  },
  "validators": [],
  "defaultValue": "[Function]"
}

browser

{
  "path": "browser",
  "instance": "String",
  "options": {},
  "validators": []
}

browser_version

{
  "path": "browser_version",
  "instance": "String",
  "options": {},
  "validators": []
}

campaign

{
  "path": "campaign",
  "instance": "String",
  "options": {},
  "validators": []
}

cc_expiry_date

{
  "path": "cc_expiry_date",
  "instance": "Date",
  "options": {},
  "validators": []
}

cc_last4_digits

{
  "path": "cc_last4_digits",
  "instance": "String",
  "options": {},
  "validators": []
}

cellphone

{
  "path": "cellphone",
  "instance": "String",
  "options": {
    "trim": true
  },
  "validators": []
}

city

{
  "path": "city",
  "instance": "String",
  "options": {},
  "validators": []
}

country

{
  "path": "country",
  "instance": "String",
  "options": {},
  "validators": []
}

createdAt

{
  "path": "createdAt",
  "instance": "Date",
  "options": {
    "immutable": true
  },
  "validators": []
}

device

{
  "path": "device",
  "instance": "String",
  "options": {},
  "validators": []
}

display_name

{
  "path": "display_name",
  "instance": "String",
  "options": {},
  "validators": []
}

email

{
  "path": "email",
  "instance": "String",
  "options": {
    "index": true,
    "unique": true,
    "lowercase": true,
    "trim": true,
    "sparse": true
  },
  "validators": []
}

email_client

{
  "path": "email_client",
  "instance": "String",
  "options": {},
  "validators": []
}

email_state

{
  "path": "email_state",
  "instance": "String",
  "options": {
    "index": true
  },
  "validators": []
}

favourite_author

{
  "path": "favourite_author",
  "instance": "String",
  "options": {},
  "validators": []
}

favourite_section

{
  "path": "favourite_section",
  "instance": "String",
  "options": {},
  "validators": []
}

first_login

{
  "path": "first_login",
  "instance": "Date",
  "options": {},
  "validators": []
}

first_name

{
  "path": "first_name",
  "instance": "String",
  "options": {
    "trim": 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": []
}

height

{
  "path": "height",
  "instance": "Number",
  "options": {},
  "validators": []
}

label_data

{
  "path": "label_data",
  "instance": "Mixed",
  "options": {},
  "validators": []
}

label_id

{
  "path": "label_id",
  "instance": "Array",
  "options": {
    "type": [
      {
        "link": "Label",
        "map_to": "label"
      }
    ]
  },
  "validators": [],
  "defaultValue": "[Function]",
  "arrayType": "ObjectID"
}

label_update

{
  "path": "label_update",
  "instance": "Date",
  "options": {},
  "validators": []
}

last_login

{
  "path": "last_login",
  "instance": "Date",
  "options": {},
  "validators": []
}

last_name

{
  "path": "last_name",
  "instance": "String",
  "options": {
    "trim": true
  },
  "validators": []
}

last_update

{
  "path": "last_update",
  "instance": "Date",
  "options": {},
  "validators": []
}

latitude

{
  "path": "latitude",
  "instance": "Number",
  "options": {},
  "validators": []
}

longitude

{
  "path": "longitude",
  "instance": "Number",
  "options": {},
  "validators": []
}

medium

{
  "path": "medium",
  "instance": "String",
  "options": {},
  "validators": []
}

member

{
  "path": "member",
  "instance": "Boolean",
  "options": {},
  "validators": []
}

monetary_value

{
  "path": "monetary_value",
  "instance": "Number",
  "options": {},
  "validators": []
}

monetary_value_score

{
  "path": "monetary_value_score",
  "instance": "Number",
  "options": {
    "index": true
  },
  "validators": []
}

monthly_contribution

{
  "path": "monthly_contribution",
  "instance": "Number",
  "options": {},
  "validators": []
}

newsletters

{
  "path": "newsletters",
  "instance": "Array",
  "options": {
    "type": [
      null
    ]
  },
  "validators": [],
  "defaultValue": "[Function]",
  "arrayType": "String"
}

operating_system

{
  "path": "operating_system",
  "instance": "String",
  "options": {},
  "validators": []
}

os_version

{
  "path": "os_version",
  "instance": "String",
  "options": {},
  "validators": []
}

paying_customer

{
  "path": "paying_customer",
  "instance": "Boolean",
  "options": {},
  "validators": []
}

platform

{
  "path": "platform",
  "instance": "String",
  "options": {},
  "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": []
}

region

{
  "path": "region",
  "instance": "String",
  "options": {},
  "validators": []
}

remp_beam_id

{
  "path": "remp_beam_id",
  "instance": "Number",
  "options": {},
  "validators": []
}

sections

{
  "path": "sections",
  "instance": "Array",
  "options": {
    "type": [
      {
        "index": true
      }
    ]
  },
  "validators": [],
  "defaultValue": "[Function]",
  "arrayType": "String"
}

sections_last_30_days

{
  "path": "sections_last_30_days",
  "instance": "Array",
  "options": {
    "type": [
      {}
    ]
  },
  "validators": [],
  "defaultValue": "[Function]"
}

segment_update

{
  "path": "segment_update",
  "instance": "Date",
  "options": {},
  "validators": []
}

segmentation_id

{
  "path": "segmentation_id",
  "instance": "Array",
  "options": {
    "type": [
      {
        "link": "segmentation",
        "map_to": "segment"
      }
    ]
  },
  "validators": [],
  "defaultValue": "[Function]",
  "arrayType": "ObjectID"
}

sent_insider_welcome_email

{
  "path": "sent_insider_welcome_email",
  "instance": "Date",
  "options": {
    "index": true
  },
  "validators": []
}

source

{
  "path": "source",
  "instance": "String",
  "options": {},
  "validators": []
}

test_wordpress_id

{
  "path": "test_wordpress_id",
  "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": []
}

uas

{
  "path": "uas",
  "instance": "Mixed",
  "options": {},
  "validators": []
}

uber_code_override

{
  "path": "uber_code_override",
  "instance": "String",
  "options": {
    "enum": [
      "send",
      "withhold",
      "auto"
    ],
    "default": "auto",
    "index": true
  },
  "validators": [
    {
      "message": "`{VALUE}` is not a valid enum value for path `{PATH}`."
    }
  ],
  "defaultValue": "auto"
}

Validators

updatedAt

{
  "path": "updatedAt",
  "instance": "Date",
  "options": {},
  "validators": []
}

user_registered_on_wordpress

{
  "path": "user_registered_on_wordpress",
  "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": []
}

width

{
  "path": "width",
  "instance": "Number",
  "options": {},
  "validators": []
}

wordpress_id

{
  "path": "wordpress_id",
  "instance": "Number",
  "options": {
    "index": true,
    "unique": true
  },
  "validators": []
}

wordpressuser_id

{
  "path": "wordpressuser_id",
  "instance": "ObjectID",
  "options": {
    "link": "wordpressuser",
    "index": true
  },
  "validators": []
}