27 lines
1.0 KiB
JSON
27 lines
1.0 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"title": "SCUMSquadMembersResult",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["members"],
|
|
"properties": {
|
|
"members": {
|
|
"type": "array",
|
|
"maxItems": 64,
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["squadId", "playerId", "playerName", "role"],
|
|
"properties": {
|
|
"squadId": { "type": "string", "minLength": 1, "maxLength": 96, "pattern": "^[A-Za-z0-9_.:-]{1,96}$" },
|
|
"playerId": { "type": "string", "minLength": 1, "maxLength": 96, "pattern": "^[A-Za-z0-9_.:-]{1,96}$" },
|
|
"playerName": { "type": "string", "minLength": 1, "maxLength": 80 },
|
|
"role": { "type": "string", "minLength": 1, "maxLength": 16, "enum": ["leader", "member", "unknown"] },
|
|
"joinedAt": { "type": "string", "minLength": 1, "maxLength": 64, "format": "date-time" }
|
|
}
|
|
}
|
|
},
|
|
"truncated": { "type": "boolean" }
|
|
}
|
|
}
|