Master Data Reference of GS2-Limit

{
  "version": "2019-04-05",
  "limitModels": [
    {
      "name": "[string]Limit Model Name",
      "metadata": "[string?]metadata",
      "resetType": "[string]Reset timing",
      "resetDayOfMonth": "[int]Date to reset (If the value exceeds the days of the month, it is treated as the last day.)",
      "resetDayOfWeek": "[string]Day of the week to reset",
      "resetHour": "[int]Reset hour"
    }
  ]
}
TypeConditionRequireDefaultLimitationDescription
version2019-04-05Format version of master data
limitModelsList<LimitModel>

LimitModel

Limit model

The reset interval can be set for the limit. The reset interval can be selected from daily, weekly, monthly, or not reset.

The maximum number of times limit is not set in the master data. Because the system works like a step-up gacha, a product can be purchased when the purchase count counter is less than 3 times. A product that can be purchased when the aforementioned product cannot be purchased and the purchase count counter is less than 5 times. This is so that the maximum value can be changed depending on the context.

TypeConditionRequireDefaultLimitationDescription
limitModelIdstring~ 1024 charsLimit Model GRN
namestring~ 128 charsLimit Model Name
metadatastring~ 2048 charsmetadata
resetTypeenum [’notReset’, ‘daily’, ‘weekly’, ‘monthly’]~ 128 charsReset timing
resetDayOfMonthint{resetType} == “monthly”1 ~ 31Date to reset (If the value exceeds the days of the month, it is treated as the last day.)
resetDayOfWeekenum [‘sunday’, ‘monday’, ’tuesday’, ‘wednesday’, ’thursday’, ‘friday’, ‘saturday’]{resetType} == “weekly”~ 128 charsDay of the week to reset
resetHourint{resetType} in [“monthly”, “weekly”, “daily”]~ 23Reset hour