From 570387ea2a59aff2a3dc75dbca5091aff8dea26a Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Wed, 25 Oct 2023 12:29:17 +0300 Subject: [PATCH] Update 107.md --- 107.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/107.md b/107.md index f6221dc..996dcc7 100644 --- a/107.md +++ b/107.md @@ -48,7 +48,6 @@ This message is sent by an admin `user` to a `device`. The `device` saves the co **Event Content**: ```json { - "type": 0, "name": , "description": , "categories":[ ], @@ -63,7 +62,7 @@ This message is sent by an admin `user` to a `device`. The `device` saves the co | Field | Description | |---|---| -| `admin_pubkeys` | List of public keys that are allowed to configure this device.
A fresh/blank device will not have this value, so the first received `"type: 0"` should set it.
The `admin_pubkeys` implicitly have the `actions_from_pubkeys` permissions. | +| `admin_pubkeys` | List of public keys that are allowed to configure this device.
A fresh/blank device will not have this value.
The `admin_pubkeys` implicitly have the `actions_from_pubkeys` permissions. | | `publish_to_pubkeys` | List of public keys to which events are published. | | `actions_from_pubkeys` | List of public keys that are allowed to trigger an action on this device.
The `admin_pubkeys` implicitly have the `actions_from_pubkeys` permissions. | @@ -107,4 +106,7 @@ Data Events represent data publised by `device`(s). The `kind` of the event and ```json "tags": [["p", [!IMPORTANT] +> If the transmission mode is encrypted ([NIP-59 Gift Wrap](https://github.com/staab/nips/blob/NIP-59/59.md)) then an individual message must be published for each public key in `publish_to_pubkeys`.