upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/11.md
diff options
context:
space:
mode:
authorfiatjaf <fiatjaf@gmail.com>2023-11-18 09:13:12 -0300
committerfiatjaf <fiatjaf@gmail.com>2023-11-18 09:13:12 -0300
commit5dcfe85306434f21ecb1e7a47edd92b2e3e64f9a (patch)
tree4fff8694238b3ae5e692a8480869ad1266b95be4 /11.md
parentb0df71824f9967130b54150b64cc70fa94bffec2 (diff)
reformat a bunch of json things and small nitpicks.
Diffstat (limited to '11.md')
-rw-r--r--11.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/11.md b/11.md
index e05cb1f..ab05f31 100644
--- a/11.md
+++ b/11.md
@@ -68,7 +68,6 @@ are rejected or fail immediately.
68 68
69```json 69```json
70{ 70{
71 ...
72 "limitation": { 71 "limitation": {
73 "max_message_length": 16384, 72 "max_message_length": 16384,
74 "max_subscriptions": 20, 73 "max_subscriptions": 20,
@@ -82,7 +81,8 @@ are rejected or fail immediately.
82 "payment_required": true, 81 "payment_required": true,
83 "created_at_lower_limit": 31536000, 82 "created_at_lower_limit": 31536000,
84 "created_at_upper_limit": 3 83 "created_at_upper_limit": 3
85 } 84 },
85 ...
86} 86}
87``` 87```
88 88
@@ -181,8 +181,8 @@ flexibility is up to the client software.
181 181
182```json 182```json
183{ 183{
184 "relay_countries": [ "CA", "US" ],
184 ... 185 ...
185 "relay_countries": [ "CA", "US" ]
186} 186}
187``` 187```
188 188
@@ -203,10 +203,10 @@ To support this goal, relays MAY specify some of the following values.
203 203
204```json 204```json
205{ 205{
206 "language_tags": ["en", "en-419"],
207 "tags": ["sfw-only", "bitcoin-only", "anime"],
208 "posting_policy": "https://example.com/posting-policy.html",
206 ... 209 ...
207 "language_tags": [ "en", "en-419" ],
208 "tags": [ "sfw-only", "bitcoin-only", "anime" ],
209 "posting_policy": "https://example.com/posting-policy.html"
210} 210}
211``` 211```
212 212
@@ -239,13 +239,13 @@ Relays that require payments may want to expose their fee schedules.
239 239
240```json 240```json
241{ 241{
242 ...
243 "payments_url": "https://my-relay/payments", 242 "payments_url": "https://my-relay/payments",
244 "fees": { 243 "fees": {
245 "admission": [{ "amount": 1000000, "unit": "msats" }], 244 "admission": [{ "amount": 1000000, "unit": "msats" }],
246 "subscription": [{ "amount": 5000000, "unit": "msats", "period": 2592000 }], 245 "subscription": [{ "amount": 5000000, "unit": "msats", "period": 2592000 }],
247 "publication": [{ "kinds": [4], "amount": 100, "unit": "msats" }], 246 "publication": [{ "kinds": [4], "amount": 100, "unit": "msats" }],
248 } 247 },
248 ...
249} 249}
250``` 250```
251 251
@@ -255,8 +255,8 @@ A URL pointing to an image to be used as an icon for the relay. Recommended to b
255 255
256```json 256```json
257{ 257{
258 ...
259 "icon": "https://nostr.build/i/53866b44135a27d624e99c6165cabd76ac8f72797209700acb189fce75021f47.jpg", 258 "icon": "https://nostr.build/i/53866b44135a27d624e99c6165cabd76ac8f72797209700acb189fce75021f47.jpg",
259 ...
260} 260}
261``` 261```
262 262