upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortheborakompanioni <theborakompanioni+github@gmail.com>2024-02-28 16:41:40 +0100
committertheborakompanioni <theborakompanioni+github@gmail.com>2024-08-12 13:26:23 +0200
commite735ef9aeff1e5d18d0dfa7a163b1bdc63ee742e (patch)
tree2f9e50c96441ef236186c370ce59e88abce864bb
parent653642205e3e807c65b2e9b64f5325c7179c447c (diff)
docs(NIP-64): change kind from 30 to 64
-rw-r--r--64.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/64.md b/64.md
index bef6326..dd6ee84 100644
--- a/64.md
+++ b/64.md
@@ -6,7 +6,7 @@ Portable Game Notation
6 6
7`draft` `optional` 7`draft` `optional`
8 8
9This NIP defines `kind:30` notes representing Chess games in [PGN][pgn_specification] format, which can be read by humans and is also supported by most chess software. 9This NIP defines `kind:64` notes representing games in [PGN][pgn_specification] format, which can be read by humans and is also supported by most chess software.
10 10
11## Note 11## Note
12 12
@@ -18,7 +18,7 @@ The `.content` of these notes is a string representing a [PGN-database][pgn_form
18 18
19```json 19```json
20{ 20{
21 "kind": 30, 21 "kind": 64,
22 "content": "1. e4 *", 22 "content": "1. e4 *",
23 ... 23 ...
24} 24}
@@ -26,7 +26,7 @@ The `.content` of these notes is a string representing a [PGN-database][pgn_form
26 26
27```json 27```json
28{ 28{
29 "kind": 30, 29 "kind": 64,
30 "tags": [ 30 "tags": [
31 ["alt", "Fischer vs. Spassky in Belgrade on 1992-11-04 (F/S Return Match, Round 29)"], 31 ["alt", "Fischer vs. Spassky in Belgrade on 1992-11-04 (F/S Return Match, Round 29)"],
32 ... 32 ...
@@ -38,12 +38,12 @@ The `.content` of these notes is a string representing a [PGN-database][pgn_form
38 38
39## Client Behavior 39## Client Behavior
40 40
41Clients SHOULD check whether the formatting is valid and all moves comply with chess rules.
42
43Clients SHOULD display the content represented as chessboard. 41Clients SHOULD display the content represented as chessboard.
44 42
45Clients SHOULD publish PGN notes in ["export format"][pgn_export_format] ("strict mode", i.e. created by machines) but expect incoming notes to be in ["import format"][pgn_import_format] ("lax mode", i.e. created by humans). 43Clients SHOULD publish PGN notes in ["export format"][pgn_export_format] ("strict mode", i.e. created by machines) but expect incoming notes to be in ["import format"][pgn_import_format] ("lax mode", i.e. created by humans).
46 44
45Clients SHOULD check whether the formatting is valid and all moves comply with chess rules.
46
47Clients MAY include additional tags (e.g. like [`"alt"`](https://github.com/nostr-protocol/nips/blob/master/31.md)) in order to represent the note to users of non-supporting clients. 47Clients MAY include additional tags (e.g. like [`"alt"`](https://github.com/nostr-protocol/nips/blob/master/31.md)) in order to represent the note to users of non-supporting clients.
48 48
49## Relay Behavior 49## Relay Behavior