8. The method of claim 1 , wherein the set of property descriptions of the JSON file comprises a description of a control logic for restricting access to one or more data tuples that are available to the JS object upon processing an API request.
8. The method of claim 1 , wherein the set of property descriptions of the JSON file comprises a description of a control logic for restricting access to one or more data tuples that are available to the JS object upon processing an API request. 17. The method of claim 8 , wherein the control logic includes at least one access control list (ACL) rule to ensure that a data tuple satisfies a set of access control criteria, and at least one validation rule for ensuring that at least one data tuple that is exchanged as part of an API request through the JS object meets at least one data-type constraint, wherein the ACL and validation rules are implemented as function call hooks so that at runtime, the JS object calls a set of one or more rule processing engines that process the ACL and validation rules before or after processing an API request.