{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Payload of one level-up event.",
      "properties": {
        "cause": {
          "closed": false,
          "description": "Experience source to which the addon attributed the level-up.",
          "knownValues": [
            "explore",
            "kill",
            "other",
            "quest"
          ],
          "maxLength": 32,
          "type": "string"
        },
        "coordinate": {
          "description": "Map coordinate at which the level-up happened.",
          "ref": "online.witchzfy.worldofwarcraft.journeytracker.defs#coordinate",
          "type": "ref"
        },
        "deaths": {
          "description": "Deaths recorded by the addon for the character.",
          "minimum": 0,
          "type": "integer"
        },
        "explored": {
          "description": "Explored locations recorded by the addon.",
          "minimum": 0,
          "type": "integer"
        },
        "grouped": {
          "description": "Whether the character was in a group.",
          "type": "boolean"
        },
        "kills": {
          "description": "Kills recorded by the addon for the character.",
          "minimum": 0,
          "type": "integer"
        },
        "mapId": {
          "description": "Map ID recorded by the addon at the level-up.",
          "type": "integer"
        },
        "moneyCarried": {
          "description": "Copper carried by the character.",
          "minimum": 0,
          "type": "integer"
        },
        "playedSeconds": {
          "description": "Seconds played at the time of the level-up.",
          "minimum": 0,
          "type": "integer"
        },
        "quests": {
          "description": "Quests recorded by the addon as completed.",
          "minimum": 0,
          "type": "integer"
        },
        "subzone": {
          "description": "Subzone in which the level-up happened.",
          "maxLength": 128,
          "type": "string"
        },
        "xpTotal": {
          "description": "Total experience the character has earned.",
          "minimum": 0,
          "type": "integer"
        },
        "zone": {
          "description": "Zone in which the level-up happened.",
          "maxLength": 64,
          "type": "string"
        }
      },
      "required": [
        "cause"
      ],
      "type": "object"
    }
  },
  "description": "A character gained a level.",
  "id": "online.witchzfy.worldofwarcraft.journeytracker.log.ding",
  "lexicon": 1
}
