diff options
| -rw-r--r-- | 39.md | 4 | ||||
| -rw-r--r-- | 99.md | 8 |
2 files changed, 7 insertions, 5 deletions
| @@ -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"], |
| @@ -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 | ||