Skip to content

Commit

Permalink
fix: Missing ChannelIntent
Browse files Browse the repository at this point in the history
  • Loading branch information
jlacivita committed Jun 6, 2024
1 parent 4147376 commit 782f359
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 28 additions & 3 deletions src/schemas/intents.json
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,6 @@
{
"$ref": "#/definitions/ButtonIntent"
},
{
"$ref": "#/definitions/ChannelIntent"
},
{
"$ref": "#/definitions/FocusIntent"
},
Expand Down Expand Up @@ -443,6 +440,34 @@
}
]
},
"ChannelIntent": {
"description": "A Firebolt compliant representation of a user intent to 'surf' to the next or previous channel.",
"title": "ChannelIntent",
"allOf": [
{
"$ref": "#/definitions/Intent"
},
{
"$ref": "#/definitions/IntentProperties"
},
{
"type": "object",
"required": [ "data" ],
"properties": {
"action": {
"const": "channel"
},
"data": {
"type": "string",
"enum": [
"next",
"previous"
]
}
}
}
]
},
"TuneIntent": {
"description": "A Firebolt compliant representation of a user intention to 'tune' to a traditional over-the-air broadcast, or an OTT Stream from an OTT or vMVPD App.",
"title": "TuneIntent",
Expand Down

0 comments on commit 782f359

Please sign in to comment.