mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-23 08:55:52 -05:00
Fixed markdown
Fixed markdown
This commit is contained in:
parent
393fed8684
commit
d65c2e2ac3
19
22.md
19
22.md
|
@ -16,17 +16,12 @@ The content of these events `MUST` be of a specified **MIME type** in a correspo
|
||||||
|
|
||||||
The list of tags are as follows:
|
The list of tags are as follows:
|
||||||
|
|
||||||
`d` (required) universally unique identifier (UUID). Generated by the client creating the smart widget event.
|
- `d` (required) universally unique identifier (UUID). Generated by the client creating the smart widget event.
|
||||||
|
- `m` (required) allows clients to easily know **MIME type** before proceeding it.
|
||||||
`m` (required) allows clients to easily know **MIME type** before proceeding it.
|
- `title` (optional) title of the smart widget.
|
||||||
|
- `summary` (optional) description of the smart widget and its usage.
|
||||||
`title` (optional) title of the smart widget.
|
- `client` (optional) reference for the used client for creating the smart widget according to [NIP-89](../master/89.md).
|
||||||
|
- `published_at` (optional) Publishing time of the smart widget differs from the created_at for edited smart widgets.
|
||||||
`summary` (optional) description of the smart widget and its usage.
|
|
||||||
|
|
||||||
`client` (optional) reference for the used client for creating the smart widget according to [NIP-89](../master/89.md).
|
|
||||||
|
|
||||||
`published_at` (optional) Publishing time of the smart widget differs from the created_at for edited smart widgets.
|
|
||||||
|
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
|
@ -36,7 +31,7 @@ The list of tags are as follows:
|
||||||
"kind": 30031,
|
"kind": 30031,
|
||||||
"content": <JSON-stringified-data>,
|
"content": <JSON-stringified-data>,
|
||||||
"tags": [
|
"tags": [
|
||||||
["d", "UUID"],
|
["d", "<UUID>"],
|
||||||
["m", <MIME-type>],
|
["m", <MIME-type>],
|
||||||
["title", "<title of smart widget event>"],
|
["title", "<title of smart widget event>"],
|
||||||
["summary", "<description of smart widget event>"],
|
["summary", "<description of smart widget event>"],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user