A rhythm game net ranking service built on ATproto.
1{
2 "lexicon": 1,
3 "id": "dev.tsunagite.createSong",
4 "defs": {
5 "type": "procedure",
6 "description": "Create a record for a song in a game hosting leaderboards via Tsunagite. If the song already exists, update its data.",
7 "input": {
8 "encoding": "text/json",
9 "schema": {
10 "type": "object",
11 "properties": {
12 "id": {
13 "type": "string",
14 "description": "The ID of this song. Should only include [a-zA-Z0-9-].",
15 "format": "record-key"
16 },
17 "song": {
18 "type": "ref",
19 "ref": "dev.tsunagite.song"
20 }
21 },
22 "required": ["id", "song"]
23 }
24 },
25 "output": {
26 "encoding": "text/json",
27 "schema": {
28 "type": "object",
29 "properties": {
30 "uri": {
31 "tye": "string",
32 "description": "The URI pointing to the song's newly-created record.",
33 "format": "at-uri"
34 }
35 }
36 }
37 }
38 }
39}