27 lines
1.1 KiB
JSON
27 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"title": "SCUMPlayerEconomyReadResult",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["rows"],
|
|
"properties": {
|
|
"rows": {
|
|
"type": "array",
|
|
"maxItems": 16,
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["externalPlayerId", "profileId", "bankAccountId", "currencyRowId", "currencyType", "accountBalance"],
|
|
"properties": {
|
|
"externalPlayerId": { "type": "string", "minLength": 1, "maxLength": 96, "pattern": "^[A-Za-z0-9_.:-]{1,96}$" },
|
|
"profileId": { "type": "integer", "minimum": 0, "maximum": 2147483647 },
|
|
"bankAccountId": { "type": "integer", "minimum": 0, "maximum": 2147483647 },
|
|
"currencyRowId": { "type": "integer", "minimum": 0, "maximum": 2147483647 },
|
|
"currencyType": { "type": "integer", "minimum": 0, "maximum": 2147483647 },
|
|
"accountBalance": { "type": ["integer", "null"], "minimum": -2147483648, "maximum": 2147483647 }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|