github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/plain-and-default/schema.json (about) 1 { 2 "version": "0.0.1", 3 "name": "foobar", 4 "resources": { 5 "foobar::ModuleResource": { 6 "inputProperties": { 7 "plain_optional_const": { 8 "type": "string", 9 "const": "val", 10 "default": "another", 11 "plain": true 12 }, 13 "plain_optional_string": { 14 "type": "string", 15 "default": "buzzer", 16 "plain": true 17 }, 18 "plain_optional_bool": { 19 "type": "boolean", 20 "default": true, 21 "plain": true 22 }, 23 "plain_optional_number": { 24 "type": "number", 25 "default": 42, 26 "plain": true 27 }, 28 "plain_required_string": { 29 "type": "string", 30 "default": "buzzer", 31 "plain": true 32 }, 33 "plain_required_bool": { 34 "type": "boolean", 35 "default": true, 36 "plain": true 37 }, 38 "plain_required_number": { 39 "type": "number", 40 "default": 42, 41 "plain": true 42 }, 43 "optional_const": { 44 "type": "string", 45 "const": "val", 46 "default": "another" 47 }, 48 "optional_string": { 49 "type": "string", 50 "default": "buzzer" 51 }, 52 "optional_bool": { 53 "type": "boolean", 54 "default": true 55 }, 56 "optional_number": { 57 "type": "number", 58 "default": 42 59 }, 60 "optional_enum": { 61 "$ref": "#/types/foobar::EnumThing", 62 "default": 8 63 }, 64 "plain_required_const": { 65 "type": "string", 66 "const": "val", 67 "default": "another", 68 "plain": true 69 }, 70 "required_string": { 71 "type": "string", 72 "default": "buzzer" 73 }, 74 "required_bool": { 75 "type": "boolean", 76 "default": true 77 }, 78 "required_number": { 79 "type": "number", 80 "default": 42 81 }, 82 "required_enum": { 83 "$ref": "#/types/foobar::EnumThing", 84 "default": 4 85 } 86 }, 87 "requiredInputs": [ 88 "plain_required_string", 89 "plain_required_bool", 90 "plain_required_number", 91 "plain_required_const", 92 "required_string", 93 "required_bool", 94 "required_number", 95 "required_enum" 96 ], 97 "type": "object" 98 } 99 }, 100 "types": { 101 "foobar::EnumThing": { 102 "type": "integer", 103 "enum": [ 104 { 105 "value": 4, 106 "name": "Four" 107 }, 108 { 109 "value": 6, 110 "name": "Six" 111 }, 112 { 113 "value": 8, 114 "name": "Eight" 115 } 116 ] 117 } 118 }, 119 "language": { 120 "csharp": { 121 "namespaces": { 122 "foobar": "FooBar" 123 }, 124 "projectReferences": [ 125 "..\\..\\..\\..\\..\\..\\..\\sdk\\dotnet\\Pulumi\\Pulumi.csproj" 126 ] 127 }, 128 "go": { 129 "importBasePath": "plain-and-default/foo", 130 "generateExtraInputTypes": true 131 }, 132 "nodejs": { 133 "dependencies": { 134 "@pulumi/pulumi": "^3.12" 135 }, 136 "devDependencies": { 137 "typescript": "^3.7.0" 138 } 139 }, 140 "python": {} 141 } 142 }