mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-13 02:46:24 +00:00
Several NIP examples (3, 11) weren't quoting the field keys (JSON keys must be quoted)
This commit is contained in:
parent
1840c5cbdf
commit
8b18e7818e
6
03.md
6
03.md
@ -10,11 +10,11 @@ When there is an OTS available it MAY be included in the existing event body und
|
||||
|
||||
```
|
||||
{
|
||||
id: ...,
|
||||
kind: ...,
|
||||
"id": ...,
|
||||
"kind": ...,
|
||||
...,
|
||||
...,
|
||||
ots: <base64-encoded OTS file data>
|
||||
"ots": <base64-encoded OTS file data>
|
||||
}
|
||||
```
|
||||
|
||||
|
14
11.md
14
11.md
@ -12,13 +12,13 @@ When a relay receives an HTTP(s) request with an `Accept` header of `application
|
||||
|
||||
```json
|
||||
{
|
||||
name: <string identifying relay>,
|
||||
description: <string with detailed information>,
|
||||
pubkey: <administrative contact pubkey>,
|
||||
contact: <administrative alternate contact>,
|
||||
supported_nips: <a list of NIP numbers supported by the relay>,
|
||||
software: <string identifying relay software URL>,
|
||||
version: <string version identifier>
|
||||
"name": <string identifying relay>,
|
||||
"description": <string with detailed information>,
|
||||
"pubkey": <administrative contact pubkey>,
|
||||
"contact": <administrative alternate contact>,
|
||||
"supported_nips": <a list of NIP numbers supported by the relay>,
|
||||
"software": <string identifying relay software URL>,
|
||||
"version": <string version identifier>
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user