# au.com.artivus.wrathplus.milestone

> The record key is '<realm>:<guid>:<kind>:<value>' (quests add ':<unix time>', since daily quests repeat), so publishing the same moment twice overwrites one record.

- Kind: record
- Record key: any
- Authority: wrathplus.artivus.com.au
- Lexicon: 1
- Published by [skein.delve.town](https://lexicon.garden/identity/did:plc:k7ufgkl4hd3iycoptbj6qfb3), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:k7ufgkl4hd3iycoptbj6qfb3/au.com.artivus.wrathplus.milestone)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:k7ufgkl4hd3iycoptbj6qfb3/au.com.artivus.wrathplus.milestone/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:k7ufgkl4hd3iycoptbj6qfb3/au.com.artivus.wrathplus.milestone/analytics)

## Record (`au.com.artivus.wrathplus.milestone`)

Type: record · key any

### Properties

- `achievedAt` (string · datetime, required)
- `characterName` (string, required)
  - Constraints: maxLength: 64, maxGraphemes: 12
- `guid` (integer, required): The character's guid on that realm (see au.com.artivus.wrathplus.character).
  - Constraints: minimum: 1
- `kind` (string, required)
  - Constraints: maxLength: 32, knownValues: level | achievement | quest
- `level` (integer, required): The character's level at the time.
  - Constraints: minimum: 1, maximum: 255
- `realm` (string, required): The realm's host name.
  - Constraints: maxLength: 253
- `title` (string): The achievement's or quest's name, in the realm's language.
  - Constraints: maxLength: 1024, maxGraphemes: 256
- `value` (integer, required): The level reached, the Achievement.dbc id, or the quest id.
  - Constraints: minimum: 0

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The record key is '<realm>:<guid>:<kind>:<value>' (quests add ':<unix time>', since daily quests repeat), so publishing the same moment twice overwrites one record.",
      "key": "any",
      "record": {
        "properties": {
          "achievedAt": {
            "format": "datetime",
            "type": "string"
          },
          "characterName": {
            "maxGraphemes": 12,
            "maxLength": 64,
            "type": "string"
          },
          "guid": {
            "description": "The character's guid on that realm (see au.com.artivus.wrathplus.character).",
            "minimum": 1,
            "type": "integer"
          },
          "kind": {
            "knownValues": [
              "level",
              "achievement",
              "quest"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "level": {
            "description": "The character's level at the time.",
            "maximum": 255,
            "minimum": 1,
            "type": "integer"
          },
          "realm": {
            "description": "The realm's host name.",
            "maxLength": 253,
            "type": "string"
          },
          "title": {
            "description": "The achievement's or quest's name, in the realm's language.",
            "maxGraphemes": 256,
            "maxLength": 1024,
            "type": "string"
          },
          "value": {
            "description": "The level reached, the Achievement.dbc id, or the quest id.",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "realm",
          "guid",
          "characterName",
          "kind",
          "value",
          "level",
          "achievedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "A moment of progress for a WrathPlus character: a level reached, an achievement earned, a quest completed.",
  "id": "au.com.artivus.wrathplus.milestone",
  "lexicon": 1
}
```
