github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/simple-yaml-schema/schema.yaml (about) 1 version: "0.0.1" 2 name: example 3 types: 4 example::Object: 5 properties: 6 foo: 7 "$ref": "#/resources/example::Resource" 8 bar: 9 type: string 10 others: 11 type: array 12 items: 13 type: array 14 items: 15 "$ref": "#/types/example::SomeOtherObject" 16 description: List of lists of other objects 17 configs: 18 type: array 19 items: 20 "$ref": "#/types/example::ConfigMap" 21 stillOthers: 22 type: object 23 additionalProperties: 24 type: array 25 items: 26 "$ref": "#/types/example::SomeOtherObject" 27 description: Mapping from string to list of some other object 28 type: object 29 example::OtherResourceOutput: 30 properties: 31 foo: 32 type: string 33 type: object 34 example::SomeOtherObject: 35 properties: 36 baz: 37 type: string 38 type: object 39 example::ConfigMap: 40 properties: 41 config: 42 type: string 43 type: object 44 example::ObjectWithNodeOptionalInputs: 45 properties: 46 foo: 47 type: string 48 bar: 49 type: integer 50 required: [foo] 51 language: 52 nodejs: 53 "requiredInputs": [] 54 type: object 55 example::OutputOnlyObjectType: 56 properties: 57 foo: 58 type: string 59 type: object 60 example::OutputOnlyEnumType: 61 type: string 62 enum: 63 - value: foo 64 - value: bar 65 example::RubberTreeVariety: 66 type: string 67 description: types of rubber trees 68 enum: 69 - value: Burgundy 70 description: A burgundy rubber tree. 71 - value: Ruby 72 description: A ruby rubber tree. 73 - value: Tineke 74 description: A tineke rubber tree. 75 resources: 76 example::Resource: 77 properties: 78 bar: 79 type: string 80 secret: true 81 inputProperties: 82 bar: 83 type: string 84 secret: true 85 type: object 86 example::OtherResource: 87 isComponent: true 88 properties: 89 foo: 90 "$ref": "#/resources/example::Resource" 91 inputProperties: 92 foo: 93 "$ref": "#/resources/example::Resource" 94 bar: 95 type: array 96 items: 97 type: string 98 plain: true 99 type: object 100 example::TypeUses: 101 properties: 102 foo: 103 "$ref": "#/types/example::Object" 104 bar: 105 "$ref": "#/types/example::SomeOtherObject" 106 baz: 107 "$ref": "#/types/example::ObjectWithNodeOptionalInputs" 108 qux: 109 "$ref": "#/types/example::RubberTreeVariety" 110 zed: 111 "$ref": "#/types/example::OutputOnlyObjectType" 112 alpha: 113 "$ref": "#/types/example::OutputOnlyEnumType" 114 beta: 115 type: array 116 items: 117 "$ref": "#/types/example::OutputOnlyObjectType" 118 gamma: 119 type: object 120 additionalProperties: 121 "$ref": "#/types/example::OutputOnlyEnumType" 122 inputProperties: 123 foo: 124 "$ref": "#/types/example::Object" 125 bar: 126 "$ref": "#/types/example::SomeOtherObject" 127 baz: 128 "$ref": "#/types/example::ObjectWithNodeOptionalInputs" 129 qux: 130 "$ref": "#/types/example::RubberTreeVariety" 131 type: object 132 functions: 133 example::argFunction: 134 inputs: 135 properties: 136 arg1: 137 "$ref": "#/resources/example::Resource" 138 outputs: 139 properties: 140 result: 141 "$ref": "#/resources/example::Resource" 142 language: 143 csharp: { "packageReferences": { "Pulumi": "3.13" }, "projectReferences": ["..\\..\\..\\..\\..\\..\\..\\sdk\\dotnet\\Pulumi\\Pulumi.csproj"] } 144 go: 145 { 146 "importBasePath": "github.com/pulumi/pulumi/pkg/v3/codegen/testing/test/testdata/simple-resource-schema/go/example", 147 "disableFunctionOutputVersions": true 148 } 149 nodejs: 150 { 151 "dependencies": { "@pulumi/pulumi": "^3.12" }, 152 "devDependencies": { "typescript": "^3.7.0" }, 153 } 154 python: {}