Several NIP examples (3, 11) weren't quoting the field keys (JSON keys must be quoted)

This commit is contained in:
Mike Dilger 2023-01-14 09:59:19 +13:00 committed by fiatjaf
parent 1840c5cbdf
commit 8b18e7818e
2 changed files with 10 additions and 10 deletions

6
03.md
View File

@ -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
View File

@ -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>
}
```