{ "$schema": "https://raw.githubusercontent.com/pulumi/pulumi/master/pkg/codegen/schema/pulumi.json", "name": "synthetic", "version": "0.1.0", "//": [ "We construct a resource Root,", " which has a property res1, which is a resource output Res1", " which has a property obj1, which is an object output Obj1", " which has a property res2, which is a resource output Res2", " which has a property obj2, which is an empty object output Obj2" ], "resources": { "synthetic:resourceProperties:Root": { "properties": { "res1": { "$ref": "#/resources/synthetic:resourceProperties:Res1" } }, "required": ["res1"], "type": "object" }, "synthetic:resourceProperties:Res1": { "properties": { "obj1": { "$ref": "#/types/synthetic:resourceProperties:Obj1" } }, "isComponent": true, "type": "object" }, "synthetic:resourceProperties:Res2": { "properties": { "obj2": { "$ref": "#/types/synthetic:resourceProperties:Obj2" } }, "type": "object" } }, "types": { "synthetic:resourceProperties:Obj1": { "type": "object", "properties": { "res2": { "$ref": "#/resources/synthetic:resourceProperties:Res2" } } }, "synthetic:resourceProperties:Obj2": { "type": "object", "properties": { "answer": { "type": "number" } } } }, "language": { "nodejs": { "packageName": "@pulumi/synthetic" }, "csharp": { "rootNamespace": "Pulumi.Synthetic" }, "python": { "packageName": "pulumi_synthetic" }, "go": { "importBasePath": "git.example.org/pulumi-synthetic", "packageImportAliases": { "git.example.org/pulumi-synthetic/resourceProperties": "resourceProperties" } } } }