diff options
| -rw-r--r-- | 34.md | 2 | ||||
| -rw-r--r-- | 39.md | 4 | ||||
| -rw-r--r-- | 46.md | 2 | ||||
| -rw-r--r-- | 96.md | 2 | ||||
| -rw-r--r-- | 99.md | 8 |
5 files changed, 10 insertions, 8 deletions
| @@ -53,7 +53,7 @@ The first patch revision in a patch revision SHOULD include a NIP-10 `e` `reply` | |||
| 53 | ["p", "<repository-owner>"], | 53 | ["p", "<repository-owner>"], |
| 54 | ["p", "<other-user>"], // optionally send the patch to another user to bring it to their attention | 54 | ["p", "<other-user>"], // optionally send the patch to another user to bring it to their attention |
| 55 | 55 | ||
| 56 | ["t", "root"], // ommited for additional patches in a series | 56 | ["t", "root"], // omitted for additional patches in a series |
| 57 | // for the first patch in a revision | 57 | // for the first patch in a revision |
| 58 | ["t", "root-revision"], | 58 | ["t", "root-revision"], |
| 59 | 59 | ||
| @@ -12,9 +12,11 @@ Nostr protocol users may have other online identities such as usernames, profile | |||
| 12 | 12 | ||
| 13 | ## `i` tag on a metadata event | 13 | ## `i` tag on a metadata event |
| 14 | 14 | ||
| 15 | A new optional `i` tag is introduced for `kind 0` metadata event contents in addition to name, about, picture fields as included in [NIP-01](https://github.com/nostr-protocol/nips/blob/master/01.md): | 15 | A new optional `i` tag is introduced for `kind 0` metadata event defined in [NIP-01](https://github.com/nostr-protocol/nips/blob/master/01.md): |
| 16 | ```json | 16 | ```json |
| 17 | { | 17 | { |
| 18 | "id": <id>, | ||
| 19 | "pubkey": <pubkey>, | ||
| 18 | "tags": [ | 20 | "tags": [ |
| 19 | ["i", "github:semisol", "9721ce4ee4fceb91c9711ca2a6c9a5ab"], | 21 | ["i", "github:semisol", "9721ce4ee4fceb91c9711ca2a6c9a5ab"], |
| 20 | ["i", "twitter:semisol_public", "1619358434134196225"], | 22 | ["i", "twitter:semisol_public", "1619358434134196225"], |
| @@ -28,7 +28,7 @@ The remote signer would provide a connection token in the form: | |||
| 28 | bunker://<remote-user-pubkey>?relay=<wss://relay-to-connect-on>&relay=<wss://another-relay-to-connect-on>&secret=<optional-secret-value> | 28 | bunker://<remote-user-pubkey>?relay=<wss://relay-to-connect-on>&relay=<wss://another-relay-to-connect-on>&secret=<optional-secret-value> |
| 29 | ``` | 29 | ``` |
| 30 | 30 | ||
| 31 | This token is pasted into the client by the user and the client then uses the details to connect to the remote signer via the specified relay(s). | 31 | This token is pasted into the client by the user and the client then uses the details to connect to the remote signer via the specified relay(s). Optional secret can be used for single successfully established connection only, remote signer SHOULD ignore new attempts to establish connection with old optional secret. |
| 32 | 32 | ||
| 33 | ### Direct connection initiated by the client | 33 | ### Direct connection initiated by the client |
| 34 | 34 | ||
| @@ -301,7 +301,7 @@ Example Response: | |||
| 301 | // ...other metadata | 301 | // ...other metadata |
| 302 | ] | 302 | ] |
| 303 | "content": "haha funny meme", // caption | 303 | "content": "haha funny meme", // caption |
| 304 | "created_at": 1715691130 // upload timestmap | 304 | "created_at": 1715691130 // upload timestamp |
| 305 | }, | 305 | }, |
| 306 | ... | 306 | ... |
| 307 | ] | 307 | ] |
| @@ -8,9 +8,9 @@ Classified Listings | |||
| 8 | 8 | ||
| 9 | This NIP defines `kind:30402`: a parameterized replaceable event to describe classified listings that list any arbitrary product, service, or other thing for sale or offer and includes enough structured metadata to make them useful. | 9 | This NIP defines `kind:30402`: a parameterized replaceable event to describe classified listings that list any arbitrary product, service, or other thing for sale or offer and includes enough structured metadata to make them useful. |
| 10 | 10 | ||
| 11 | The category of classifieds includes a very broad range of physical goods, services, work opportunities, rentals, free giveaways, personals, etc. and is distinct from the more strictly structured marketplaces defined in [NIP-15](https://github.com/nostr-protocol/nips/blob/master/15.md) that often sell many units of specific products through very specific channels. | 11 | The category of classifieds includes a very broad range of physical goods, services, work opportunities, rentals, free giveaways, personals, etc. and is distinct from the more strictly structured marketplaces defined in [NIP-15](15.md) that often sell many units of specific products through very specific channels. |
| 12 | 12 | ||
| 13 | The structure of these events is very similar to [NIP-23](https://github.com/nostr-protocol/nips/blob/master/23.md) long-form content events. | 13 | The structure of these events is very similar to [NIP-23](23.md) long-form content events. |
| 14 | 14 | ||
| 15 | ### Draft / Inactive Listings | 15 | ### Draft / Inactive Listings |
| 16 | 16 | ||
| @@ -26,8 +26,8 @@ The `.pubkey` field of these events are treated as the party creating the listin | |||
| 26 | 26 | ||
| 27 | ### Metadata | 27 | ### Metadata |
| 28 | 28 | ||
| 29 | - For "tags"/"hashtags" (i.e. categories or keywords of relevance for the listing) the `"t"` event tag should be used, as per [NIP-12](https://github.com/nostr-protocol/nips/blob/master/12.md). | 29 | - For "tags"/"hashtags" (i.e. categories or keywords of relevance for the listing) the `"t"` event tag should be used, as per [NIP-12](12.md). |
| 30 | - For images, whether included in the markdown content or not, clients SHOULD use `image` tags as described in [NIP-58](https://github.com/nostr-protocol/nips/blob/master/58.md). This allows clients to display images in carousel format more easily. | 30 | - For images, whether included in the markdown content or not, clients SHOULD use `image` tags as described in [NIP-58](58.md). This allows clients to display images in carousel format more easily. |
| 31 | 31 | ||
| 32 | The following tags, used for structured metadata, are standardized and SHOULD be included. Other tags may be added as necessary. | 32 | The following tags, used for structured metadata, are standardized and SHOULD be included. Other tags may be added as necessary. |
| 33 | 33 | ||