From 0e62ff83d2bfd8d6d017685c4545e26ecc273b7c Mon Sep 17 00:00:00 2001 From: montellese Date: Mon, 3 Sep 2012 19:59:35 +0200 Subject: [PATCH] jsonrpc: fix JSON schema description for List.Limits properties --- xbmc/interfaces/json-rpc/ServiceDescription.h | 4 ++-- xbmc/interfaces/json-rpc/types.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/xbmc/interfaces/json-rpc/ServiceDescription.h b/xbmc/interfaces/json-rpc/ServiceDescription.h index 682d4d5971723..a10443451a5f0 100644 --- a/xbmc/interfaces/json-rpc/ServiceDescription.h +++ b/xbmc/interfaces/json-rpc/ServiceDescription.h @@ -683,8 +683,8 @@ namespace JSONRPC "\"List.Limits\": {" "\"type\": \"object\"," "\"properties\": {" - "\"start\": { \"type\": \"integer\", \"minimum\": 0, \"default\": 0 }," - "\"end\": { \"type\": \"integer\", \"minimum\": 0, \"default\": -1, \"description\": \"The number of items in the list being returned\" }" + "\"start\": { \"type\": \"integer\", \"minimum\": 0, \"default\": 0, \"description\": \"Index of the first item to return\" }," + "\"end\": { \"type\": \"integer\", \"minimum\": 0, \"default\": -1, \"description\": \"Index of the last item to return\" }" "}," "\"additionalProperties\": false" "}", diff --git a/xbmc/interfaces/json-rpc/types.json b/xbmc/interfaces/json-rpc/types.json index 9ab1917f67ebb..b688c7d8fe1a1 100644 --- a/xbmc/interfaces/json-rpc/types.json +++ b/xbmc/interfaces/json-rpc/types.json @@ -655,8 +655,8 @@ "List.Limits": { "type": "object", "properties": { - "start": { "type": "integer", "minimum": 0, "default": 0 }, - "end": { "type": "integer", "minimum": 0, "default": -1, "description": "The number of items in the list being returned" } + "start": { "type": "integer", "minimum": 0, "default": 0, "description": "Index of the first item to return" }, + "end": { "type": "integer", "minimum": 0, "default": -1, "description": "Index of the last item to return" } }, "additionalProperties": false },