github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/simple-plain-schema/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 "bazMap": { 112 "type": "object", 113 "additionalProperties": { 114 "$ref": "#/types/example::Foo" 115 }, 116 "plain": true 117 } 118 }, 119 "requiredInputs": ["a", "c", "e"], 120 "type": "object" 121 } 122 }, 123 "functions": { 124 "example::doFoo": { 125 "inputs": { 126 "properties": { 127 "foo": { 128 "$ref": "#/types/example::Foo" 129 } 130 }, 131 "required": ["foo"], 132 "type": "object" 133 } 134 } 135 }, 136 "language": { 137 "csharp": { 138 "projectReferences": [ 139 "..\\..\\..\\..\\..\\..\\..\\sdk\\dotnet\\Pulumi\\Pulumi.csproj" 140 ] 141 }, 142 "go": { 143 "importBasePath": "github.com/pulumi/pulumi/pkg/v3/codegen/testing/test/testdata/simple-plain-schema/go/example", 144 "generateExtraInputTypes": true 145 }, 146 "nodejs": { 147 "dependencies": { 148 "@pulumi/pulumi": "^3.12" 149 }, 150 "devDependencies": { 151 "typescript": "^3.7.0" 152 } 153 }, 154 "python": {} 155 } 156 }