[ { "_type": "Index", "objectType": "com.test.indextest", "propertyName": "test1", "propertyType": "string" }, { "_type": "Index", "objectType": "com.test.indextest", "propertyName": "test2.nested", "propertyType": "string" }, { "_type": "_schemaType", "name": "com.test.IndexedView", "schema": { "type": "object", "extends": {"$ref": "View"} } }, { "_type": "Map", "targetType": "com.test.IndexedView", "map": { "com.test.indextest": "function (o) { var v = {'test3': {'nested': o.test2.nested}}; jsondb.emit(v); }" } }, { "_type": "Index", "propertyName": "test3.nested", "propertyType": "string", "objectType": "com.test.IndexedView" }, { "_type": "com.test.indextest", "test1": "abc", "test2": {"nested": "123"} }, { "_type": "com.test.indextest", "test1": "def", "test2": {"nested": "456"} } ]