From 8b18e7818e0c2fcbd8bc82e0660f8b6ba23af50d Mon Sep 17 00:00:00 2001 From: Mike Dilger Date: Sat, 14 Jan 2023 09:59:19 +1300 Subject: [PATCH] Several NIP examples (3, 11) weren't quoting the field keys (JSON keys must be quoted) --- 03.md | 6 +++--- 11.md | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/03.md b/03.md index 578c3515..3c5d764e 100644 --- a/03.md +++ b/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: + "ots": } ``` diff --git a/11.md b/11.md index 2b268239..8cdb85e4 100644 --- a/11.md +++ b/11.md @@ -12,13 +12,13 @@ When a relay receives an HTTP(s) request with an `Accept` header of `application ```json { - name: , - description: , - pubkey: , - contact: , - supported_nips: , - software: , - version: + "name": , + "description": , + "pubkey": , + "contact": , + "supported_nips": , + "software": , + "version": } ```