Skip to content

Commit

Permalink
fix: Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
jlacivita committed May 28, 2024
1 parent 788743b commit cb51c01
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 65 deletions.
2 changes: 1 addition & 1 deletion requirements/specifications/discovery/user-interest.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
126 changes: 62 additions & 64 deletions src/openrpc/discovery.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down Expand Up @@ -1534,9 +1534,7 @@
"entityType": "program",
"programType": "movie"
},
"info": {

}
"info": {}
}
}
],
Expand All @@ -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",
Expand All @@ -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": {
Expand Down

0 comments on commit cb51c01

Please sign in to comment.