github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/synthetic-1.0.0.json (about) 1 { 2 "$schema": "https://raw.githubusercontent.com/pulumi/pulumi/master/pkg/codegen/schema/pulumi.json", 3 "name": "synthetic", 4 "version": "0.1.0", 5 "//": [ 6 "We construct a resource Root,", 7 " which has a property res1, which is a resource output Res1", 8 " which has a property obj1, which is an object output Obj1", 9 " which has a property res2, which is a resource output Res2", 10 " which has a property obj2, which is an empty object output Obj2" 11 ], 12 "resources": { 13 "synthetic:resourceProperties:Root": { 14 "properties": { 15 "res1": { 16 "$ref": "#/resources/synthetic:resourceProperties:Res1" 17 } 18 }, 19 "required": ["res1"], 20 "type": "object" 21 }, 22 "synthetic:resourceProperties:Res1": { 23 "properties": { 24 "obj1": { 25 "$ref": "#/types/synthetic:resourceProperties:Obj1" 26 } 27 }, 28 "isComponent": true, 29 "type": "object" 30 }, 31 "synthetic:resourceProperties:Res2": { 32 "properties": { 33 "obj2": { 34 "$ref": "#/types/synthetic:resourceProperties:Obj2" 35 } 36 }, 37 "type": "object" 38 } 39 }, 40 "types": { 41 "synthetic:resourceProperties:Obj1": { 42 "type": "object", 43 "properties": { 44 "res2": { 45 "$ref": "#/resources/synthetic:resourceProperties:Res2" 46 } 47 } 48 }, 49 "synthetic:resourceProperties:Obj2": { 50 "type": "object", 51 "properties": { 52 "answer": { 53 "type": "number" 54 } 55 } 56 } 57 }, 58 "language": { 59 "nodejs": { 60 "packageName": "@pulumi/synthetic" 61 }, 62 "csharp": { 63 "rootNamespace": "Pulumi.Synthetic" 64 }, 65 "python": { 66 "packageName": "pulumi_synthetic" 67 }, 68 "go": { 69 "importBasePath": "git.example.org/pulumi-synthetic", 70 "packageImportAliases": { 71 "git.example.org/pulumi-synthetic/resourceProperties": "resourceProperties" 72 } 73 } 74 } 75 }