github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/schema/replace-on-changes-5.json (about)

     1  {
     2    "version": "0.0.1",
     3    "name": "example",
     4    "resources": {
     5      "example::Dog": {
     6        "properties": {
     7          "bone": {
     8            "type": "string",
     9            "replaceOnChanges": true
    10          }
    11        }
    12      },
    13      "example::Pets": {
    14        "properties": {
    15          "name": {
    16            "type": "string",
    17            "replaceOnChanges": true
    18          },
    19          "other": {
    20            "$ref": "#/resources/example::Dog"
    21          },
    22          "toy": {
    23            "$ref": "#/types/example::toy"
    24          },
    25          "friends": {
    26            "type": "array",
    27            "items": {
    28              "$ref": "#/types/example::toy"
    29            }
    30          },
    31          "foes": {
    32            "type": "object",
    33            "additionalProperties": {
    34              "$ref": "#/types/example::toy"
    35            }
    36          }
    37        }
    38      }
    39    },
    40    "types": {
    41      "example::toy": {
    42        "description": "This is a cat toy",
    43        "type": "object",
    44        "properties": {
    45          "color": {
    46            "type": "string",
    47            "replaceOnChanges": true
    48          },
    49          "wear": {
    50            "type": "number"
    51          }
    52        }
    53      }
    54    }
    55  }