35 lines
1.4 KiB
JSON
35 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"title": "SCUMEventsResult",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["rows"],
|
|
"properties": {
|
|
"rows": {
|
|
"type": "array",
|
|
"maxItems": 500,
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["eventRecordId", "eventId", "roundId", "userProfileId", "startTime", "endTime", "state", "score", "enemyKills", "teamKills", "deaths", "assists", "headshots"],
|
|
"properties": {
|
|
"eventRecordId": { "type": "string", "minLength": 1, "maxLength": 192 },
|
|
"eventId": { "type": "string", "minLength": 1, "maxLength": 96 },
|
|
"roundId": { "type": "string", "minLength": 1, "maxLength": 96 },
|
|
"userProfileId": { "type": ["string", "null"], "minLength": 1, "maxLength": 96 },
|
|
"startTime": { "type": ["string", "null"], "maxLength": 120 },
|
|
"endTime": { "type": ["string", "null"], "maxLength": 120 },
|
|
"state": { "enum": ["active", "finished"] },
|
|
"score": { "type": ["number", "null"] },
|
|
"enemyKills": { "type": ["integer", "null"] },
|
|
"teamKills": { "type": ["integer", "null"] },
|
|
"deaths": { "type": ["integer", "null"] },
|
|
"assists": { "type": ["integer", "null"] },
|
|
"headshots": { "type": ["integer", "null"] }
|
|
}
|
|
}
|
|
},
|
|
"truncated": { "type": "boolean" }
|
|
}
|
|
}
|