Skip to content

World

tibiawikisql.models.world

Classes:

Name Description
World

Represents a Game World.

World pydantic-model

Bases: WikiEntry, RowModel

Represents a Game World.

Show JSON schema:
{
  "description": "Represents a Game World.",
  "properties": {
    "article_id": {
      "title": "Article Id",
      "type": "integer"
    },
    "title": {
      "title": "Title",
      "type": "string"
    },
    "timestamp": {
      "format": "date-time",
      "title": "Timestamp",
      "type": "string"
    },
    "name": {
      "title": "Name",
      "type": "string"
    },
    "pvp_type": {
      "title": "Pvp Type",
      "type": "string"
    },
    "location": {
      "title": "Location",
      "type": "string"
    },
    "is_preview": {
      "title": "Is Preview",
      "type": "boolean"
    },
    "is_experimental": {
      "title": "Is Experimental",
      "type": "boolean"
    },
    "online_since": {
      "format": "date",
      "title": "Online Since",
      "type": "string"
    },
    "offline_since": {
      "anyOf": [
        {
          "format": "date",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Offline Since"
    },
    "merged_into": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Merged Into"
    },
    "battleye": {
      "title": "Battleye",
      "type": "boolean"
    },
    "battleye_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Battleye Type"
    },
    "protected_since": {
      "anyOf": [
        {
          "format": "date",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Protected Since"
    },
    "world_board": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "World Board"
    },
    "trade_board": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Trade Board"
    }
  },
  "required": [
    "article_id",
    "title",
    "timestamp",
    "name",
    "pvp_type",
    "location",
    "is_preview",
    "is_experimental",
    "online_since",
    "offline_since",
    "merged_into",
    "battleye",
    "battleye_type",
    "protected_since",
    "world_board",
    "trade_board"
  ],
  "title": "World",
  "type": "object"
}

Fields:

name pydantic-field
name: str

The name of the world.

pvp_type pydantic-field
pvp_type: str

The world's PvP type.

location pydantic-field
location: str

The world's server's physical location.

is_preview pydantic-field
is_preview: bool

Whether the world is a preview world or not.

is_experimental pydantic-field
is_experimental: bool

Whether the world is a experimental world or not.

online_since pydantic-field
online_since: date

Date when the world became online for the first time.

offline_since pydantic-field
offline_since: date | None

Date when the world went offline.

merged_into pydantic-field
merged_into: str | None

The name of the world this world got merged into, if applicable.

battleye pydantic-field
battleye: bool

Whether the world is BattlEye protected or not.

battleye_type pydantic-field
battleye_type: str | None

The type of BattlEye protection the world has. Can be either green or yellow.

protected_since pydantic-field
protected_since: date | None

Date when the world started being protected by BattlEye.

world_board pydantic-field
world_board: int | None

The board ID for the world's board.

trade_board pydantic-field
trade_board: int | None

The board ID for the world's trade board.