quick note about tags:

Tags is a list. But each tag is also a list.

In the list the represents a given tag it has a tag identifier as the first item. Like "p" (which means pubkey). After the identifier is arbitrary amounts of information as strings.

For example if you tag someone in your note. In the event data would be a tag that likes something like this:

["p", "06a533dahdahdahmoretext"]

Reply to this note

Please Login to reply.

Discussion

In NIP 01 there are three basic event kinds described:

0 (zero), 1, 2 which are the set_metadata, text_note, and recommend_server respectively.

Here is the link to it, if you want to read it for yourself:

https://github.com/nostr-protocol/nips/blob/master/01.md

Relays can send 3 types of messages which must be JSON arrays (JSON is a popular data format)

Examples from the doc:

```json

["EVENT", , ], // used to send events requested by clients.

["EOSE", ] // used to indicate the end of stored events and the beginning of events newly received in real-time.

["NOTICE", ]

```

This probably doesn't look great on mobile.

If you want a look at what JSON is you can look at this: https://www.json.org/json-en.html

This might be a more friendly intro to JSON: https://www.w3schools.com/js/js_json_intro.asp