From cb51c01fe9f6d933655bd91a3b187243bc6f2e8a Mon Sep 17 00:00:00 2001 From: Jeremy LaCivita Date: Tue, 28 May 2024 16:38:06 -0400 Subject: [PATCH] fix: Typos --- .../specifications/discovery/user-interest.md | 2 +- src/openrpc/discovery.json | 126 +++++++++--------- 2 files changed, 63 insertions(+), 65 deletions(-) diff --git a/requirements/specifications/discovery/user-interest.md b/requirements/specifications/discovery/user-interest.md index 1e17e7553..f53e239ba 100644 --- a/requirements/specifications/discovery/user-interest.md +++ b/requirements/specifications/discovery/user-interest.md @@ -132,7 +132,7 @@ An app **MUST** have permissions to `use` the listen to the `Content.onUserInterest` notification. If the result is not a valid entity, i.e. does not match -the [EntityDetails](../entities/) schema, then no `Content.onUserInterestedIn` +the [EntityDetails](../entities/) schema, then no `Content.onUserInterest` notification will be dispatched. The `Discovery.userInterest` method **SHOULD NOT** be used in place of more diff --git a/src/openrpc/discovery.json b/src/openrpc/discovery.json index 6e4a30ddb..49b7e20aa 100644 --- a/src/openrpc/discovery.json +++ b/src/openrpc/discovery.json @@ -432,7 +432,7 @@ { "name": "deprecated", "x-alternative": "Discovery.purchases" - } + } ], "summary": "Provide a list of purchased content for the authenticated account, such as rentals and electronic sell through purchases.", "params": [ @@ -1534,9 +1534,7 @@ "entityType": "program", "programType": "movie" }, - "info": { - - } + "info": {} } } ], @@ -1547,19 +1545,19 @@ } ] }, - { - "name": "Discovery.onRequestUserInterest", - "tags": [ - { - "name": "rpc-only" - }, - { - "name": "event", + { + "name": "Discovery.onRequestUserInterest", + "tags": [ + { + "name": "rpc-only" + }, + { + "name": "event", "x-response-name": "entity", - "x-response": { - "$ref": "https://meta.comcast.com/firebolt/entity#/definitions/EntityDetails", - "examples": [ - { + "x-response": { + "$ref": "https://meta.comcast.com/firebolt/entity#/definitions/EntityDetails", + "examples": [ + { "identifiers": { "entityId": "345", "entityType": "program", @@ -1580,54 +1578,54 @@ } ] } - } - ] - } - }, - { - "name": "capabilities", - "x-provides": "xrn:firebolt:capability:discovery:interest" - } - ], - "summary": "Provide information about the entity currently displayed or selected on the screen.", - "description": "Provide information about the entity currently displayed or selected on the screen.", - "params": [], - "result": { - "name": "request", - "schema": { - "type": "object", - "required": [ - "correlationId", - "parameters" - ], - "properties": { - "correlationId": { - "type": "string" - }, - "parameters": { - "$ref": "#/components/schemas/UserInterestProviderParameters" - } - }, - "additionalProperties": false - } - }, - "examples": [ - { - "name": "Default Example", - "params": [], - "result": { - "name": "request", - "value": { - "correlationId": "xyz", - "parameters": { - "type": "interest", - "reason": "playlist" - } - } - } - } - ] - } + } + ] + } + }, + { + "name": "capabilities", + "x-provides": "xrn:firebolt:capability:discovery:interest" + } + ], + "summary": "Provide information about the entity currently displayed or selected on the screen.", + "description": "Provide information about the entity currently displayed or selected on the screen.", + "params": [], + "result": { + "name": "request", + "schema": { + "type": "object", + "required": [ + "correlationId", + "parameters" + ], + "properties": { + "correlationId": { + "type": "string" + }, + "parameters": { + "$ref": "#/components/schemas/UserInterestProviderParameters" + } + }, + "additionalProperties": false + } + }, + "examples": [ + { + "name": "Default Example", + "params": [], + "result": { + "name": "request", + "value": { + "correlationId": "xyz", + "parameters": { + "type": "interest", + "reason": "playlist" + } + } + } + } + ] + } ], "components": { "schemas": {