| Index: tools/json_schema_compiler/test/crossref.json
 | 
| diff --git a/tools/json_schema_compiler/test/crossref.json b/tools/json_schema_compiler/test/crossref.json
 | 
| index 8a74059476d4256866cc1a7976d70ed6e1815be3..02e5c94ab706e358ee4fd053faf7e5d53681e5d8 100644
 | 
| --- a/tools/json_schema_compiler/test/crossref.json
 | 
| +++ b/tools/json_schema_compiler/test/crossref.json
 | 
| @@ -2,10 +2,21 @@
 | 
|    {
 | 
|      "namespace": "crossref",
 | 
|      "dependencies": ["simple_api"],
 | 
| -    "types": [],
 | 
| +    "types": [
 | 
| +      {
 | 
| +        "id": "CrossrefType",
 | 
| +        "type": "object",
 | 
| +        "properties": {
 | 
| +          "testType": {
 | 
| +            "$ref": "TestType",
 | 
| +            "optional": true
 | 
| +          }
 | 
| +        }
 | 
| +      }
 | 
| +    ],
 | 
|      "functions": [
 | 
|        {
 | 
| -        "name": "TestTypeOptionalParam",
 | 
| +        "name": "testTypeOptionalParam",
 | 
|          "type": "function",
 | 
|          "description": "Takes TestType as a param.",
 | 
|          "parameters": [
 | 
| @@ -38,6 +49,26 @@
 | 
|              ]
 | 
|            }
 | 
|          ]
 | 
| +      },
 | 
| +      {
 | 
| +        "name": "testTypeInObject",
 | 
| +        "type": "function",
 | 
| +        "description": "Takes an optional object with a TestType and a bool.",
 | 
| +        "parameters": [
 | 
| +          {
 | 
| +            "name": "paramObject",
 | 
| +            "type": "object",
 | 
| +            "properties": {
 | 
| +              "testType": {"$ref": "TestType", "optional": true},
 | 
| +              "boolean": {"type": "boolean"}
 | 
| +            }
 | 
| +          },
 | 
| +          {
 | 
| +            "name": "callback",
 | 
| +            "type": "function",
 | 
| +            "parameters": []
 | 
| +          }
 | 
| +        ]
 | 
|        }
 | 
|      ]
 | 
|    }
 | 
| 
 |