feat(scum): rebuild plugin-owned management data

This commit is contained in:
npc0-hue
2026-08-15 12:43:09 +08:00
parent 92b1159cc8
commit 65353cf269
113 changed files with 3116 additions and 8058 deletions
@@ -3,7 +3,7 @@
"title": "SCUMRewardDeliverPayload",
"type": "object",
"additionalProperties": false,
"required": ["grantId", "playerId", "items"],
"required": ["grantId", "playerId", "items", "operations"],
"properties": {
"playerId": {
"type": "string",
@@ -17,17 +17,25 @@
},
"items": {
"type": "array",
"minItems": 1,
"maxItems": 8,
"items": {
"type": "object",
"additionalProperties": false,
"required": ["catalogItemKey", "quantity"],
"required": ["catalogCode", "quantity"],
"properties": {
"catalogItemKey": { "type": "string", "maxLength": 64, "pattern": "^[a-z0-9-]{1,64}$" },
"catalogCode": { "type": "string", "maxLength": 128, "pattern": "^[A-Za-z0-9_.-]{1,128}$" },
"quantity": { "type": "integer", "minimum": 1, "maximum": 100 }
}
}
},
"operations": {
"type": "array",
"maxItems": 1000,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 4096
}
}
}
}