Master Data Reference of GS2-Formation

Reference of the format of master data and various models to be imported

Master Data Format

{
  "version": "2019-09-09",
  "moldModels": [
    {
      "name": "[string]Form storage area model name",
      "metadata": "[string?]Metadata",
      "initialMaxCapacity": "[int]Initial capacity to store forms",
      "maxCapacity": "[int]Maximum capacity to store forms",
      "formModel": {
        "formModelId": "[string]Form model GRN",
        "name": "[string]Form model name",
        "metadata": "[string?]Metadata",
        "slots": [
          {
            "name": "[string]Slot model name",
            "propertyRegex": "[string]Regular expressions for values that can be set as properties",
            "metadata": "[string?]Metadata"
          }
        ]
      }
    }
  ],
  "propertyFormModels": [
    {
      "name": "[string]Property form model name",
      "metadata": "[string?]Metadata",
      "slots": [
        {
          "name": "[string]Slot model name",
          "propertyRegex": "[string]Regular expressions for values that can be set as properties",
          "metadata": "[string?]Metadata"
        }
      ]
    }
  ]
}
TypeConditionRequiredDefaultValue LimitsDescription
versionstring
2019-09-09Format version of master data
moldModelsList<MoldModel>~ 100 itemsForm storage area model
If it is a party composition, it is intended to be saved in the form of “fire attribute party” or “water attribute party”.
The number of areas that can be saved can be limited or expanded individually.
propertyFormModelsList<PropertyFormModel>~ 100 itemsProperty Form Model
An entity that represents the composition status.
The difference between Mold / Form is that Mold / Form defines the number of slots and records the composition in each slot,
and Property Form is used to represent compositions that are difficult to determine the number of slots in advance, such as setting skills for owned equipment.

Model

FormModel

Form Model

Form Model is an entity representing the configuration status. You can define slots as areas that can be formed.

For weapons and armor, parts such as “right hand”, “left hand”, “body”, and “arm” can be used as slots, and for parties, positions such as “vanguard”, “midfield”, and “rear guard” can be expressed as slots.

TypeConditionRequiredDefaultValue LimitsDescription
formModelIdstring
✓*
~ 1024 charsForm model GRN
* Automatically configured on the server
namestring
~ 128 charsForm model name
Form model-specific name. Specified using alphanumeric characters, hyphens (-), underscores (_), and periods (.).
metadatastring~ 2048 charsMetadata
Arbitrary values can be set in the metadata.
Since they do not affect GS2’s behavior, they can be used to store information used in the game.
slotsList<SlotModel>
1 ~ 10 itemsList of Slot Model

SlotModel

Slot Model

TypeConditionRequiredDefaultValue LimitsDescription
namestring
~ 128 charsSlot model name
propertyRegexstring
“.*”~ 512 charsRegular expressions for values that can be set as properties
metadatastring~ 512 charsMetadata
Arbitrary values can be set in the metadata.
Since they do not affect GS2’s behavior, they can be used to store information used in the game.

MoldModel

Form storage area model

If it is a party composition, it is intended to be saved in the form of “fire attribute party” or “water attribute party”. The number of areas that can be saved can be limited or expanded individually.

TypeConditionRequiredDefaultValue LimitsDescription
moldModelIdstring
✓*
~ 1024 charsForm storage area GRN
* Automatically configured on the server
namestring
~ 128 charsForm storage area model name
Form storage area model-specific name. Specified using alphanumeric characters, hyphens (-), underscores (_), and periods (.).
metadatastring~ 2048 charsMetadata
Arbitrary values can be set in the metadata.
Since they do not affect GS2’s behavior, they can be used to store information used in the game.
initialMaxCapacityint
1 ~ 2147483646Initial capacity to store forms
maxCapacityint
1 ~ 2147483646Maximum capacity to store forms
formModelFormModel
Form Model

PropertyFormModel

Property Form Model

An entity that represents the composition status. The difference between Mold / Form is that Mold / Form defines the number of slots and records the composition in each slot, and Property Form is used to represent compositions that are difficult to determine the number of slots in advance, such as setting skills for owned equipment.

TypeConditionRequiredDefaultValue LimitsDescription
propertyFormModelIdstring
✓*
~ 1024 charsProperty form model GRN
* Automatically configured on the server
namestring
~ 128 charsProperty form model name
Property form model-specific name. Specified using alphanumeric characters, hyphens (-), underscores (_), and periods (.).
metadatastring~ 2048 charsMetadata
Arbitrary values can be set in the metadata.
Since they do not affect GS2’s behavior, they can be used to store information used in the game.
slotsList<SlotModel>
1 ~ 10 itemsList of Slot Model