github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/simple-resource-schema/schema.json (about) 1 { 2 "version": "1.2.3", 3 "name": "example", 4 "allowedPackageNames": ["foo", "bar"], 5 "pluginDownloadURL": "example.com/download", 6 "types": { 7 "example::Object": { 8 "properties": { 9 "foo": { 10 "$ref": "#/resources/example::Resource" 11 }, 12 "bar": { 13 "type": "string" 14 }, 15 "others": { 16 "type": "array", 17 "items": { 18 "type": "array", 19 "items": { 20 "type": "object", 21 "$ref": "#/types/example::SomeOtherObject" 22 } 23 }, 24 "description": "List of lists of other objects" 25 }, 26 "configs": { 27 "type": "array", 28 "items": { 29 "type": "object", 30 "$ref": "#/types/example::ConfigMap" 31 } 32 }, 33 "stillOthers": { 34 "type": "object", 35 "additionalProperties": { 36 "type": "array", 37 "items": { 38 "type": "object", 39 "$ref": "#/types/example::SomeOtherObject" 40 } 41 }, 42 "description": "Mapping from string to list of some other object" 43 } 44 }, 45 "type": "object" 46 }, 47 "example::OtherResourceOutput": { 48 "properties": { 49 "foo": { 50 "type": "string" 51 } 52 }, 53 "type": "object" 54 }, 55 "example::SomeOtherObject": { 56 "properties": { 57 "baz": { 58 "type": "string" 59 } 60 }, 61 "type": "object" 62 }, 63 "example::ConfigMap": { 64 "properties": { 65 "config": { 66 "type": "string" 67 } 68 }, 69 "type": "object" 70 }, 71 "example::EnumOverlay": { 72 "type": "string", 73 "enum": [ 74 { 75 "name": "SomeEnumValue", 76 "value": "SOME_ENUM_VALUE" 77 } 78 ], 79 "isOverlay": true 80 }, 81 "example::ConfigMapOverlay": { 82 "isOverlay": true, 83 "properties": { 84 "config": { 85 "type": "string" 86 } 87 }, 88 "type": "object" 89 }, 90 "example::ObjectWithNodeOptionalInputs": { 91 "properties": { 92 "foo": { 93 "type": "string" 94 }, 95 "bar": { 96 "type": "integer" 97 } 98 }, 99 "required": ["foo"], 100 "language": { 101 "nodejs": { 102 "requiredInputs": [] 103 } 104 }, 105 "type": "object" 106 } 107 }, 108 "resources": { 109 "example::Resource": { 110 "properties": { 111 "bar": { 112 "type": "string", 113 "secret": true 114 }, 115 "baz": { 116 "type": "string", 117 "secret": true 118 } 119 }, 120 "inputProperties": { 121 "bar": { 122 "type": "string", 123 "secret": true, 124 "willReplaceOnChanges": true 125 } 126 }, 127 "type": "object" 128 }, 129 "example::OtherResource": { 130 "isComponent": true, 131 "properties": { 132 "foo": { 133 "$ref": "#/resources/example::Resource" 134 } 135 }, 136 "inputProperties": { 137 "foo": { 138 "$ref": "#/resources/example::Resource" 139 } 140 }, 141 "type": "object" 142 }, 143 "bar::BarResource": { 144 "isComponent": true, 145 "properties": { 146 "foo": { 147 "$ref": "#/resources/example::Resource" 148 } 149 }, 150 "inputProperties": { 151 "foo": { 152 "$ref": "#/resources/example::Resource" 153 } 154 }, 155 "type": "object" 156 }, 157 "foo::FooResource": { 158 "isComponent": true, 159 "properties": { 160 "foo": { 161 "$ref": "#/resources/example::Resource" 162 } 163 }, 164 "inputProperties": { 165 "foo": { 166 "$ref": "#/resources/example::Resource" 167 } 168 }, 169 "type": "object" 170 }, 171 172 "example::OverlayResource": { 173 "isOverlay": true, 174 "properties": { 175 "foo": { 176 "$ref": "#/types/example::ConfigMapOverlay" 177 }, 178 "bar": { 179 "$ref": "#/types/example::EnumOverlay" 180 } 181 }, 182 "inputProperties": { 183 "foo": { 184 "$ref": "#/types/example::ConfigMapOverlay" 185 }, 186 "bar": { 187 "$ref": "#/types/example::EnumOverlay" 188 } 189 }, 190 "type": "object" 191 }, 192 "example::TypeUses": { 193 "properties": { 194 "foo": { 195 "$ref": "#/types/example::Object" 196 }, 197 "bar": { 198 "$ref": "#/types/example::SomeOtherObject" 199 }, 200 "baz": { 201 "$ref": "#/types/example::ObjectWithNodeOptionalInputs" 202 } 203 }, 204 "inputProperties": { 205 "foo": { 206 "$ref": "#/types/example::Object" 207 }, 208 "bar": { 209 "$ref": "#/types/example::SomeOtherObject" 210 }, 211 "baz": { 212 "$ref": "#/types/example::ObjectWithNodeOptionalInputs" 213 } 214 }, 215 "type": "object" 216 } 217 }, 218 "functions": { 219 "example::argFunction": { 220 "inputs": { 221 "properties": { 222 "arg1": { 223 "$ref": "#/resources/example::Resource" 224 } 225 } 226 }, 227 "outputs": { 228 "properties": { 229 "result": { 230 "$ref": "#/resources/example::Resource" 231 } 232 } 233 } 234 }, 235 "example::overlayFunction": { 236 "isOverlay": true, 237 "inputs": { 238 "properties": { 239 "arg1": { 240 "$ref": "#/resources/example::Resource" 241 } 242 } 243 }, 244 "outputs": { 245 "properties": { 246 "result": { 247 "$ref": "#/resources/example::Resource" 248 } 249 } 250 } 251 } 252 }, 253 "language": { 254 "csharp": { 255 "projectReferences": [ 256 "..\\..\\..\\..\\..\\..\\..\\sdk\\dotnet\\Pulumi\\Pulumi.csproj" 257 ], 258 "respectSchemaVersion": true 259 }, 260 "go": { 261 "importBasePath": "github.com/pulumi/pulumi/pkg/v3/codegen/testing/test/testdata/simple-resource-schema/go/example", 262 "generateExtraInputTypes": true, 263 "respectSchemaVersion": true 264 }, 265 "nodejs": { 266 "dependencies": { 267 "@pulumi/pulumi": "^3.12" 268 }, 269 "devDependencies": { 270 "typescript": "^3.7.0" 271 }, 272 "respectSchemaVersion": true, 273 "pluginVersion": "3.2.1" 274 }, 275 "python": { 276 "respectSchemaVersion": true 277 } 278 } 279 }