EVE Online · Schema

get_wars_war_id_ok

200 ok object

AuthenticationAuthorizationGamingImagesMMOOAuth2RESTSSOStatic Data

Properties

Name Type Description
aggressor object The aggressor corporation or alliance that declared this war, only contains either corporation_id or alliance_id
allies array allied corporations or alliances, each object contains either corporation_id or alliance_id
declared string Time that the war was declared
defender object The defending corporation or alliance that declared this war, only contains either corporation_id or alliance_id
finished string Time the war ended and shooting was no longer allowed
id integer ID of the specified war
mutual boolean Was the war declared mutual by both parties
open_for_allies boolean Is the war currently open for allies or not
retracted string Time the war was retracted but both sides could still shoot each other
started string Time when the war started and both sides could shoot each other
View JSON Schema on GitHub

JSON Schema

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