功能修改
This commit is contained in:
+27
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "SCUMPlayerSearchResult",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["players"],
|
||||
"properties": {
|
||||
"players": {
|
||||
"type": "array",
|
||||
"maxItems": 50,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["playerId", "playerName", "online"],
|
||||
"properties": {
|
||||
"playerId": { "type": "string", "minLength": 1, "maxLength": 96, "pattern": "^[A-Za-z0-9_.:-]{1,96}$" },
|
||||
"playerName": { "type": "string", "minLength": 1, "maxLength": 80 },
|
||||
"platformUserId": { "type": "string", "minLength": 1, "maxLength": 96, "pattern": "^[A-Za-z0-9_.:-]{1,96}$" },
|
||||
"squadId": { "type": "string", "minLength": 1, "maxLength": 96, "pattern": "^[A-Za-z0-9_.:-]{1,96}$" },
|
||||
"online": { "type": "boolean" },
|
||||
"lastSeenAt": { "type": "string", "minLength": 1, "maxLength": 64, "format": "date-time" }
|
||||
}
|
||||
}
|
||||
},
|
||||
"truncated": { "type": "boolean" }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user