more clarifications, and move event definitions to yaml
This commit is contained in:
parent
fbbf3b81c5
commit
2395dd87c0
7 changed files with 94 additions and 45 deletions
6
data/event-schemas/examples/m.secret.request.yaml
Normal file
6
data/event-schemas/examples/m.secret.request.yaml
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"name": "org.example.some.secret",
|
||||
"action": "request",
|
||||
"requesting_device_id": "ABCDEFG",
|
||||
"request_id": "randomly_generated_id_9573"
|
||||
}
|
4
data/event-schemas/examples/m.secret.send.yaml
Normal file
4
data/event-schemas/examples/m.secret.send.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"request_id": "randomly_generated_id_9573",
|
||||
"secret": "ThisIsASecretDon'tTellAnyone"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue