{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://api-evangelist.com/json-structure/eve-online-war-structure.json", "name": "get_wars_war_id_ok", "description": "200 ok object", "type": "object", "required": [ "id", "declared", "mutual", "open_for_allies", "aggressor", "defender" ], "properties": { "aggressor": { "type": "object", "description": "The aggressor corporation or alliance that declared this war, only contains either corporation_id or alliance_id", "name": "get_wars_war_id_aggressor", "required": [ "ships_killed", "isk_destroyed" ], "properties": { "alliance_id": { "type": "int32", "description": "Alliance ID if and only if the aggressor is an alliance", "name": "get_wars_war_id_alliance_id" }, "corporation_id": { "type": "int32", "description": "Corporation ID if and only if the aggressor is a corporation", "name": "get_wars_war_id_corporation_id" }, "isk_destroyed": { "type": "float", "description": "ISK value of ships the aggressor has destroyed", "name": "get_wars_war_id_isk_destroyed" }, "ships_killed": { "type": "int32", "description": "The number of ships the aggressor has killed", "name": "get_wars_war_id_ships_killed" } } }, "allies": { "type": "array", "description": "allied corporations or alliances, each object contains either corporation_id or alliance_id", "name": "get_wars_war_id_allies", "items": { "type": "object", "description": "ally object", "name": "get_wars_war_id_ally", "properties": { "alliance_id": { "type": "int32", "description": "Alliance ID if and only if this ally is an alliance", "name": "get_wars_war_id_ally_alliance_id" }, "corporation_id": { "type": "int32", "description": "Corporation ID if and only if this ally is a corporation", "name": "get_wars_war_id_ally_corporation_id" } } } }, "declared": { "type": "datetime", "description": "Time that the war was declared", "name": "get_wars_war_id_declared" }, "defender": { "type": "object", "description": "The defending corporation or alliance that declared this war, only contains either corporation_id or alliance_id", "name": "get_wars_war_id_defender", "required": [ "ships_killed", "isk_destroyed" ], "properties": { "alliance_id": { "type": "int32", "description": "Alliance ID if and only if the defender is an alliance", "name": "get_wars_war_id_defender_alliance_id" }, "corporation_id": { "type": "int32", "description": "Corporation ID if and only if the defender is a corporation", "name": "get_wars_war_id_defender_corporation_id" }, "isk_destroyed": { "type": "float", "description": "ISK value of ships the defender has killed", "name": "get_wars_war_id_defender_isk_destroyed" }, "ships_killed": { "type": "int32", "description": "The number of ships the defender has killed", "name": "get_wars_war_id_defender_ships_killed" } } }, "finished": { "type": "datetime", "description": "Time the war ended and shooting was no longer allowed", "name": "get_wars_war_id_finished" }, "id": { "type": "int32", "description": "ID of the specified war", "name": "get_wars_war_id_id" }, "mutual": { "type": "boolean", "description": "Was the war declared mutual by both parties", "name": "get_wars_war_id_mutual" }, "open_for_allies": { "type": "boolean", "description": "Is the war currently open for allies or not", "name": "get_wars_war_id_open_for_allies" }, "retracted": { "type": "datetime", "description": "Time the war was retracted but both sides could still shoot each other", "name": "get_wars_war_id_retracted" }, "started": { "type": "datetime", "description": "Time when the war started and both sides could shoot each other", "name": "get_wars_war_id_started" } } }