Master Data Reference of GS2-SkillTree
Reference of the format of master data and various models to be imported
Master Data Format
{
"version": "2023-09-06",
"nodeModels": [
{
"name": "[string]Node Model Name",
"metadata": "[string?]Metadata",
"releaseVerifyActions": [
{
"action": "[string]Types of actions to be performed in the verify task",
"request": "[string]JSON string of the request used when executing the action"
}
],
"releaseConsumeActions": [
{
"action": "[string]Types of actions to be performed in the consume action",
"request": "[string]JSON string of the request used when executing the action"
}
],
"returnAcquireActions": [
{
"action": "[string]Types of actions to be performed in the acquire action",
"request": "[string]JSON string of the request used when executing the action"
}
],
"restrainReturnRate": "[float]Return Rate",
"premiseNodeNames": [
"[string]Node Model Name"
]
}
]
}| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| version | string | ✓ | 2023-09-06 | Format version of master data | ||
| nodeModels | List<NodeModel> | ~ 1000 items | Node model The node model is model for nodes placed in the skill tree. This section defines what kind of entities can be recorded in the skill tree. |
Model
NodeModel
Node model
The node model is model for nodes placed in the skill tree. This section defines what kind of entities can be recorded in the skill tree.
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| nodeModelId | string | ✓ | ~ 1024 chars | Node Model GRN | ||
| name | string | ✓ | ~ 128 chars | Node Model Name | ||
| metadata | string | ~ 2048 chars | Metadata | |||
| releaseVerifyActions | List<VerifyAction> | [] | 0 ~ 10 items | List of verify actions required to determine the conditions for release | ||
| releaseConsumeActions | List<ConsumeAction> | ✓ | [] | 1 ~ 10 items | List of consume actions required for release | |
| returnAcquireActions | List<AcquireAction> | 0 ~ 10 items | List of acquire actions required for return | |||
| restrainReturnRate | float | ✓ | 1.0 | 0.0 ~ 1.0 | Return Rate | |
| premiseNodeNames | List<string> | [] | 0 ~ 10 items | List of premise node model name |
ConsumeAction
Consume Action
VerifyAction
Verify Action
AcquireAction
Acquire Action