{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Identity of one tracked character, keyed by its addon character ID.",
      "key": "any",
      "record": {
        "properties": {
          "class": {
            "description": "Class token of the character.",
            "ref": "online.witchzfy.worldofwarcraft.journeytracker.defs#classToken",
            "type": "ref"
          },
          "createdAt": {
            "description": "Timestamp at which this identity record was last published.",
            "format": "datetime",
            "type": "string"
          },
          "guid": {
            "description": "Realm-scoped player GUID.",
            "maxLength": 64,
            "type": "string"
          },
          "name": {
            "description": "Name of the character.",
            "maxLength": 64,
            "type": "string"
          },
          "race": {
            "description": "Race token of the character.",
            "ref": "online.witchzfy.worldofwarcraft.journeytracker.defs#raceToken",
            "type": "ref"
          },
          "realm": {
            "description": "Realm the character plays on.",
            "maxLength": 128,
            "type": "string"
          },
          "ruleset": {
            "description": "Ruleset the character plays under.",
            "ref": "online.witchzfy.worldofwarcraft.journeytracker.defs#ruleset",
            "type": "ref"
          }
        },
        "required": [
          "createdAt",
          "name",
          "realm"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "Immutable identity of one tracked character.",
  "id": "online.witchzfy.worldofwarcraft.journeytracker.character",
  "lexicon": 1
}
