reformat a bunch of json things and small nitpicks.

This commit is contained in:
fiatjaf
2023-11-18 09:13:12 -03:00
parent b0df71824f
commit 5dcfe85306
21 changed files with 385 additions and 365 deletions

17
75.md
View File

@@ -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