mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-12-09 08:38:50 +00:00
reformat a bunch of json things and small nitpicks.
This commit is contained in:
17
75.md
17
75.md
@@ -1,6 +1,8 @@
|
||||
# NIP-75
|
||||
NIP-75
|
||||
======
|
||||
|
||||
## Zap Goals
|
||||
Zap Goals
|
||||
---------
|
||||
|
||||
`draft` `optional`
|
||||
|
||||
@@ -27,7 +29,7 @@ Example event:
|
||||
["amount", "210000"],
|
||||
],
|
||||
"content": "Nostrasia travel expenses",
|
||||
...other fields
|
||||
...
|
||||
```
|
||||
|
||||
The following tags are OPTIONAL.
|
||||
@@ -43,7 +45,8 @@ The following tags are OPTIONAL.
|
||||
["closed_at", "<unix timestamp in seconds>"],
|
||||
],
|
||||
"content": "Nostrasia travel expenses",
|
||||
...other fields
|
||||
...
|
||||
}
|
||||
```
|
||||
|
||||
The goal MAY include an `r` or `a` tag linking to a URL or parameterized replaceable event.
|
||||
@@ -54,12 +57,14 @@ Parameterized replaceable events can link to a goal by using a `goal` tag specif
|
||||
|
||||
```json
|
||||
{
|
||||
"kind": 3XXXX,
|
||||
...
|
||||
"kind": 3xxxx,
|
||||
"tags": [
|
||||
...
|
||||
["goal", "<event id>", "<Relay URL (optional)>"],
|
||||
],
|
||||
...other fields
|
||||
...
|
||||
}
|
||||
```
|
||||
|
||||
## Client behavior
|
||||
|
||||
Reference in New Issue
Block a user