27 lines
1.1 KiB
JSON
27 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"title": "SCUMVehicleOwnerResult",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["ownership"],
|
|
"properties": {
|
|
"ownership": {
|
|
"type": "array",
|
|
"maxItems": 1,
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["vehicleId", "vehicleType", "status"],
|
|
"properties": {
|
|
"vehicleId": { "type": "string", "minLength": 1, "maxLength": 96, "pattern": "^[A-Za-z0-9_.:-]{1,96}$" },
|
|
"vehicleType": { "type": "string", "minLength": 1, "maxLength": 80 },
|
|
"ownerPlayerId": { "type": "string", "minLength": 1, "maxLength": 96, "pattern": "^[A-Za-z0-9_.:-]{1,96}$" },
|
|
"ownerPlayerName": { "type": "string", "minLength": 1, "maxLength": 80 },
|
|
"squadId": { "type": "string", "minLength": 1, "maxLength": 96, "pattern": "^[A-Za-z0-9_.:-]{1,96}$" },
|
|
"status": { "type": "string", "minLength": 1, "maxLength": 16, "enum": ["owned", "unowned", "unknown"] }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|