Skip to content

Commit

Permalink
fix: Added all new intents to top-level schema
Browse files Browse the repository at this point in the history
  • Loading branch information
jlacivita committed May 21, 2024
1 parent 11bfcbd commit f593631
Showing 1 changed file with 49 additions and 7 deletions.
56 changes: 49 additions & 7 deletions src/schemas/intents.json
Original file line number Diff line number Diff line change
Expand Up @@ -243,12 +243,36 @@
{
"$ref": "#/definitions/ButtonIntent"
},
{
"$ref": "#/definitions/ChannelIntent"
},
{
"$ref": "#/definitions/FocusIntent"
},
{
"$ref": "#/definitions/SelectIntent"
},
{
"$ref": "#/definitions/BackIntent"
},
{
"$ref": "#/definitions/ExitIntent"
},
{
"$ref": "#/definitions/ChannelIntent"
},
{
"$ref": "#/definitions/ScrollIntent"
},
{
"$ref": "#/definitions/PowerIntent"
},
{
"$ref": "#/definitions/VolumeIntent"
},
{
"$ref": "#/definitions/MuteIntent"
},
{
"$ref": "#/definitions/MicrophoneIntent"
},
Expand All @@ -257,15 +281,36 @@
},
{
"$ref": "#/definitions/TuneIntent"
},
{
"$ref": "#/definitions/VoiceGuidanceIntent"
},
{
"$ref": "#/definitions/HighContrastIntent"
},
{
"$ref": "#/definitions/ScreenMagnificationIntent"
}
]
},
"PlaybackControlIntent": {
"description": "A Firebolt compliant representation of a user intention to control some aspect of in-progress playback.",
"anyOf": [
{
"$ref": "#/definitions/PlayIntent"
},
{
"$ref": "#/definitions/PauseIntent"
},
{
"$ref": "#/definitions/ReplayIntent"
},
{
"$ref": "#/definitions/StopIntent"
},
{
"$ref": "#/definitions/PlaybackSpeedIntent"
},
{
"$ref": "#/definitions/SeekIntent"
},
Expand All @@ -282,7 +327,7 @@
"$ref": "#/definitions/ClosedCaptionsIntent"
},
{
"$ref": "#/definitions/AudioDescriptionIntent"
"$ref": "#/definitions/AudioDescriptionsIntent"
}
]
},
Expand Down Expand Up @@ -2047,10 +2092,7 @@
"interface": {
"type": "string",
"enum": [
"hdmi",
"rca",
"vga",
"etc..."
"hdmi"
]
},
"number": {
Expand Down Expand Up @@ -2672,9 +2714,9 @@
}
]
},
"AudioDescriptionIntent": {
"AudioDescriptionsIntent": {
"description": "A Firebolt compliant representation of a user intention to enable/disable audio descriptions.",
"title": "AudioDescriptionIntent",
"title": "AudioDescriptionsIntent",
"allOf": [
{
"$ref": "#/definitions/Intent"
Expand Down

0 comments on commit f593631

Please sign in to comment.