github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/replace-on-change/schema.json (about) 1 { 2 "name": "example", 3 "version": "0.0.1", 4 "resources": { 5 "example::NoRecursive": { 6 "properties": { 7 "rec": { 8 "$ref": "#/types/example::Rec" 9 }, 10 "replace": { 11 "type": "string", 12 "replaceOnChanges": true 13 } 14 } 15 }, 16 "example::ToyStore": { 17 "properties": { 18 "chew": { 19 "$ref": "#/types/example::Chew" 20 }, 21 "laser": { 22 "$ref": "#/types/example::Laser" 23 }, 24 "stuff": { 25 "type": "array", 26 "items": { 27 "$ref": "#/types/example::Toy" 28 } 29 }, 30 "wanted": { 31 "type": "array", 32 "items": { 33 "$ref": "#/types/example::Toy" 34 }, 35 "replaceOnChanges": true 36 } 37 } 38 }, 39 "example::God": { 40 "properties": { 41 "backwards": { 42 "$ref": "#/resources/example::Dog" 43 } 44 } 45 }, 46 "example::Dog": { 47 "properties": { 48 "bone": { 49 "type": "string", 50 "replaceOnChanges": true 51 } 52 } 53 }, 54 "example::Cat": { 55 "properties": { 56 "name": { 57 "type": "string", 58 "secret": true, 59 "replaceOnChanges": true 60 }, 61 "other": { 62 "$ref": "#/resources/example::God" 63 }, 64 "toy": { 65 "$ref": "#/types/example::Toy" 66 }, 67 "friends": { 68 "type": "array", 69 "items": { 70 "$ref": "#/types/example::Toy" 71 } 72 }, 73 "foes": { 74 "type": "object", 75 "additionalProperties": { 76 "$ref": "#/types/example::Toy" 77 } 78 } 79 } 80 } 81 }, 82 "types": { 83 "example::Toy": { 84 "description": "This is a toy", 85 "type": "object", 86 "properties": { 87 "color": { 88 "type": "string", 89 "secret": true, 90 "replaceOnChanges": true 91 }, 92 "wear": { 93 "type": "number" 94 }, 95 "associated": { 96 "$ref": "#/types/example::Toy" 97 } 98 } 99 }, 100 "example::Laser": { 101 "description": "A Toy for a cat", 102 "type": "object", 103 "properties": { 104 "animal": { 105 "$ref": "#/resources/example::Cat" 106 }, 107 "light": { 108 "type": "number" 109 }, 110 "batteries": { 111 "type": "boolean", 112 "replaceOnChanges": true 113 } 114 } 115 }, 116 "example::Chew": { 117 "description": "A toy for a dog", 118 "type": "object", 119 "properties": { 120 "owner": { 121 "$ref": "#/resources/example::Dog", 122 "replaceOnChanges": true 123 } 124 } 125 }, 126 "example::Rec": { 127 "type": "object", 128 "properties": { 129 "rec1": { 130 "$ref": "#/types/example::Rec" 131 } 132 } 133 } 134 }, 135 "language": { 136 "csharp": { 137 "projectReferences": [ 138 "..\\..\\..\\..\\..\\..\\..\\sdk\\dotnet\\Pulumi\\Pulumi.csproj" 139 ] 140 }, 141 "go": { 142 "generateResourceContainerTypes": true, 143 "disableInputTypeRegistrations": true, 144 "generateExtraInputTypes": true 145 }, 146 "nodejs": { 147 "dependencies": { 148 "@pulumi/pulumi": "^3.12" 149 }, 150 "devDependencies": { 151 "typescript": "^3.7.0" 152 } 153 }, 154 "python": {} 155 } 156 }