{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ccp-games/json-schema/ccp-games-characters-character-id-fleet-get-schema.json",
  "title": "CharactersCharacterIdFleetGet",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ccp-games-fleets-api-openapi.yml#/components/schemas/CharactersCharacterIdFleetGet",
  "properties": {
    "fleet_boss_id": {
      "description": "Character ID of the current fleet boss",
      "format": "int64",
      "type": "integer"
    },
    "fleet_id": {
      "description": "The character's current fleet ID",
      "format": "int64",
      "type": "integer"
    },
    "role": {
      "description": "Member’s role in fleet",
      "enum": [
        "fleet_commander",
        "squad_commander",
        "squad_member",
        "wing_commander"
      ],
      "type": "string"
    },
    "squad_id": {
      "description": "ID of the squad the member is in. If not applicable, will be set to -1",
      "format": "int64",
      "type": "integer"
    },
    "wing_id": {
      "description": "ID of the wing the member is in. If not applicable, will be set to -1",
      "format": "int64",
      "type": "integer"
    }
  },
  "required": [
    "fleet_id",
    "wing_id",
    "squad_id",
    "role",
    "fleet_boss_id"
  ],
  "type": "object"
}