| Index: tools/json_schema_compiler/test/objects.json
|
| diff --git a/tools/json_schema_compiler/test/objects.json b/tools/json_schema_compiler/test/objects.json
|
| index 8fb20b408343726956dad03917c47b6b610ac730..00a7f5320269f75ebb00cf03b6edff52fa13f992 100644
|
| --- a/tools/json_schema_compiler/test/objects.json
|
| +++ b/tools/json_schema_compiler/test/objects.json
|
| @@ -53,6 +53,85 @@
|
| ]
|
| }
|
| ]
|
| + },
|
| + {
|
| + "name": "returnsTwoObjects",
|
| + "description": "Return two objects.",
|
| + "type": "function",
|
| + "parameters": [
|
| + {
|
| + "name": "callback",
|
| + "type": "function",
|
| + "parameters": [
|
| + {
|
| + "name": "firstInfo",
|
| + "type": "object",
|
| + "properties": {
|
| + "state": {
|
| + "type": "string",
|
| + "enum": ["foo", "bar", "baz"]
|
| + }
|
| + }
|
| + },
|
| + {
|
| + "name": "secondInfo",
|
| + "type": "object",
|
| + "properties": {
|
| + "state": {
|
| + "type": "string",
|
| + "enum": ["spam", "ham", "eggs"]
|
| + }
|
| + }
|
| + }
|
| + ]
|
| + }
|
| + ]
|
| + }
|
| + ],
|
| + "events": [
|
| + {
|
| + "name": "onObjectFired",
|
| + "type": "function",
|
| + "description": "Fired when an object is ready.",
|
| + "parameters": [
|
| + {
|
| + "name": "someObject",
|
| + "type": "object",
|
| + "properties": {
|
| + "state": {
|
| + "type": "string",
|
| + "enum": ["foo", "bar", "baz"]
|
| + }
|
| + }
|
| + }
|
| + ]
|
| + },
|
| + {
|
| + "name": "onTwoObjectsFired",
|
| + "type": "function",
|
| + "description": "Fired when two objects are ready.",
|
| + "parameters": [
|
| + {
|
| + "name": "firstObject",
|
| + "type": "object",
|
| + "properties": {
|
| + "state": {
|
| + "type": "string",
|
| + "enum": ["foo", "bar", "baz"]
|
| + }
|
| + }
|
| + },
|
| + {
|
| + "name": "secondObject",
|
| + "type": "object",
|
| + "properties": {
|
| + "state": {
|
| + "type": "string",
|
| + "enum": ["spam", "ham", "eggs"]
|
| + }
|
| + }
|
| + }
|
| + ]
|
| }
|
| ]
|
| }
|
|
|