Patent Document ID: 9582301
Application ID: 14490640

Base Claim:
1. A method of defining a JavaScript (JS) object to process application programming interface (API) requests, the method comprising: defining a JS file to define a set of behavioral descriptions of the JS object; in response to a determination that a request to add a set of properties has been received, defining a JS object notation (JSON) file to define a set of property descriptions of the JS object; based on a common name for the JS and JSON files, creating an association between the JS and JSON files; attaching the associated JS and JSON files to a data source abstractor upon receiving a request for such; and storing the JS and JSON files on a machine readable medium, wherein the association allows an object instantiator to instantiate the JS object from the behavioral description in the JS file and the property description in the JSON file, wherein the instantiated JS object processes API requests received from a plurality of devices to provide data from a plurality of resources to the plurality of devices.

---

Claim 2:
2. The method of claim 1 , wherein at least one of the plurality of resources comprises a data storage, wherein the set of property descriptions of the JSON file comprises a description of the data storage that enables the JS object to retrieve data from the data storage.