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