diff --git a/package-lock.json b/package-lock.json index 5dc4afb85..d8d00eb1a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16956,7 +16956,7 @@ }, "src/sdks/core": { "name": "@firebolt-js/sdk", - "version": "1.2.0-next.2", + "version": "1.2.0-next.3", "license": "Apache-2.0", "devDependencies": { "jest": "^28.1.0", @@ -16978,7 +16978,7 @@ }, "src/sdks/manage": { "name": "@firebolt-js/manage-sdk", - "version": "1.2.0-next.2", + "version": "1.2.0-next.3", "license": "Apache-2.0", "devDependencies": { "jest": "^28.1.0", diff --git a/src/schemas/intents.json b/src/schemas/intents.json index 649084ceb..8f5a86c38 100644 --- a/src/schemas/intents.json +++ b/src/schemas/intents.json @@ -243,9 +243,6 @@ { "$ref": "#/definitions/ButtonIntent" }, - { - "$ref": "#/definitions/ChannelIntent" - }, { "$ref": "#/definitions/FocusIntent" }, @@ -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",