Variable _Schema_MasterSrvConst
_Schema_MasterSrv: ZodObject<
{
servers: ZodArray<
ZodObject<
{
addresses: ZodArray<ZodString, "many">;
info: ZodUnion<
[
ZodObject<
{
altameda_net: ZodOptional<ZodBoolean>;
client_score_kind: ZodOptional<ZodString>;
clients: ZodArray<
ZodObject<(...), (...), (...), (...), (...)>,
"many",
>;
community: ZodOptional<
ZodObject<(...), (...), (...), (...), (...)>,
>;
game_type: ZodString;
map: ZodObject<
{ name: ...; sha256: ...; size: ... },
"strip",
ZodTypeAny,
{ name: ...; sha256?: ...; size?: ... },
{ name: ...; sha256?: ...; size?: ... },
>;
max_clients: ZodNumber;
max_players: ZodNumber;
name: ZodString;
passworded: ZodBoolean;
requires_login: ZodOptional<ZodBoolean>;
version: ZodString;
},
"strip",
ZodTypeAny,
{
altameda_net?: boolean;
client_score_kind?: string;
clients: {
afk?: ...;
clan: ...;
country: ...;
is_player: ...;
name: ...;
score: ...;
skin?: ...;
team?: ...;
}[];
community?: {
admin: ...;
icon: ...;
id: ...;
public_key: ...;
signature: ...;
};
game_type: string;
map: { name: string; sha256?: (...)
| (...); size?: (...) | (...) };
max_clients: number;
max_players: number;
name: string;
passworded: boolean;
requires_login?: boolean;
version: string;
},
{
altameda_net?: boolean;
client_score_kind?: string;
clients: {
afk?: ...;
clan: ...;
country: ...;
is_player: ...;
name: ...;
score: ...;
skin?: ...;
team?: ...;
}[];
community?: {
admin: ...;
icon: ...;
id: ...;
public_key: ...;
signature: ...;
};
game_type: string;
map: { name: string; sha256?: (...)
| (...); size?: (...) | (...) };
max_clients: number;
max_players: number;
name: string;
passworded: boolean;
requires_login?: boolean;
version: string;
},
>,
ZodUnknown,
],
>;
location: ZodOptional<ZodString>;
},
"strip",
ZodTypeAny,
{ addresses: string[]; info?: unknown; location?: string },
{ addresses: string[]; info?: unknown; location?: string },
>,
"many",
>;
},
"strip",
ZodTypeAny,
{ servers: { addresses: string[]; info?: unknown; location?: string }[] },
{ servers: { addresses: string[]; info?: unknown; location?: string }[] },
> = ...
Zod schema for raw master server data.