github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/schema/overlay.json (about) 1 { 2 "version": "0.0.1", 3 "name": "example", 4 "types": { 5 "example::ConfigMap": { 6 "properties": { 7 "config": { 8 "type": "string" 9 } 10 }, 11 "type": "object" 12 }, 13 "example::EnumOverlay": { 14 "type": "string", 15 "enum": [ 16 { 17 "name": "SomeEnumValue", 18 "value": "SOME_ENUM_VALUE" 19 } 20 ], 21 "isOverlay": true 22 }, 23 "example::ConfigMapOverlay": { 24 "isOverlay": true, 25 "properties": { 26 "config": { 27 "type": "string" 28 } 29 }, 30 "type": "object" 31 } 32 }, 33 "resources": { 34 "example::Resource": { 35 "properties": { 36 "foo": { 37 "$ref": "#/types/example::ConfigMapOverlay" 38 }, 39 "bar": { 40 "$ref": "#/types/example::EnumOverlay" 41 } 42 }, 43 "inputProperties": { 44 "foo": { 45 "$ref": "#/types/example::ConfigMapOverlay" 46 }, 47 "bar": { 48 "$ref": "#/types/example::EnumOverlay" 49 } 50 }, 51 "type": "object" 52 }, 53 "example::OverlayResource": { 54 "isOverlay": true, 55 "properties": { 56 "foo": { 57 "$ref": "#/types/example::ConfigMapOverlay" 58 }, 59 "bar": { 60 "$ref": "#/types/example::EnumOverlay" 61 } 62 }, 63 "inputProperties": { 64 "foo": { 65 "$ref": "#/types/example::ConfigMapOverlay" 66 }, 67 "bar": { 68 "$ref": "#/types/example::EnumOverlay" 69 } 70 }, 71 "type": "object" 72 } 73 }, 74 "functions": { 75 "example::Function": { 76 "inputs": { 77 "properties": { 78 "arg1": { 79 "type": "string" 80 } 81 } 82 }, 83 "outputs": { 84 "properties": { 85 "result": { 86 "type": "string" 87 } 88 } 89 } 90 }, 91 "example::OverlayFunction": { 92 "isOverlay": true, 93 "inputs": { 94 "properties": { 95 "arg1": { 96 "type": "string" 97 } 98 } 99 }, 100 "outputs": { 101 "properties": { 102 "result": { 103 "type": "string" 104 } 105 } 106 } 107 } 108 } 109 }