Rebuild SCUM plugin data ownership

This commit is contained in:
npc0-hue
2026-08-14 10:03:58 +08:00
parent c8b49c711c
commit a6c4cdac5d
79 changed files with 532 additions and 1842 deletions
@@ -1,10 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "SCUMActivityParameters",
"type": "object",
"additionalProperties": false,
"properties": {
"userProfileId": { "type": "string", "minLength": 1, "maxLength": 96 },
"limit": { "type": "integer", "minimum": 1, "maximum": 500 }
}
}
@@ -1,29 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "SCUMActivityResult",
"type": "object",
"additionalProperties": false,
"required": ["rows"],
"properties": {
"rows": {
"type": "array",
"maxItems": 500,
"items": {
"type": "object",
"additionalProperties": false,
"required": ["activityId", "activityType", "state"],
"properties": {
"activityId": { "type": "string", "minLength": 1, "maxLength": 160 },
"activityType": { "type": "string", "minLength": 1, "maxLength": 64 },
"userProfileId": { "type": "string", "minLength": 1, "maxLength": 96 },
"mapId": { "type": "string", "minLength": 1, "maxLength": 96 },
"subject": { "type": "string", "minLength": 1, "maxLength": 240 },
"sequenceIndex": { "type": "integer" },
"occurredAt": { "type": "string", "format": "date-time" },
"state": { "type": "string", "minLength": 1, "maxLength": 64 }
}
}
},
"truncated": { "type": "boolean" }
}
}
@@ -17,9 +17,9 @@
"entityId": { "type": "string", "minLength": 1, "maxLength": 96 },
"ownerProfileId": { "type": "string", "minLength": 1, "maxLength": 96 },
"ownerPlayerId": { "type": "string", "minLength": 1, "maxLength": 96 },
"baseId": { "type": "string", "minLength": 1, "maxLength": 96 },
"overtakerProfileId": { "type": "string", "minLength": 1, "maxLength": 96 },
"overtakeEndTime": { "type": "string", "format": "date-time" },
"ownerSquadId": { "type": "string", "minLength": 1, "maxLength": 96 },
"ownerSquadName": { "type": "string", "minLength": 1, "maxLength": 80 },
"ownershipConfidence": { "enum": ["direct", "member", "squad", "unknown"] },
"x": { "type": "number" },
"y": { "type": "number" },
"z": { "type": "number" }
@@ -1,10 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "SCUMGiftsParameters",
"type": "object",
"additionalProperties": false,
"properties": {
"userProfileId": { "type": "string", "minLength": 1, "maxLength": 96 },
"limit": { "type": "integer", "minimum": 1, "maximum": 500 }
}
}
@@ -1,28 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "SCUMGiftsResult",
"type": "object",
"additionalProperties": false,
"required": ["rows"],
"properties": {
"rows": {
"type": "array",
"maxItems": 500,
"items": {
"type": "object",
"additionalProperties": false,
"required": ["giftId", "giftType", "spawnTime"],
"properties": {
"giftId": { "type": "string", "minLength": 1, "maxLength": 160 },
"giftType": { "type": "string", "minLength": 1, "maxLength": 64 },
"userProfileId": { "type": "string", "minLength": 1, "maxLength": 96 },
"mapId": { "type": "string", "minLength": 1, "maxLength": 96 },
"spawnTime": { "type": "integer" },
"spawnAt": { "type": "string", "format": "date-time" },
"displayName": { "type": "string", "minLength": 1, "maxLength": 80 }
}
}
},
"truncated": { "type": "boolean" }
}
}
@@ -25,10 +25,7 @@
"x": { "type": "number" },
"y": { "type": "number" },
"z": { "type": "number" },
"lastSaveTime": { "type": "string", "format": "date-time" },
"lastLoginTime": { "type": "string", "format": "date-time" },
"lastLogoutTime": { "type": "string", "format": "date-time" },
"isAlive": { "type": "integer", "minimum": 0, "maximum": 1 }
"lastSaveTime": { "type": "string", "format": "date-time" }
}
}
},
@@ -4,7 +4,7 @@
"type": "object",
"additionalProperties": false,
"properties": {
"subjectType": { "enum": ["player", "vehicle", "base", "flag"] },
"subjectType": { "enum": ["player", "vehicle", "flag"] },
"subjectId": { "type": "string", "minLength": 1, "maxLength": 96 },
"limit": { "type": "integer", "minimum": 1, "maximum": 500 }
}
@@ -13,16 +13,15 @@
"additionalProperties": false,
"required": ["subjectType", "subjectId", "x", "y"],
"properties": {
"subjectType": { "enum": ["player", "vehicle", "base", "flag"] },
"subjectType": { "enum": ["player", "vehicle", "flag"] },
"subjectId": { "type": "string", "minLength": 1, "maxLength": 96 },
"gamePlayerId": { "type": "string", "minLength": 1, "maxLength": 96 },
"vehicleId": { "type": "string", "minLength": 1, "maxLength": 96 },
"baseId": { "type": "string", "minLength": 1, "maxLength": 96 },
"entityId": { "type": "string", "minLength": 1, "maxLength": 96 },
"x": { "type": "number" },
"y": { "type": "number" },
"z": { "type": "number" },
"observedAt": { "type": "string", "format": "date-time" }
"lastSaveTime": { "type": "string", "format": "date-time" }
}
}
},
@@ -18,10 +18,7 @@
"leaderProfileId": { "type": "string", "minLength": 1, "maxLength": 96 },
"leaderPlayerId": { "type": "string", "minLength": 1, "maxLength": 96 },
"memberCount": { "type": "integer", "minimum": 0, "maximum": 1000 },
"score": { "type": "number" },
"memberLimit": { "type": "integer", "minimum": 0, "maximum": 1000 },
"lastMemberLoginTime": { "type": "string", "format": "date-time" },
"lastMemberLogoutTime": { "type": "string", "format": "date-time" }
"score": { "type": "number" }
}
}
},
@@ -22,9 +22,7 @@
"squadId": { "type": "string", "minLength": 1, "maxLength": 96 },
"x": { "type": "number" },
"y": { "type": "number" },
"z": { "type": "number" },
"lastAccessTime": { "type": "string", "format": "date-time" },
"isFunctional": { "type": "integer", "minimum": 0, "maximum": 1 }
"z": { "type": "number" }
}
}
},