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`.