diff --git a/01.md b/01.md index f7f592c..a3d23f8 100644 --- a/01.md +++ b/01.md @@ -14,7 +14,7 @@ Each user has a keypair. Signatures, public key, and encodings are done accordin The only object type that exists is the `event`, which has the following format on the wire: -```jsonc +```yaml { "id": <32-bytes lowercase hex-encoded sha256 of the serialized event data>, "pubkey": <32-bytes lowercase hex-encoded public key of the event creator>, @@ -120,7 +120,7 @@ Clients can send 3 types of messages, which must be JSON arrays, according to th `` is a JSON object that determines what events will be sent in that subscription, it can have the following attributes: -```json +```yaml { "ids": , "authors": ,