github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/regress-node-8110/schema.json (about) 1 { 2 "name": "my8110", 3 "version": "0.0.1", 4 "functions": { 5 "my8110::exampleFunc": { 6 "inputs": { 7 "type": "object", 8 "properties": { 9 "enums": { 10 "type": "array", 11 "items": { 12 "oneOf": [ 13 { 14 "type": "string" 15 }, 16 { 17 "$ref": "#/types/my8110::MyEnum" 18 } 19 ] 20 } 21 } 22 } 23 } 24 } 25 }, 26 "types": { 27 "my8110::MyEnum": { 28 "type": "string", 29 "enum": [ 30 { 31 "value": "one" 32 }, 33 { 34 "value": "two" 35 } 36 ] 37 }, 38 "my8110::MyObj": { 39 "type": "object", 40 "properties": { 41 "a": { 42 "type": "string" 43 } 44 } 45 } 46 }, 47 "language": { 48 "csharp": { 49 "projectReferences": [ 50 "..\\..\\..\\..\\..\\..\\..\\sdk\\dotnet\\Pulumi\\Pulumi.csproj" 51 ] 52 }, 53 "nodejs": { 54 "devDependencies": { 55 "@types/node": "latest", 56 "ts-node": "latest" 57 }, 58 "extraTypeScriptFiles": [ 59 "compileCheck.ts" 60 ] 61 }, 62 "go": { 63 "generateExtraInputTypes": true 64 } 65 } 66 }