Constant Schema Docs
Database models, scalar models, enums, and relations from ConstantRegistry.
Database Models
8
Scalar Models
12
Enums
20
Relations
10
Admin
admin
Admin is a person who manages the system, that has a data managent and system monitoring authority.
Admin
Full
8 fields
KeyTypeRequiredField TypeRelationDefaultConstraintsEnumDescription
id
ID
IDRequiredproperty-null
-
-Unique ID value
createdAt
CreatedAt
DateRequiredproperty-null
-
-Data created time
updatedAt
UpdatedAt
DateRequiredproperty-null
-
-Data updated time
removedAt
RemovedAt
DateOptionalproperty-null
-
-Data removed time
accountId
Account ID
StringRequiredproperty-null
text:searchcustom validate
-Account ID Description
password
Password
StringOptionalproperty-null
minlength 8
-Password Description
roles
Roles
[String]Requiredproperty-[]
-
manageradminsuperAdmin
Roles Description
lastLoginAt
Last Login
DateRequiredproperty-[function]
-
-Last Login Description
Banner
banner
Banner is a temporary notice informations that is displayed on the top or in front of the page
Banner
Full
13 fields
KeyTypeRequiredField TypeRelationDefaultConstraintsEnumDescription
id
ID
IDRequiredproperty-null
-
-Unique ID value
createdAt
CreatedAt
DateRequiredproperty-null
-
-Data created time
updatedAt
UpdatedAt
DateRequiredproperty-null
-
-Data updated time
removedAt
RemovedAt
DateOptionalproperty-null
-
-Data removed time
category
Category
StringOptionalproperty-null
-
-Category of banner, displayed on the top
title
Title
StringOptionalproperty-null
-
-Title of banner, displayed on the top
content
Content
StringOptionalproperty-null
-
-Content of banner, displayed on the bottom
image
Image
FileOptionalpropertyreferencenull
-
-Image of banner, displayed on the center
href
Href
StringRequiredproperty-null
-
-Href of banner, link to other page
target
Target
StringRequiredproperty-_self
-
_blank_self
Target configuration of <a> tag in banner
from
From
DateRequiredproperty-"2026-05-31T09:24:44.713Z"
-
-Start date of banner
to
To
DateOptionalproperty-null
-
-End date of banner
status
Status
StringRequiredproperty-active
-
activedisplaying
Status of banner
File
file
File is a blob data that is stored in the database, such as image, document or video
File
Full
15 fields
KeyTypeRequiredField TypeRelationDefaultConstraintsEnumDescription
id
ID
IDRequiredproperty-null
-
-Unique ID value
createdAt
CreatedAt
DateRequiredproperty-null
-
-Data created time
updatedAt
UpdatedAt
DateRequiredproperty-null
-
-Data updated time
removedAt
RemovedAt
DateOptionalproperty-null
-
-Data removed time
filename
File Name
StringRequiredproperty-null
-
-Name of the file with extension
mimetype
Mime Type
StringRequiredproperty-null
-
-Mime type of the file
encoding
Encoding
StringRequiredproperty-null
-
-Encoding of the file
imageSize
Image Size
[Int]Requiredproperty-[0,0]
-
-Size of the image as width and height tuple in pixel
url
Url
StringOptionalproperty-
-
-Url of the file
abstractData
Abstract Data
StringOptionalproperty-null
-
-Abstract blurred encoded data of image files to preview
size
Size
IntRequiredproperty-0
-
-File size in bytes
origin
Origin
StringOptionalproperty-null
-
-Origin source url of the file
lastModifiedAt
Last Modified At
DateRequiredproperty-[function]
-
-Last modified date of the file
progress
Progress
IntOptionalproperty-null
-
-Upload progress of the file, uploading status files are used only
status
Status
StringRequiredproperty-uploading
-
activeuploading
Status of the file
Notification
notification
Notification is a group of informations that is sent or going to be sent to the user. It is used for the user to be notified of the event, and the events can be accumulated and summarized by groups.
Notification
Full
11 fields
KeyTypeRequiredField TypeRelationDefaultConstraintsEnumDescription
id
ID
IDRequiredproperty-null
-
-Unique ID value
createdAt
CreatedAt
DateRequiredproperty-null
-
-Data created time
updatedAt
UpdatedAt
DateRequiredproperty-null
-
-Data updated time
removedAt
RemovedAt
DateOptionalproperty-null
-
-Data removed time
token
Token
StringOptionalproperty-null
-
-Token of the notification
title
Title
StringRequiredproperty-null
-
-Title of the notification
content
Content
StringRequiredproperty-null
-
-Content of the notification
field
Field
StringOptionalproperty-null
-
-Field of the notification
image
Image
FileOptionalpropertyreferencenull
-
-Image of the notification
type
Type
StringRequiredproperty-token
-
topictoken
Type of the notification
level
Level
StringRequiredproperty-notice
-
actionRequirednoticeessentialsuggestionadvertise
Level of the notification
PrivFile
privFile
Private file is a server-only blob that is stored outside public asset serving.
PrivFile
Full
13 fields
KeyTypeRequiredField TypeRelationDefaultConstraintsEnumDescription
id
ID
IDRequiredproperty-null
-
-Unique ID value
createdAt
CreatedAt
DateRequiredproperty-null
-
-Data created time
updatedAt
UpdatedAt
DateRequiredproperty-null
-
-Data updated time
removedAt
RemovedAt
DateOptionalproperty-null
-
-Data removed time
alias
Alias
StringRequiredproperty-null
-
-Display alias for the private file
filename
File Name
StringOptionalhidden-null
-
-Name of the file with extension
mimetype
Mime Type
StringRequiredproperty-null
-
-Mime type of the private file
encoding
Encoding
StringRequiredproperty-null
-
-Encoding of the private file
privatePath
Private Path
StringOptionalhidden-null
-
-Private path of the private file
size
Size
IntRequiredproperty-0
-
-Private file size in bytes
lastModifiedAt
Last Modified At
DateRequiredproperty-[function]
-
-Last modified date of the private file
progress
Progress
IntOptionalproperty-null
-
-Upload progress of the private file, uploading status files are used only
status
Status
StringRequiredproperty-uploading
-
activeuploading
Status of the private file
Setting
setting
Setting is a system setting that is controll and manage the metrics of the system and the service.
Setting
Full
5 fields
KeyTypeRequiredField TypeRelationDefaultConstraintsEnumDescription
id
ID
IDRequiredproperty-null
-
-Unique ID value
createdAt
CreatedAt
DateRequiredproperty-null
-
-Data created time
updatedAt
UpdatedAt
DateRequiredproperty-null
-
-Data updated time
removedAt
RemovedAt
DateOptionalproperty-null
-
-Data removed time
resignupDays
Re-signup Days
IntRequiredproperty-0
-
-The number of days to allow re-signup
Summary
summary
Summary is a group of system and service metrics that is used for the system to be monitored and managed.
Summary
Full
15 fields
KeyTypeRequiredField TypeRelationDefaultConstraintsEnumDescription
id
ID
IDRequiredproperty-null
-
-Unique ID value
createdAt
CreatedAt
DateRequiredproperty-null
-
-Data created time
updatedAt
UpdatedAt
DateRequiredproperty-null
-
-Data updated time
removedAt
RemovedAt
DateOptionalproperty-null
-
-Data removed time
type
Type
StringRequiredproperty-non-periodic
-
non-periodicactivehourlydailyweeklymonthly
Type of summary, e.g. periodic, non-periodic...
at
At
DateRequiredproperty-[function]
-
-The time when the summary is created
status
Status
StringRequiredproperty-archived
-
activearchived
Status of the summary
prepareUser
Prepare User
IntRequiredproperty-0
-
-Number of users with preparation
activeUser
Active User
IntRequiredproperty-0
-
-Number of active users
dormantUser
Dormant User
IntRequiredproperty-0
-
-Number of dormant users
restrictedUser
Restricted User
IntRequiredproperty-0
-
-Number of users with restrictions
hau
HAU
IntRequiredproperty-0
-
-Hourly Active User
dau
DAU
IntRequiredproperty-0
-
-Daily Active User
wau
WAU
IntRequiredproperty-0
-
-Weekly Active User
mau
MAU
IntRequiredproperty-0
-
-Monthly Active User
User
user
User is an public information of the user who uses the service. It can be displayed to other users.
User
Full
28 fields
KeyTypeRequiredField TypeRelationDefaultConstraintsEnumDescription
id
ID
IDRequiredproperty-null
-
-Unique ID value
createdAt
CreatedAt
DateRequiredproperty-null
-
-Data created time
updatedAt
UpdatedAt
DateRequiredproperty-null
-
-Data updated time
removedAt
RemovedAt
DateOptionalproperty-null
-
-Data removed time
nickname
Nickname
StringOptionalproperty-
maxlength 12
-Nickname of the user that is displayed to other users
image
Image
FileOptionalpropertyreferencenull
-
-Profile image of the user
images
Images
[File]Requiredpropertyreference[]
-
-Profile images of the user
appliedImages
Applied Images
[File]Requiredpropertyreference[]
-
-Applied images of the user
name
Name
StringOptionalhiddenselect:false-null
-
-Name of the user
agreePolicies
Agree Policies
[String]Optionalhiddenselect:false-[]
-
-Agreed policies of the user
discord
Discord
AnyOptionalhiddenselect:false-{}
-
-Discord information of the user
accountId
Account ID
StringOptionalhiddenselect:false-null
-
-Account ID of the user
password
Password
StringOptionalhiddenselect:false-null
-
-Password of the user
phone
Phone
StringOptionalhiddenselect:false-null
-
-Phone number of the user
notiInfo
Noti Info
NotiInfoOptionalhiddenselect:false-null
-
-Notification information of the user
imageNum
Image Number
IntOptionalhiddenselect:false-0
-
-Number of images of the user
encourageInfo
Encourage Info
EncourageInfoOptionalhiddenselect:false-[function]
-
-Encourage information of the user
restrictInfo
Restrict Info
RestrictInfoOptionalhiddenselect:false-null
-
-Restrict information of the user
leaveInfo
Leave Info
LeaveInfoOptionalhiddenselect:false-null
-
-Leave information of the user
verifies
Verifies
[String]Requiredproperty-[]
-
naverkakaogithubgoogleapplefacebookwalletpasswordphoneemail
Verification information of the user
roles
Roles
[String]Requiredproperty-["user"]
-
rootadminuserbusinessguest
Authorized roles of the user
playing
Playing
[String]Requiredproperty-[]
-
-Services that the user is playing
isOnline
Is Online
BooleanRequiredproperty-true
-
-Online status of the user
lastLoginAt
Last Login At
DateRequiredproperty-[function]
-
-Latest login time of the user
joinAt
Join At
DateOptionalproperty-null
-
-Join date of the user
profileStatus
Profile Status
StringRequiredproperty-prepare
-
activeprepareappliedapprovedreappliedfeaturedreservedrejected
Profile approval status of the user
badgeCount
Badge Count
IntRequiredproperty-0
-
-Badge count of the user
status
Status
StringRequiredproperty-prepare
-
prepareactivedormantrestricted
Status of the user
Scalar Models
AccessLog
accessLog
Access log information
KeyTypeRequiredField TypeRelationDefaultConstraintsEnumDescription
period
Period
IntRequiredproperty-0
-
-Time period
countryCode
Country Code
StringOptionalproperty-null
-
-ISO country code
countryName
Country Name
StringOptionalproperty-null
-
-Name of the country
city
City
StringOptionalproperty-null
-
-City name
postal
Postal
IntOptionalproperty-null
-
-Postal code
location
Location
CoordinateOptionalproperty-null
-
-Geographic location
ipv4
IPv4
StringOptionalproperty-null
-
-IPv4 address
state
State
StringOptionalproperty-null
-
-State or province
osName
OS Name
StringOptionalproperty-null
-
-Operating system name
osVersion
OS Version
StringOptionalproperty-null
-
-Operating system version
browserName
Browser Name
StringOptionalproperty-null
-
-Web browser name
browserVersion
Browser Version
StringOptionalproperty-null
-
-Web browser version
mobileModel
Mobile Model
StringOptionalproperty-null
-
-Mobile device model
mobileVendor
Mobile Vendor
StringOptionalproperty-null
-
-Mobile device vendor
deviceType
Device Type
StringOptionalproperty-null
-
-Type of device
at
At
DateRequiredproperty-[function]
-
-Access time
AccessStat
accessStat
Access statistics information
KeyTypeRequiredField TypeRelationDefaultConstraintsEnumDescription
request
Request
IntRequiredproperty-0
-
-Number of requests
device
Device
IntRequiredproperty-0
-
-Number of devices
ip
IP
IntRequiredproperty-0
-
-Number of unique IPs
country
Country
IntRequiredproperty-0
-
-Number of countries
AccessToken
accessToken
Access token for authentication
KeyTypeRequiredField TypeRelationDefaultConstraintsEnumDescription
jwt
JWT
StringRequiredproperty-null
-
-JSON Web Token
refreshToken
Refresh Token
StringOptionalproperty-null
-
-Refresh token for token renewal
expiresAt
Expires At
DateOptionalproperty-null
-
-Access token expiration time
Coordinate
coordinate
Geographic coordinate information
KeyTypeRequiredField TypeRelationDefaultConstraintsEnumDescription
type
Type
StringRequiredproperty-Point
-
Point
Coordinate type
coordinates
Coordinates
[Float]Requiredproperty-[0,0]
-
-Longitude and latitude values
altitude
Altitude
FloatRequiredproperty-0
-
-Altitude in meters
EncourageInfo
encourageInfo
Encourage Info
KeyTypeRequiredField TypeRelationDefaultConstraintsEnumDescription
journey
Journey
StringRequiredproperty-welcome
-
welcomewaitingfirstJoinjoinedleavingleavedreturningreturned
Journey
journeyAt
Journey At
DateRequiredproperty-[function]
-
-Journey At
inquiry
Inquiry
StringRequiredproperty-welcome
-
welcomepayablewaitPaypaidmorePayablewaitMorePayinquiredconcernedconcernedPayableconcernedWaitPayashedvipkicked
Inquiry
inquiryAt
Inquiry At
DateRequiredproperty-[function]
-
-Inquiry At
ExternalLink
externalLink
External Link
KeyTypeRequiredField TypeRelationDefaultConstraintsEnumDescription
type
Type
StringRequiredproperty-null
-
websitetwitterdiscordtelegraminstagramfacebookyoutubegithubmediumlinkedinreddittwitchvimeoweibowikipediaappemailother
Type
url
URL
StringRequiredproperty-null
-
-URL
FileMeta
fileMeta
File Meta
KeyTypeRequiredField TypeRelationDefaultConstraintsEnumDescription
fileId
File ID
IDOptionalproperty-null
-
-File ID
lastModifiedAt
Last Modified At
DateRequiredproperty-null
-
-Last Modified At
size
Size
IntRequiredproperty-null
-
-Size
LeaveInfo
leaveInfo
Leave Info
KeyTypeRequiredField TypeRelationDefaultConstraintsEnumDescription
type
Type
StringRequiredproperty-noReply
-
noReplycomebackunsatisfiedother
Type
reason
Reason
StringOptionalproperty-null
-
-Reason
satisfaction
Satisfaction
IntOptionalproperty-null
min 1max 5
-Satisfaction
voc
VOC
StringOptionalproperty-null
-
-VOC
at
At
DateRequiredproperty-[function]
-
-At
NotiInfo
notiInfo
Noti Info
KeyTypeRequiredField TypeRelationDefaultConstraintsEnumDescription
setting
Setting
StringRequiredproperty-normal
-
disagreefewernormalblock
Setting
pauseUntil
Pause Until
DateRequiredproperty-[function]
-
-Pause Until
deviceTokens
Device Tokens
[String]Requiredproperty-[]
-
-Device Tokens
RestrictInfo
restrictInfo
Restrict Info
KeyTypeRequiredField TypeRelationDefaultConstraintsEnumDescription
until
Until
DateRequiredproperty-null
-
-Until
reason
Reason
StringRequiredproperty-null
-
-Reason
SearchResult
searchResult
Search result information
KeyTypeRequiredField TypeRelationDefaultConstraintsEnumDescription
docs
Documents
AnyRequiredproperty-[]
-
-Search result documents
skip
Skip
IntRequiredproperty-0
-
-Number of results skipped
limit
Limit
IntRequiredproperty-20
-
-Maximum number of results
sort
Sort
StringRequiredproperty-notImplemented
-
-Sort order
total
Total
IntRequiredproperty-0
-
-Total number of results
ServiceReview
serviceReview
Service Review
KeyTypeRequiredField TypeRelationDefaultConstraintsEnumDescription
score
Score
IntRequiredproperty-0
min 0
-Score
comment
Comment
StringOptionalproperty-null
-
-Comment
Enums
KeyRef NameTypeValuesUsed By
adminRoleadminRoleString
admin.rolesadmin.rolesadmin.roles
bannerStatusbannerStatusString
banner.statusbanner.statusbanner.status
bannerTargetbannerTargetString
banner.targetbanner.targetbanner.targetbanner.target
coordinateTypecoordinateTypeString
coordinate.type
fileStatusfileStatusString
file.statusfile.statusfile.statusprivFile.statusprivFile.statusprivFile.status
inquiryinquiryString
encourageInfo.inquiry
journeyjourneyString
encourageInfo.journey
leaveTypeleaveTypeString
leaveInfo.type
linkTypelinkTypeString
externalLink.type
notificationTypenotificationTypeString
notification.typenotification.typenotification.typenotification.type
notiLevelnotiLevelString
notification.levelnotification.levelnotification.levelnotification.level
notiSettingnotiSettingString
notiInfo.setting
periodTypeperiodTypeString
summary.typesummary.typesummary.type
profileStatusprofileStatusString
user.profileStatususer.profileStatususer.profileStatus
responsiveresponsiveString
-
ssoTypessoTypeString
-
summaryStatussummaryStatusString
summary.statussummary.status
userRoleuserRoleString
user.rolesuser.roles
userStatususerStatusString
user.statususer.statususer.status
verifyverifyString
user.verifiesuser.verifies