Skip to content

Commit

Permalink
jsonrpc: remove trailing spaces from JSON schema definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Montellese committed Aug 6, 2012
1 parent f59ebc3 commit ea2ec8c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions xbmc/interfaces/json-rpc/ServiceDescription.h
Expand Up @@ -32,15 +32,15 @@ namespace JSONRPC
"\"default\": null"
"}",
"\"Optional.String\": {"
"\"type\": [ \"null\", \"string\" ], "
"\"type\": [ \"null\", \"string\" ],"
"\"default\": null"
"}",
"\"Optional.Integer\": {"
"\"type\": [ \"null\", \"integer\" ], "
"\"type\": [ \"null\", \"integer\" ],"
"\"default\": null"
"}",
"\"Optional.Number\": {"
"\"type\": [ \"null\", \"number\" ], "
"\"type\": [ \"null\", \"number\" ],"
"\"default\": null"
"}",
"\"Array.String\": {"
Expand Down Expand Up @@ -2535,7 +2535,7 @@ namespace JSONRPC
"\"description\": \"Playback of a media item has been stopped. If there is no ID available extra information will be provided.\","
"\"params\": ["
"{ \"name\": \"sender\", \"type\": \"string\", \"required\": true },"
"{ \"name\": \"data\", \"type\": \"object\", \"required\": true, "
"{ \"name\": \"data\", \"type\": \"object\", \"required\": true,"
"\"properties\": {"
"\"item\": { \"$ref\": \"Player.Notifications.Item\" },"
"\"end\": { \"type\": \"boolean\", \"required\": true, \"description\": \"Whether the player has reached the end of the playable item(s) or not\" }"
Expand All @@ -2558,7 +2558,7 @@ namespace JSONRPC
"\"description\": \"The playback position has been changed. If there is no ID available extra information will be provided.\","
"\"params\": ["
"{ \"name\": \"sender\", \"type\": \"string\", \"required\": true },"
"{ \"name\": \"data\", \"type\": \"object\", \"required\": true, "
"{ \"name\": \"data\", \"type\": \"object\", \"required\": true,"
"\"properties\": {"
"\"item\": { \"$ref\": \"Player.Notifications.Item\" },"
"\"player\": { \"$ref\": \"Player.Notifications.Player.Seek\", \"required\": true }"
Expand Down
4 changes: 2 additions & 2 deletions xbmc/interfaces/json-rpc/notifications.json
Expand Up @@ -22,7 +22,7 @@
"description": "Playback of a media item has been stopped. If there is no ID available extra information will be provided.",
"params": [
{ "name": "sender", "type": "string", "required": true },
{ "name": "data", "type": "object", "required": true,
{ "name": "data", "type": "object", "required": true,
"properties": {
"item": { "$ref": "Player.Notifications.Item" },
"end": { "type": "boolean", "required": true, "description": "Whether the player has reached the end of the playable item(s) or not" }
Expand All @@ -45,7 +45,7 @@
"description": "The playback position has been changed. If there is no ID available extra information will be provided.",
"params": [
{ "name": "sender", "type": "string", "required": true },
{ "name": "data", "type": "object", "required": true,
{ "name": "data", "type": "object", "required": true,
"properties": {
"item": { "$ref": "Player.Notifications.Item" },
"player": { "$ref": "Player.Notifications.Player.Seek", "required": true }
Expand Down
8 changes: 4 additions & 4 deletions xbmc/interfaces/json-rpc/types.json
Expand Up @@ -4,15 +4,15 @@
"default": null
},
"Optional.String": {
"type": [ "null", "string" ],
"type": [ "null", "string" ],
"default": null
},
"Optional.Integer": {
"type": [ "null", "integer" ],
"type": [ "null", "integer" ],
"default": null
},
"Optional.Number": {
"type": [ "null", "number" ],
"type": [ "null", "number" ],
"default": null
},
"Array.String": {
Expand Down Expand Up @@ -67,7 +67,7 @@
"type": "integer",
"default": -1,
"minimum": 1
},
},
"Playlist.Id": {
"type": "integer",
"minimum": 0,
Expand Down

0 comments on commit ea2ec8c

Please sign in to comment.