mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-09-01 05:50:47 -04:00
reformat a bunch of json things and small nitpicks.
This commit is contained in:
18
11.md
18
11.md
@@ -68,7 +68,6 @@ are rejected or fail immediately.
|
||||
|
||||
```json
|
||||
{
|
||||
...
|
||||
"limitation": {
|
||||
"max_message_length": 16384,
|
||||
"max_subscriptions": 20,
|
||||
@@ -82,7 +81,8 @@ are rejected or fail immediately.
|
||||
"payment_required": true,
|
||||
"created_at_lower_limit": 31536000,
|
||||
"created_at_upper_limit": 3
|
||||
}
|
||||
},
|
||||
...
|
||||
}
|
||||
```
|
||||
|
||||
@@ -181,8 +181,8 @@ flexibility is up to the client software.
|
||||
|
||||
```json
|
||||
{
|
||||
"relay_countries": [ "CA", "US" ],
|
||||
...
|
||||
"relay_countries": [ "CA", "US" ]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -203,10 +203,10 @@ To support this goal, relays MAY specify some of the following values.
|
||||
|
||||
```json
|
||||
{
|
||||
"language_tags": ["en", "en-419"],
|
||||
"tags": ["sfw-only", "bitcoin-only", "anime"],
|
||||
"posting_policy": "https://example.com/posting-policy.html",
|
||||
...
|
||||
"language_tags": [ "en", "en-419" ],
|
||||
"tags": [ "sfw-only", "bitcoin-only", "anime" ],
|
||||
"posting_policy": "https://example.com/posting-policy.html"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -239,13 +239,13 @@ Relays that require payments may want to expose their fee schedules.
|
||||
|
||||
```json
|
||||
{
|
||||
...
|
||||
"payments_url": "https://my-relay/payments",
|
||||
"fees": {
|
||||
"admission": [{ "amount": 1000000, "unit": "msats" }],
|
||||
"subscription": [{ "amount": 5000000, "unit": "msats", "period": 2592000 }],
|
||||
"publication": [{ "kinds": [4], "amount": 100, "unit": "msats" }],
|
||||
}
|
||||
},
|
||||
...
|
||||
}
|
||||
```
|
||||
|
||||
@@ -255,8 +255,8 @@ A URL pointing to an image to be used as an icon for the relay. Recommended to b
|
||||
|
||||
```json
|
||||
{
|
||||
...
|
||||
"icon": "https://nostr.build/i/53866b44135a27d624e99c6165cabd76ac8f72797209700acb189fce75021f47.jpg",
|
||||
...
|
||||
}
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user