Home | History | Annotate | Download | only in test
      1 [
      2   {
      3     "namespace": "additionalProperties",
      4     "description": "The additionalProperties API.",
      5     "types": [
      6       {
      7         "id": "AdditionalPropertiesType",
      8         "type": "object",
      9         "properties": {
     10           "string": {
     11             "type": "string",
     12             "description": "Some string."
     13           }
     14         },
     15         "additionalProperties": { "type": "any" }
     16       }
     17     ],
     18     "functions": [
     19       {
     20         "name": "additionalProperties",
     21         "type": "function",
     22         "description": "Takes an object with additionalProperties",
     23         "parameters": [
     24           {
     25             "name": "paramObject",
     26             "type": "object",
     27             "properties": {},
     28             "additionalProperties": {"type": "any"}
     29           }
     30         ]
     31       },
     32       {
     33         "name": "returnAdditionalProperties",
     34         "type": "function",
     35         "description": "Returns an object with additionalProperties.",
     36         "nodoc": "true",
     37         "parameters": [
     38           {
     39             "type": "function",
     40             "name": "callback",
     41             "parameters": [
     42               {
     43                 "name": "resultObject",
     44                 "type": "object",
     45                 "properties": {
     46                   "integer": {"type": "integer"}
     47                 },
     48                 "additionalProperties": {"type": "string"}
     49               }
     50             ]
     51           }
     52         ]
     53       }
     54     ]
     55   }
     56 ]
     57