Changed tags, fixed syntax mistake and removed items.

This commit is contained in:
BlueZTV 2024-05-20 20:49:56 +08:00 committed by GitHub
parent 81ed1f0bc3
commit 03852ba0cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

15
76.md
View File

@ -6,14 +6,14 @@ Speedrunning Leaderboard Entry
`draft` `optional` `draft` `optional`
This NIP defines event kind `7602` as a submission to a game's speedrunning leaderboard, specified via a unique `d` tag, e.g. a game's Steam App ID. This NIP defines event kind `7602` as a submission to a game's speedrunning leaderboard, specified via a unique `g` tag.
Each game's leaderboard has optional Categories, Variations, Platform, Level, Region and Version tags to allow for the creation of alternate sub-leaderboards under one game. Each game's leaderboard has optional Categories, Variations, Platform, Level, Region and Version tags to allow for the creation of alternate sub-leaderboards under one game.
```jsonc ```jsonc
{ {
"kind": 7602, "kind": 7602,
"tags": [ "tags": [
["d", "<Unique Identifier for the game>"], //E.g. Among Us' Steam App ID is 945360 ["g", "<Unique Identifier for the game>"],
["c", "<Category Identifier the submission is for>", <Long Name>], //E.g. A%G (Any% Glitchless), AlAc (All Achievements) ["c", "<Category Identifier the submission is for>", <Long Name>], //E.g. A%G (Any% Glitchless), AlAc (All Achievements)
["v", "<Variation of the category the submission is for>", <Long Name>], //E.g. for Celeste AnyP (Any%), ARB (All Red berries), TE (True Ending) etc. ["v", "<Variation of the category the submission is for>", <Long Name>], //E.g. for Celeste AnyP (Any%), ARB (All Red berries), TE (True Ending) etc.
["plt", "<Platform Identifier>"], //E.g. N64, EMU ["plt", "<Platform Identifier>"], //E.g. N64, EMU
@ -22,12 +22,9 @@ Each game's leaderboard has optional Categories, Variations, Platform, Level, Re
["ver", "<Version>"], //Version the submission is ran on e.g. 1.4.0.0 ["ver", "<Version>"], //Version the submission is ran on e.g. 1.4.0.0
["rlt", "<Start Unix Time>", "<Stop Unix Time>"], //Real Life Time, subtract Start from Stop to get actual time ["rlt", "<Start Unix Time>", "<Stop Unix Time>"], //Real Life Time, subtract Start from Stop to get actual time
["igt", "<Start Unix Time>", "<Stop Unix Time>"], //In-Game Time ["igt", "<Start Unix Time>", "<Stop Unix Time>"], //In-Game Time
["proof": "<Link to proof>"] //e.g. Twitch Vod, replay file ["proof", "<Link to proof>"] //e.g. Twitch Vod, replay file
], ],
"content": "<Description for run>", //User written comment about run if desired "content": "<Description for run>" //User written comment about run if desired
"created_at": "<Unix Time>",
"pubkey": "<Public Key>",
"sig": "<signature>"
} }
``` ```
Tags can be entered multiple times if required, such as a game having multiple varieties under one category. E.g. Pizza Tower Full Game Any% has Playable Character and Glitches? varieties. Tags can be entered multiple times if required, such as a game having multiple varieties under one category. E.g. Pizza Tower Full Game Any% has Playable Character and Glitches? varieties.
@ -37,12 +34,12 @@ An example of a potential Super Mario 64 120 Star N64 run submission.
{ {
"kind": 7602, "kind": 7602,
"tags": [ "tags": [
["d", "SM64"], ["g", "SM64"],
["c", "120S", "120 Star"], ["c", "120S", "120 Star"],
["plt", "N64"], ["plt", "N64"],
["reg", "JPN"], ["reg", "JPN"],
["rlt", "1587370820", "1587376601"], ["rlt", "1587370820", "1587376601"],
["proof": "https://www.twitch.tv/videos/2034126985"] ["proof", "https://www.twitch.tv/videos/2034126985"]
], ],
"content": "WR run", "content": "WR run",
"created_at": "1714228879", "created_at": "1714228879",