mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-09 22:09:06 -05: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: ...,
|
"id": ...,
|
||||||
kind: ...,
|
"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
|
```json
|
||||||
{
|
{
|
||||||
name: <string identifying relay>,
|
"name": <string identifying relay>,
|
||||||
description: <string with detailed information>,
|
"description": <string with detailed information>,
|
||||||
pubkey: <administrative contact pubkey>,
|
"pubkey": <administrative contact pubkey>,
|
||||||
contact: <administrative alternate contact>,
|
"contact": <administrative alternate contact>,
|
||||||
supported_nips: <a list of NIP numbers supported by the relay>,
|
"supported_nips": <a list of NIP numbers supported by the relay>,
|
||||||
software: <string identifying relay software URL>,
|
"software": <string identifying relay software URL>,
|
||||||
version: <string version identifier>
|
"version": <string version identifier>
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user