Skip to content

Commit

Permalink
added example message
Browse files Browse the repository at this point in the history
  • Loading branch information
jlacivita committed Dec 4, 2023
1 parent 22b9fce commit 37c3b49
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions requirements/specifications/intents/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,24 @@ When an intent is sent to a Firebolt device from some other system, e.g. a cloud

An intent message **MUST** have an `intent` object property that is the intent being passed.

An example intent message:

```json
{
"type": "xrn:firebolt:intent:app:launch",
"appId": "Netflix",
"intent": {
"action": "launch",
"context": {
"source": "voice"
}
},
"metadata": {
"foo": "bar"
}
}
```

### 6.1. App Intent Message
If an intent is targeting a specific app, then the intent message **MUST** have an `appId` string property with the appId of the targeted app.

Expand Down

0 comments on commit 37c3b49

Please sign in to comment.