功能修改
This commit is contained in:
+45
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "SCUMOnlineSessionsSnapshot",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["observedAt", "onlineCount", "sessions"],
|
||||
"properties": {
|
||||
"observedAt": {
|
||||
"type": "string",
|
||||
"maxLength": 64,
|
||||
"format": "date-time"
|
||||
},
|
||||
"onlineCount": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 10000
|
||||
},
|
||||
"sessions": {
|
||||
"type": "array",
|
||||
"maxItems": 200,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["sessionId", "playerName"],
|
||||
"properties": {
|
||||
"sessionId": {
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
"maxLength": 120
|
||||
},
|
||||
"playerName": {
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
"maxLength": 80
|
||||
},
|
||||
"startedAt": {
|
||||
"type": "string",
|
||||
"maxLength": 64,
|
||||
"format": "date-time"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user