Two Types are provided to the users when they create an application in Appacitive. They are:
1. User
2. Device
These Type also have some default Properties which cannot be modified or deleted. However, one can add any new Properties that they want and are free to remove or modify them as required.
User Type
The User Type is intended to be used for user management. It's default Properties are listed in the table below.
Property Name |
Data Type |
Constraints |
username |
string |
mandatory; unique; max 100 characters |
password | string |
mandatory; min 4 characters, max 100 characters |
firstname |
string |
mandatory; max 100 characters |
lastname |
string |
max 100 characters |
birthdate |
date |
- |
email |
string |
regex validation for email; max 100 characters |
isemailverified |
bool |
- |
isenabled |
bool |
- |
isonline |
bool |
- |
secretquestion |
string | max 100 characters |
secretanswer | string | max 100 characters |
phone | string | max 100 characters |
connectionid | string | max 50 characters |
location | geography | - |
Device Type
The Device Type is intended to be used for device management. It's default Properties are listed in the table below.
Property Name |
Data Type |
Constraints |
devicetype |
string |
mandatory; one of the values from ios, android, wp7, wp75, wp8 |
location |
geography |
- |
devicetoken |
string |
mandatory |
channels |
string |
multivalued |
badge |
long |
- |
timezone |
string |
regex validation for timezone value |
isactive |
bool |
- |