dev.tsunagite.submitScore

tsunagite.dev

Schema Diff

+1 -0

From

CID
bafyreiftsqnxc2r...
Indexed At
2026-04-30 03:25 UTC
View this version

To

CID
bafyreiexye35syp...
Indexed At
2026-04-30 03:25 UTC
View this version

Compatibility Analysis

Backward Compatible

No changes detected.

1 1
{
2 2
  "id": "dev.tsunagite.submitScore",
3 3
  "defs": {
4 4
    "main": {
5 5
      "type": "procedure",
6 6
      "input": {
7 7
        "schema": {
8 8
          "ref": "dev.tsunagite.score",
9 9
          "type": "ref"
10 10
        },
11 11
        "encoding": "application/json"
12 12
      },
13 13
      "errors": [
14 14
        {
15 15
          "name": "gameNotFound",
16 16
          "description": "No game matching the given URI was found."
17 17
        },
18 18
        {
19 19
          "name": "songNotFound",
20 20
          "description": "No song matching the given URI was found."
21 21
        },
22 22
        {
23 23
          "name": "chartNotFound",
24 24
          "description": "No chart matching the given URI was found."
25 25
        },
26 26
        {
27 27
          "name": "scoreInvalid",
28 28
          "description": "The submitted score is missing components, or its components hold invalid data."
29 29
        },
30 30
        {
31 31
          "name": "scoreDuplicate",
32 32
          "description": "The submitted score has already been submitted before."
33 33
        }
34 34
      ],
35 35
      "output": {
36 36
        "type": "object",
37 +
        "encoding": "application/json",
37 38
        "required": [
38 39
          "uri"
39 40
        ],
40 41
        "properties": {
41 42
          "uri": {
42 43
            "type": "string",
43 44
            "description": "The URI of the newly-created score."
44 45
          },
45 46
          "position": {
46 47
            "type": "integer",
47 48
            "minimum": 1,
48 49
            "description": "The position in the default leaderboard sort order this score places."
49 50
          }
50 51
        }
51 52
      },
52 53
      "description": "Submit a score on a given chart."
53 54
    }
54 55
  },
55 56
  "$type": "com.atproto.lexicon.schema",
56 57
  "lexicon": 1,
57 58
  "description": "Definitions related to submitting scores to games hosting leaderboards via Tsunagite."
58 59
}

Compare Other Versions

Lexicon Garden

@