diff --git a/59.md b/59.md index b282eb5e..d5d58a0f 100644 --- a/59.md +++ b/59.md @@ -17,7 +17,7 @@ To store relay meta-data and the result of subjective checks as queryable [NIP-1 `created_at` **should** be interpreted by consumers as `updated_at` ### `event.tags` -Relay status events have **two** (1) required tags and **eight** (8) optional tags. +Relay status events have **one** (1) required tags and **nine** (9) optional tags. The tags should be used to represent the Relay's abilities and meta at a point in time. Below the `tags schema` is expressed using pseudo-types for reasons of communication and brevity, for example `tagDescriptor[]`. @@ -49,12 +49,22 @@ The tags should be used to represent the Relay's abilities and meta at a point i ```json ["ssl", "true"] //tagSsl[] ``` -8. `"ip" == tagIp[0]` Relay IP. `ip[]` **may** be included in the `event.tags[]` array. `tagIp[1]` **must** be string. There **may** be more than one (1) `tagIp[]` +8. `"ip" == tagIp[0]` Relay IP. `tagIp[]` **may** be included in the `event.tags[]` array. `tagIp[1]` **must** be string. There **may** be more than one (1) `tagIp[]` ```json ["ip", "1.1.1.1"], //tagIp[] ["ip", "2001:db8:3333:4444:5555:6666:7777:8888"] //tagIp[] ``` +9. `"events" == tagEvents[0]` Number of events on relay. `tagEvents[]` **may** be included in the `event.tags[]` array. `tagEvents[1]` **must** be string. There **should** only be **one (1)** `tagEvents[]` +```json +["events", "502341"], //tagIp[] +``` + +10. `"users" == tagUsers[0]` Relay IP. `tagUsers[]` **may** be included in the `event.tags[]` array. `tagUsers[1]` **must** be string. There **should** be no more than **one (1)** `tagUsers[]` +```json +["users","37482"] +``` + Example with Minimum Requirements: ```json {