Files
browser/plugins/examples/scum-server-plugin/schemas/scum-live/flags-read.result.schema.json
T
2026-08-13 09:20:42 +08:00

35 lines
1.7 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "SCUMFlagsReadResult",
"type": "object",
"additionalProperties": false,
"required": ["rows"],
"properties": {
"rows": {
"type": "array",
"maxItems": 200,
"items": {
"type": "object",
"additionalProperties": false,
"required": ["flagElementId", "baseElementId", "baseId", "ownerProfileId", "ownerExternalPlayerId", "ownerDisplayName", "ownerSquadId", "ownerSquadName", "flagX", "flagY", "flagZ", "territoryX", "territoryY", "territoryZ"],
"properties": {
"flagElementId": { "type": "integer", "minimum": 0, "maximum": 2147483647 },
"baseElementId": { "type": "integer", "minimum": 0, "maximum": 2147483647 },
"baseId": { "type": "integer", "minimum": 0, "maximum": 2147483647 },
"ownerProfileId": { "type": ["integer", "null"], "minimum": 0, "maximum": 2147483647 },
"ownerExternalPlayerId": { "type": ["string", "null"], "minLength": 1, "maxLength": 96, "pattern": "^[A-Za-z0-9_.:-]{1,96}$" },
"ownerDisplayName": { "type": ["string", "null"], "minLength": 1, "maxLength": 80 },
"ownerSquadId": { "type": ["integer", "null"], "minimum": 0, "maximum": 2147483647 },
"ownerSquadName": { "type": ["string", "null"], "minLength": 1, "maxLength": 80 },
"flagX": { "type": ["number", "null"] },
"flagY": { "type": ["number", "null"] },
"flagZ": { "type": ["number", "null"] },
"territoryX": { "type": ["number", "null"] },
"territoryY": { "type": ["number", "null"] },
"territoryZ": { "type": ["number", "null"] }
}
}
}
}
}