github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/simple-plain-schema-with-root-package/schema.json (about) 1 { 2 "version": "0.0.1", 3 "name": "example", 4 "types": { 5 "example::Foo": { 6 "properties": { 7 "a": { 8 "type": "boolean", 9 "plain": true 10 }, 11 "b": { 12 "type": "boolean", 13 "plain": true 14 }, 15 "c": { 16 "type": "integer", 17 "plain": true 18 }, 19 "d": { 20 "type": "integer", 21 "plain": true 22 }, 23 "e": { 24 "type": "string", 25 "plain": true 26 }, 27 "f": { 28 "type": "string", 29 "plain": true 30 } 31 }, 32 "required": ["a", "c", "e"], 33 "type": "object" 34 } 35 }, 36 "resources": { 37 "example::Component": { 38 "isComponent": true, 39 "properties": { 40 "a": { 41 "type": "boolean" 42 }, 43 "b": { 44 "type": "boolean" 45 }, 46 "c": { 47 "type": "integer" 48 }, 49 "d": { 50 "type": "integer" 51 }, 52 "e": { 53 "type": "string" 54 }, 55 "f": { 56 "type": "string" 57 }, 58 "foo": { 59 "$ref": "#/types/example::Foo" 60 }, 61 "bar": { 62 "$ref": "#/types/example::Foo" 63 }, 64 "baz": { 65 "type": "array", 66 "items": { 67 "$ref": "#/types/example::Foo" 68 } 69 } 70 }, 71 "required": ["a", "c", "e"], 72 "inputProperties": { 73 "a": { 74 "type": "boolean", 75 "plain": true 76 }, 77 "b": { 78 "type": "boolean", 79 "plain": true 80 }, 81 "c": { 82 "type": "integer", 83 "plain": true 84 }, 85 "d": { 86 "type": "integer", 87 "plain": true 88 }, 89 "e": { 90 "type": "string", 91 "plain": true 92 }, 93 "f": { 94 "type": "string", 95 "plain": true 96 }, 97 "foo": { 98 "$ref": "#/types/example::Foo" 99 }, 100 "bar": { 101 "$ref": "#/types/example::Foo", 102 "plain": true 103 }, 104 "baz": { 105 "type": "array", 106 "items": { 107 "$ref": "#/types/example::Foo" 108 }, 109 "plain": true 110 } 111 }, 112 "requiredInputs": ["a", "c", "e"], 113 "type": "object" 114 } 115 }, 116 "language": { 117 "csharp": { 118 "projectReferences": [ 119 "..\\..\\..\\..\\..\\..\\..\\sdk\\dotnet\\Pulumi\\Pulumi.csproj" 120 ] 121 }, 122 "go": { 123 "importBasePath": "github.com/pulumi/pulumi/pkg/v3/codegen/testing/test/testdata/simple-plain-schema-with-root-package/go/example", 124 "rootPackageName": "different", 125 "generateExtraInputTypes": true 126 }, 127 "nodejs": { 128 "dependencies": { 129 "@pulumi/pulumi": "^3.12" 130 }, 131 "devDependencies": { 132 "typescript": "^3.7.0" 133 } 134 }, 135 "python": {} 136 } 137 }