{"asyncapi":"2.3.0","info":{"title":"Rust server","description":"test","version":"0.4.1"},"servers":{"production":{"url":"test.nats.org:4444","protocol":"nats","description":"Test broker"}},"defaultContentType":"json","channels":{"v0/rust/servers/{server_id}/events/wiped":{"description":"Channel for the API to process when a server has just wiped.","parameters":{"server_id":{"description":"The ID of the server","schema":{"type":"string","x-parser-schema-id":"server_id"}}},"subscribe":{"operationId":"ServerWiped","message":{"name":"ServerWiped","payload":{"type":"null","x-parser-schema-id":"<anonymous-schema-1>"},"x-parser-original-schema-format":"application/vnd.aai.asyncapi;version=2.3.0","x-parser-original-payload":{"type":"null"},"schemaFormat":"application/vnd.aai.asyncapi;version=2.3.0","x-parser-message-parsed":true}}},"v0/rust/servers/{server_id}/events/started":{"description":"Channel for the API to process for when a server has started","parameters":{"server_id":{"description":"The ID of the server","schema":{"type":"string","x-parser-schema-id":"server_id"}}},"subscribe":{"operationId":"ServerStarted","message":{"name":"ServerStarted","payload":{"type":"null","x-parser-schema-id":"<anonymous-schema-2>"},"x-parser-original-schema-format":"application/vnd.aai.asyncapi;version=2.3.0","x-parser-original-payload":{"type":"null"},"schemaFormat":"application/vnd.aai.asyncapi;version=2.3.0","x-parser-message-parsed":true}}},"v0/rust/servers/{server_id}/events/stopping":{"description":"Channel for the API to process for when a server is about to stop (cant send information if already stopped)","parameters":{"server_id":{"description":"The ID of the server","schema":{"type":"string","x-parser-schema-id":"server_id"}}},"subscribe":{"operationId":"ServerStopping","message":{"name":"ServerStopping","payload":{"type":"null","x-parser-schema-id":"<anonymous-schema-3>"},"x-parser-original-schema-format":"application/vnd.aai.asyncapi;version=2.3.0","x-parser-original-payload":{"type":"null"},"schemaFormat":"application/vnd.aai.asyncapi;version=2.3.0","x-parser-message-parsed":true}}},"v0/rust/servers/{server_id}/players/{steam_id}/events/connected":{"description":"Channel for the API to process for when a player connects to a server","parameters":{"server_id":{"description":"The ID of the server","schema":{"type":"string","x-parser-schema-id":"server_id"}},"steam_id":{"description":"The steam ID of a player","schema":{"type":"string","x-parser-schema-id":"steam_id"}}},"subscribe":{"operationId":"ServerPlayerConnected","message":{"name":"ServerPlayerConnected","payload":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"ServerPlayerConnected","required":["player","connected_timestamp"],"properties":{"connected_timestamp":{"type":"string","example":"2016-08-29T09:12:33.001Z","x-parser-schema-id":"<anonymous-schema-4>"},"player":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"Player","required":["id","name","address"],"properties":{"id":{"type":"string","x-parser-schema-id":"<anonymous-schema-5>"},"name":{"type":"string","x-parser-schema-id":"<anonymous-schema-6>"},"address":{"type":"string","x-parser-schema-id":"<anonymous-schema-7>"}}}}},"x-parser-original-schema-format":"application/vnd.aai.asyncapi;version=2.3.0","x-parser-original-payload":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"ServerPlayerConnected","required":["player","connected_timestamp"],"properties":{"connected_timestamp":{"type":"string","example":"2016-08-29T09:12:33.001Z"},"player":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"Player","required":["id","name","address"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"address":{"type":"string"}}}}},"schemaFormat":"application/vnd.aai.asyncapi;version=2.3.0","x-parser-message-parsed":true}}},"v0/rust/servers/{server_id}/players/{steam_id}/events/disconnected":{"description":"Channel for the API to process for when a player disconnects from a server","parameters":{"server_id":{"description":"The ID of the server","schema":{"type":"string","x-parser-schema-id":"server_id"}},"steam_id":{"description":"The steam ID of a player","schema":{"type":"string","x-parser-schema-id":"steam_id"}}},"subscribe":{"operationId":"ServerPlayerDisconnected","message":{"name":"ServerPlayerDisconnected","payload":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"ServerPlayerDisconnected","required":["player","Reason","disconnected_timestamp"],"properties":{"disconnected_timestamp":{"type":"string","example":"2016-08-29T09:12:33.001Z","x-parser-schema-id":"<anonymous-schema-8>"},"player":{"type":"object","$id":"ServerPlayerDisconnectedPlayer","required":["id"],"properties":{"id":{"type":"string","x-parser-schema-id":"<anonymous-schema-9>"}}},"reason":{"type":"string","x-parser-schema-id":"<anonymous-schema-10>"}}},"x-parser-original-schema-format":"application/vnd.aai.asyncapi;version=2.3.0","x-parser-original-payload":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"ServerPlayerDisconnected","required":["player","Reason","disconnected_timestamp"],"properties":{"disconnected_timestamp":{"type":"string","example":"2016-08-29T09:12:33.001Z"},"player":{"type":"object","$id":"ServerPlayerDisconnectedPlayer","required":["id"],"properties":{"id":{"type":"string"}}},"reason":{"type":"string"}}},"schemaFormat":"application/vnd.aai.asyncapi;version=2.3.0","x-parser-message-parsed":true}}},"v0/rust/servers/{server_id}/players/{steam_id}/events/resourcesGathered":{"description":"Channel for the API to process for when a player gathers some resources","parameters":{"server_id":{"description":"The ID of the server","schema":{"type":"string","x-parser-schema-id":"server_id"}},"steam_id":{"description":"The steam ID of a player","schema":{"type":"string","x-parser-schema-id":"steam_id"}}},"subscribe":{"operationId":"ServerPlayerResourceGathered","message":{"name":"ServerPlayerResourceGathered","payload":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"ServerPlayerResourceGathered","required":["steam_id","item_uid","item_id","amount","gathering_item","gathered_timestamp"],"properties":{"gathered_timestamp":{"type":"string","example":"2016-08-29T09:12:33.001Z","x-parser-schema-id":"<anonymous-schema-11>"},"steam_id":{"type":"string","description":"The player's steamID64, must be 17 chars long.","pattern":"^[0-9]{17}$","x-parser-schema-id":"<anonymous-schema-12>"},"item_uid":{"type":"integer","x-parser-schema-id":"<anonymous-schema-13>"},"item_id":{"type":"integer","x-parser-schema-id":"<anonymous-schema-14>"},"amount":{"type":"integer","x-parser-schema-id":"<anonymous-schema-15>"},"gathering_item":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"ActiveItem","properties":{"uid":{"type":"integer","x-parser-schema-id":"<anonymous-schema-16>"},"item_id":{"type":"integer","x-parser-schema-id":"<anonymous-schema-17>"}}},"gathering_position":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"PlayerPosition","required":["x","y","z"],"properties":{"x":{"type":"number","x-parser-schema-id":"<anonymous-schema-18>"},"y":{"type":"number","x-parser-schema-id":"<anonymous-schema-19>"},"z":{"type":"number","x-parser-schema-id":"<anonymous-schema-20>"}}}}},"x-parser-original-schema-format":"application/vnd.aai.asyncapi;version=2.3.0","x-parser-original-payload":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"ServerPlayerResourceGathered","required":["steam_id","item_uid","item_id","amount","gathering_item","gathered_timestamp"],"properties":{"gathered_timestamp":{"type":"string","example":"2016-08-29T09:12:33.001Z"},"steam_id":{"type":"string","description":"The player's steamID64, must be 17 chars long.","pattern":"^[0-9]{17}$"},"item_uid":{"type":"integer"},"item_id":{"type":"integer"},"amount":{"type":"integer"},"gathering_item":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"ActiveItem","properties":{"uid":{"type":"integer"},"item_id":{"type":"integer"}}},"gathering_position":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"PlayerPosition","required":["x","y","z"],"properties":{"x":{"type":"number"},"y":{"type":"number"},"z":{"type":"number"}}}}},"schemaFormat":"application/vnd.aai.asyncapi;version=2.3.0","x-parser-message-parsed":true}}},"v0/rust/servers/{server_id}/players/{steam_id}/events/respawned":{"description":"Channel for the API to process for when a player respawn","parameters":{"server_id":{"description":"The ID of the server","schema":{"type":"string","x-parser-schema-id":"server_id"}},"steam_id":{"description":"The steam ID of a player","schema":{"type":"string","x-parser-schema-id":"steam_id"}}},"subscribe":{"operationId":"ServerPlayerRespawned","message":{"name":"ServerPlayerRespawned","payload":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"ServerPlayerRespawned","required":["steam_id","respawn_timestamp","respawn_position"],"properties":{"steam_id":{"type":"string","description":"The player's steamID64, must be 17 chars long.","pattern":"^[0-9]{17}$","x-parser-schema-id":"<anonymous-schema-21>"},"respawn_timestamp":{"type":"string","example":"2016-08-29T09:12:33.001Z","x-parser-schema-id":"<anonymous-schema-22>"},"respawn_position":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"PlayerPosition","required":["x","y","z"],"properties":{"x":{"type":"number","x-parser-schema-id":"<anonymous-schema-23>"},"y":{"type":"number","x-parser-schema-id":"<anonymous-schema-24>"},"z":{"type":"number","x-parser-schema-id":"<anonymous-schema-25>"}}}}},"x-parser-original-schema-format":"application/vnd.aai.asyncapi;version=2.3.0","x-parser-original-payload":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"ServerPlayerRespawned","required":["steam_id","respawn_timestamp","respawn_position"],"properties":{"steam_id":{"type":"string","description":"The player's steamID64, must be 17 chars long.","pattern":"^[0-9]{17}$"},"respawn_timestamp":{"type":"string","example":"2016-08-29T09:12:33.001Z"},"respawn_position":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"PlayerPosition","required":["x","y","z"],"properties":{"x":{"type":"number"},"y":{"type":"number"},"z":{"type":"number"}}}}},"schemaFormat":"application/vnd.aai.asyncapi;version=2.3.0","x-parser-message-parsed":true}}},"v0/rust/servers/{server_id}/players/{steam_id}/events/combat/playerhit":{"description":"Channel for the API to process for when a player hits another player","parameters":{"server_id":{"description":"The ID of the server","schema":{"type":"string","x-parser-schema-id":"server_id"}},"steam_id":{"description":"The steam ID of a player","schema":{"type":"string","x-parser-schema-id":"steam_id"}}},"subscribe":{"operationId":"ServerPlayerCombatPlayerhit","message":{"name":"ServerPlayerCombatPlayerhit","payload":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"ServerPlayerCombatPlayerhit","required":["hit_timestamp","player_hit"],"properties":{"hit_timestamp":{"type":"string","example":"2016-08-29T09:12:33.001Z","x-parser-schema-id":"<anonymous-schema-26>"},"player_hit":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"PlayerOnPlayerHit","required":["hit_area_id","hit_distance","hit_damage","isKill","victim","attacker"],"properties":{"hit_area_id":{"type":"integer","x-parser-schema-id":"<anonymous-schema-27>"},"hit_distance":{"type":"number","x-parser-schema-id":"<anonymous-schema-28>"},"hit_damage":{"type":"number","x-parser-schema-id":"<anonymous-schema-29>"},"isKill":{"type":"boolean","x-parser-schema-id":"<anonymous-schema-30>"},"victim":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"PlayerHit","required":["steam_id","position","active_item"],"properties":{"steam_id":{"type":"string","description":"The player's steamID64, must be 17 chars long.","pattern":"^[0-9]{17}$","x-parser-schema-id":"<anonymous-schema-31>"},"position":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"PlayerPosition","required":["x","y","z"],"properties":{"x":{"type":"number","x-parser-schema-id":"<anonymous-schema-32>"},"y":{"type":"number","x-parser-schema-id":"<anonymous-schema-33>"},"z":{"type":"number","x-parser-schema-id":"<anonymous-schema-34>"}}},"active_item":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"ActiveItem","properties":{"uid":{"type":"integer","x-parser-schema-id":"<anonymous-schema-35>"},"item_id":{"type":"integer","x-parser-schema-id":"<anonymous-schema-36>"}}}}},"attacker":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"PlayerHit","required":["steam_id","position","active_item"],"properties":{"steam_id":{"type":"string","description":"The player's steamID64, must be 17 chars long.","pattern":"^[0-9]{17}$","x-parser-schema-id":"<anonymous-schema-37>"},"position":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"PlayerPosition","required":["x","y","z"],"properties":{"x":{"type":"number","x-parser-schema-id":"<anonymous-schema-38>"},"y":{"type":"number","x-parser-schema-id":"<anonymous-schema-39>"},"z":{"type":"number","x-parser-schema-id":"<anonymous-schema-40>"}}},"active_item":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"ActiveItem","properties":{"uid":{"type":"integer","x-parser-schema-id":"<anonymous-schema-41>"},"item_id":{"type":"integer","x-parser-schema-id":"<anonymous-schema-42>"}}}}}}}}},"x-parser-original-schema-format":"application/vnd.aai.asyncapi;version=2.3.0","x-parser-original-payload":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"ServerPlayerCombatPlayerhit","required":["hit_timestamp","player_hit"],"properties":{"hit_timestamp":{"type":"string","example":"2016-08-29T09:12:33.001Z"},"player_hit":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"PlayerOnPlayerHit","required":["hit_area_id","hit_distance","hit_damage","isKill","victim","attacker"],"properties":{"hit_area_id":{"type":"integer"},"hit_distance":{"type":"number"},"hit_damage":{"type":"number"},"isKill":{"type":"boolean"},"victim":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"PlayerHit","required":["steam_id","position","active_item"],"properties":{"steam_id":{"type":"string","description":"The player's steamID64, must be 17 chars long.","pattern":"^[0-9]{17}$"},"position":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"PlayerPosition","required":["x","y","z"],"properties":{"x":{"type":"number"},"y":{"type":"number"},"z":{"type":"number"}}},"active_item":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"ActiveItem","properties":{"uid":{"type":"integer"},"item_id":{"type":"integer"}}}}},"attacker":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"PlayerHit","required":["steam_id","position","active_item"],"properties":{"steam_id":{"type":"string","description":"The player's steamID64, must be 17 chars long.","pattern":"^[0-9]{17}$"},"position":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"PlayerPosition","required":["x","y","z"],"properties":{"x":{"type":"number"},"y":{"type":"number"},"z":{"type":"number"}}},"active_item":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"ActiveItem","properties":{"uid":{"type":"integer"},"item_id":{"type":"integer"}}}}}}}}},"schemaFormat":"application/vnd.aai.asyncapi;version=2.3.0","x-parser-message-parsed":true}}},"v0/rust/servers/{server_id}/players/{steam_id}/events/items/{item_id}/pickup":{"description":"Channel for the API to process for when a player pickup items ingame","parameters":{"server_id":{"description":"The ID of the server","schema":{"type":"string","x-parser-schema-id":"server_id"}},"steam_id":{"description":"The steam ID of a player","schema":{"type":"string","x-parser-schema-id":"steam_id"}},"item_id":{"description":"The ID of an item","schema":{"type":"string","x-parser-schema-id":"item_id"}}},"subscribe":{"operationId":"ServerPlayerItemPickup","message":{"name":"ServerPlayerItemPickup","payload":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"ServerPlayerItemPickup","required":["steam_id","item_uid","item_id","pickup_timestamp"],"properties":{"pickup_timestamp":{"type":"string","example":"2016-08-29T09:12:33.001Z","x-parser-schema-id":"<anonymous-schema-43>"},"steam_id":{"type":"string","description":"The player's steamID64, must be 17 chars long.","pattern":"^[0-9]{17}$","x-parser-schema-id":"<anonymous-schema-44>"},"item_uid":{"type":"integer","x-parser-schema-id":"<anonymous-schema-45>"},"item_id":{"type":"integer","x-parser-schema-id":"<anonymous-schema-46>"},"amount":{"type":"integer","x-parser-schema-id":"<anonymous-schema-47>"}}},"x-parser-original-schema-format":"application/vnd.aai.asyncapi;version=2.3.0","x-parser-original-payload":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"ServerPlayerItemPickup","required":["steam_id","item_uid","item_id","pickup_timestamp"],"properties":{"pickup_timestamp":{"type":"string","example":"2016-08-29T09:12:33.001Z"},"steam_id":{"type":"string","description":"The player's steamID64, must be 17 chars long.","pattern":"^[0-9]{17}$"},"item_uid":{"type":"integer"},"item_id":{"type":"integer"},"amount":{"type":"integer"}}},"schemaFormat":"application/vnd.aai.asyncapi;version=2.3.0","x-parser-message-parsed":true}}},"v0/rust/servers/{server_id}/players/{steam_id}/events/items/{item_id}/loot":{"description":"Channel for the API to process for when a player loots an item ingame","parameters":{"server_id":{"description":"The ID of the server","schema":{"type":"string","x-parser-schema-id":"server_id"}},"steam_id":{"description":"The steam ID of a player","schema":{"type":"string","x-parser-schema-id":"steam_id"}},"item_id":{"description":"The ID of an item","schema":{"type":"string","x-parser-schema-id":"item_id"}}},"subscribe":{"operationId":"ServerPlayerItemLoot","message":{"name":"ServerPlayerItemLoot","payload":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"ServerPlayerItemLoot","required":["steam_id","item_uid","item_id","loot_timestamp","amount","container_uid","container_prefab"],"properties":{"loot_timestamp":{"type":"string","example":"2016-08-29T09:12:33.001Z","x-parser-schema-id":"<anonymous-schema-48>"},"steam_id":{"type":"string","description":"The player's steamID64, must be 17 chars long.","pattern":"^[0-9]{17}$","x-parser-schema-id":"<anonymous-schema-49>"},"item_uid":{"type":"integer","x-parser-schema-id":"<anonymous-schema-50>"},"item_id":{"type":"integer","x-parser-schema-id":"<anonymous-schema-51>"},"container_uid":{"type":"integer","x-parser-schema-id":"<anonymous-schema-52>"},"container_prefab":{"type":"string","x-parser-schema-id":"<anonymous-schema-53>"},"container_position":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"PlayerPosition","required":["x","y","z"],"properties":{"x":{"type":"number","x-parser-schema-id":"<anonymous-schema-54>"},"y":{"type":"number","x-parser-schema-id":"<anonymous-schema-55>"},"z":{"type":"number","x-parser-schema-id":"<anonymous-schema-56>"}}},"amount":{"type":"integer","x-parser-schema-id":"<anonymous-schema-57>"}}},"x-parser-original-schema-format":"application/vnd.aai.asyncapi;version=2.3.0","x-parser-original-payload":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"ServerPlayerItemLoot","required":["steam_id","item_uid","item_id","loot_timestamp","amount","container_uid","container_prefab"],"properties":{"loot_timestamp":{"type":"string","example":"2016-08-29T09:12:33.001Z"},"steam_id":{"type":"string","description":"The player's steamID64, must be 17 chars long.","pattern":"^[0-9]{17}$"},"item_uid":{"type":"integer"},"item_id":{"type":"integer"},"container_uid":{"type":"integer"},"container_prefab":{"type":"string"},"container_position":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"PlayerPosition","required":["x","y","z"],"properties":{"x":{"type":"number"},"y":{"type":"number"},"z":{"type":"number"}}},"amount":{"type":"integer"}}},"schemaFormat":"application/vnd.aai.asyncapi;version=2.3.0","x-parser-message-parsed":true}}},"v0/rust/servers/{server_id}/players/{steam_id}/events/items/{item_id}/crafted":{"description":"Channel for the API to process for when a player crafts items ingame","parameters":{"server_id":{"description":"The ID of the server","schema":{"type":"string","x-parser-schema-id":"server_id"}},"steam_id":{"description":"The steam ID of a player","schema":{"type":"string","x-parser-schema-id":"steam_id"}},"item_id":{"description":"The ID of an item","schema":{"type":"string","x-parser-schema-id":"item_id"}}},"subscribe":{"operationId":"ServerPlayerItemCrafted","message":{"name":"ServerPlayerItemCrafted","payload":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"ServerPlayerItemCrafted","required":["steam_id","item_uid","item_id","craft_timestamp","amount"],"properties":{"craft_timestamp":{"type":"string","example":"2016-08-29T09:12:33.001Z","x-parser-schema-id":"<anonymous-schema-58>"},"steam_id":{"type":"string","description":"The player's steamID64, must be 17 chars long.","pattern":"^[0-9]{17}$","x-parser-schema-id":"<anonymous-schema-59>"},"item_uid":{"type":"integer","x-parser-schema-id":"<anonymous-schema-60>"},"item_id":{"type":"integer","x-parser-schema-id":"<anonymous-schema-61>"},"amount":{"type":"integer","x-parser-schema-id":"<anonymous-schema-62>"}}},"x-parser-original-schema-format":"application/vnd.aai.asyncapi;version=2.3.0","x-parser-original-payload":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"ServerPlayerItemCrafted","required":["steam_id","item_uid","item_id","craft_timestamp","amount"],"properties":{"craft_timestamp":{"type":"string","example":"2016-08-29T09:12:33.001Z"},"steam_id":{"type":"string","description":"The player's steamID64, must be 17 chars long.","pattern":"^[0-9]{17}$"},"item_uid":{"type":"integer"},"item_id":{"type":"integer"},"amount":{"type":"integer"}}},"schemaFormat":"application/vnd.aai.asyncapi;version=2.3.0","x-parser-message-parsed":true}}},"v0/rust/servers/{server_id}/events/command":{"description":"Channel for the API to process for when a server command is run","parameters":{"server_id":{"description":"The ID of the server","schema":{"type":"string","x-parser-schema-id":"server_id"}}},"subscribe":{"operationId":"ServerCommand","message":{"name":"ServerCommand","payload":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"ServerCommand","required":["timestamp"],"properties":{"command":{"type":"string","x-parser-schema-id":"<anonymous-schema-63>"},"arguments":{"type":"string","x-parser-schema-id":"<anonymous-schema-64>"},"steam_id":{"type":"string","description":"The player's steamID64 which are running the command, must be 17 chars long.","pattern":"^[0-9]{17}$","x-parser-schema-id":"<anonymous-schema-65>"},"timestamp":{"type":"string","example":"2016-08-29T09:12:33.001Z","x-parser-schema-id":"<anonymous-schema-66>"}}},"x-parser-original-schema-format":"application/vnd.aai.asyncapi;version=2.3.0","x-parser-original-payload":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"ServerCommand","required":["timestamp"],"properties":{"command":{"type":"string"},"arguments":{"type":"string"},"steam_id":{"type":"string","description":"The player's steamID64 which are running the command, must be 17 chars long.","pattern":"^[0-9]{17}$"},"timestamp":{"type":"string","example":"2016-08-29T09:12:33.001Z"}}},"schemaFormat":"application/vnd.aai.asyncapi;version=2.3.0","x-parser-message-parsed":true}}},"v0/rust/servers/{server_id}/players/{steam_id}/events/reported":{"description":"Channel for the API to process for when a player is reported","parameters":{"server_id":{"description":"The ID of the server","schema":{"type":"string","x-parser-schema-id":"server_id"}},"steam_id":{"description":"The steam ID of a player","schema":{"type":"string","x-parser-schema-id":"steam_id"}}},"subscribe":{"operationId":"ServerPlayerReported","message":{"name":"ServerPlayerReported","payload":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"ServerPlayerReported","required":["reporter_steam_id","reported_target_steam_id","timestamp"],"properties":{"reporter_steam_id":{"type":"string","description":"The player's steamID64 which reported the player, must be 17 chars long.","pattern":"^[0-9]{17}$","x-parser-schema-id":"<anonymous-schema-67>"},"reported_target_steam_id":{"type":"string","description":"The player's steamID64 which are reported, must be 17 chars long.","pattern":"^[0-9]{17}$","x-parser-schema-id":"<anonymous-schema-68>"},"subject":{"type":"string","x-parser-schema-id":"<anonymous-schema-69>"},"message":{"type":"string","x-parser-schema-id":"<anonymous-schema-70>"},"reportedType":{"type":"string","x-parser-schema-id":"<anonymous-schema-71>"},"timestamp":{"type":"string","example":"2016-08-29T09:12:33.001Z","x-parser-schema-id":"<anonymous-schema-72>"}}},"x-parser-original-schema-format":"application/vnd.aai.asyncapi;version=2.3.0","x-parser-original-payload":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"ServerPlayerReported","required":["reporter_steam_id","reported_target_steam_id","timestamp"],"properties":{"reporter_steam_id":{"type":"string","description":"The player's steamID64 which reported the player, must be 17 chars long.","pattern":"^[0-9]{17}$"},"reported_target_steam_id":{"type":"string","description":"The player's steamID64 which are reported, must be 17 chars long.","pattern":"^[0-9]{17}$"},"subject":{"type":"string"},"message":{"type":"string"},"reportedType":{"type":"string"},"timestamp":{"type":"string","example":"2016-08-29T09:12:33.001Z"}}},"schemaFormat":"application/vnd.aai.asyncapi;version=2.3.0","x-parser-message-parsed":true}}},"v0/rust/servers/{server_id}/players/{steam_id}/events/unbanned":{"description":"Channel for notifying a server unbanned a player","parameters":{"server_id":{"description":"The ID of the server","schema":{"type":"string","x-parser-schema-id":"server_id"}},"steam_id":{"description":"The steam ID of a player","schema":{"type":"string","x-parser-schema-id":"steam_id"}}},"subscribe":{"operationId":"ServerPlayerUnbanned","message":{"name":"ServerPlayerUnbanned","payload":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"ServerPlayerUnbanned","required":["steam_id","timestamp"],"properties":{"steam_id":{"type":"string","description":"The player's steamID64 which are unbanned, must be 17 chars long.","pattern":"^[0-9]{17}$","x-parser-schema-id":"<anonymous-schema-73>"},"name":{"type":"string","x-parser-schema-id":"<anonymous-schema-74>"},"timestamp":{"type":"string","example":"2016-08-29T09:12:33.001Z","x-parser-schema-id":"<anonymous-schema-75>"}}},"x-parser-original-schema-format":"application/vnd.aai.asyncapi;version=2.3.0","x-parser-original-payload":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"ServerPlayerUnbanned","required":["steam_id","timestamp"],"properties":{"steam_id":{"type":"string","description":"The player's steamID64 which are unbanned, must be 17 chars long.","pattern":"^[0-9]{17}$"},"name":{"type":"string"},"timestamp":{"type":"string","example":"2016-08-29T09:12:33.001Z"}}},"schemaFormat":"application/vnd.aai.asyncapi;version=2.3.0","x-parser-message-parsed":true}}},"v0/rust/servers/{server_id}/players/{steam_id}/events/banned":{"description":"Channel for notifying a server banned a player","parameters":{"server_id":{"description":"The ID of the server","schema":{"type":"string","x-parser-schema-id":"server_id"}},"steam_id":{"description":"The steam ID of a player","schema":{"type":"string","x-parser-schema-id":"steam_id"}}},"subscribe":{"operationId":"ServerPlayerBanned","message":{"name":"ServerPlayerBanned","payload":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"ServerPlayerBanned","required":["player_name","steam_id","timestamp"],"properties":{"player_name":{"type":"string","x-parser-schema-id":"<anonymous-schema-76>"},"steam_id":{"type":"string","description":"The player's steamID64, must be 17 chars long.","pattern":"^[0-9]{17}$","x-parser-schema-id":"<anonymous-schema-77>"},"reason":{"type":"string","x-parser-schema-id":"<anonymous-schema-78>"},"duration":{"type":"string","x-parser-schema-id":"<anonymous-schema-79>"},"timestamp":{"type":"string","example":"2016-08-29T09:12:33.001Z","x-parser-schema-id":"<anonymous-schema-80>"}}},"x-parser-original-schema-format":"application/vnd.aai.asyncapi;version=2.3.0","x-parser-original-payload":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"ServerPlayerBanned","required":["player_name","steam_id","timestamp"],"properties":{"player_name":{"type":"string"},"steam_id":{"type":"string","description":"The player's steamID64, must be 17 chars long.","pattern":"^[0-9]{17}$"},"reason":{"type":"string"},"duration":{"type":"string"},"timestamp":{"type":"string","example":"2016-08-29T09:12:33.001Z"}}},"schemaFormat":"application/vnd.aai.asyncapi;version=2.3.0","x-parser-message-parsed":true}}},"v0/rust/servers/{server_id}/players/{steam_id}/events/chat":{"description":"Channel for when a player chats ingame","parameters":{"server_id":{"description":"The ID of the server","schema":{"type":"string","x-parser-schema-id":"server_id"}},"steam_id":{"description":"The steam ID of a player","schema":{"type":"string","x-parser-schema-id":"steam_id"}}},"subscribe":{"operationId":"ServerPlayerChat","message":{"name":"ServerPlayerChat","payload":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"ChatMessage","required":["steam_id","player_name","full_message","is_admin","timestamp"],"properties":{"steam_id":{"type":"string","description":"The player's steamID64, must be 17 chars long.","pattern":"^[0-9]{17}$","x-parser-schema-id":"<anonymous-schema-81>"},"player_name":{"type":"string","x-parser-schema-id":"<anonymous-schema-82>"},"raw_message":{"type":"string","description":"The raw message before being converted with title and rank","x-parser-schema-id":"<anonymous-schema-83>"},"full_message":{"type":"string","x-parser-schema-id":"<anonymous-schema-84>"},"is_admin":{"type":"boolean","x-parser-schema-id":"<anonymous-schema-85>"},"rank":{"type":"integer","x-parser-schema-id":"<anonymous-schema-86>"},"title":{"type":"string","x-parser-schema-id":"<anonymous-schema-87>"},"timestamp":{"type":"string","example":"2016-08-29T09:12:33.001Z","x-parser-schema-id":"<anonymous-schema-88>"}}},"x-parser-original-schema-format":"application/vnd.aai.asyncapi;version=2.3.0","x-parser-original-payload":{"$schema":"http://json-schema.org/draft-07/schema","type":"object","$id":"ChatMessage","required":["steam_id","player_name","full_message","is_admin","timestamp"],"properties":{"steam_id":{"type":"string","description":"The player's steamID64, must be 17 chars long.","pattern":"^[0-9]{17}$"},"player_name":{"type":"string"},"raw_message":{"type":"string","description":"The raw message before being converted with title and rank"},"full_message":{"type":"string"},"is_admin":{"type":"boolean"},"rank":{"type":"integer"},"title":{"type":"string"},"timestamp":{"type":"string","example":"2016-08-29T09:12:33.001Z"}}},"schemaFormat":"application/vnd.aai.asyncapi;version=2.3.0","x-parser-message-parsed":true}}}},"x-parser-spec-parsed":true,"x-parser-spec-stringified":true}