github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/different-package-name-conflict/schema.json (about)

     1  {
     2    "version": "0.0.1",
     3    "name": "example",
     4    "allowedPackageNames": ["foo", "bar"],
     5    "types": {
     6      "example::Object": {
     7        "properties": {
     8          "foo": {
     9            "$ref": "#/resources/example::Resource"
    10          },
    11          "bar": {
    12            "type": "string"
    13          },
    14          "others": {
    15            "type": "array",
    16            "items": {
    17              "type": "array",
    18              "items": {
    19                "type": "object",
    20                "$ref": "#/types/example::SomeOtherObject"
    21              }
    22            },
    23            "description": "List of lists of other objects"
    24          },
    25          "configs": {
    26            "type": "array",
    27            "items": {
    28              "type": "object",
    29              "$ref": "#/types/example::ConfigMap"
    30            }
    31          },
    32          "stillOthers": {
    33            "type": "object",
    34            "additionalProperties": {
    35              "type": "array",
    36              "items": {
    37                "type": "object",
    38                "$ref": "#/types/example::SomeOtherObject"
    39              }
    40            },
    41            "description": "Mapping from string to list of some other object"
    42          }
    43        },
    44        "type": "object"
    45      },
    46      "example::OtherResourceOutput": {
    47        "properties": {
    48          "foo": {
    49            "type": "string"
    50          }
    51        },
    52        "type": "object"
    53      },
    54      "example::SomeOtherObject": {
    55        "properties": {
    56          "baz": {
    57            "type": "string"
    58          }
    59        },
    60        "type": "object"
    61      },
    62      "example::ConfigMap": {
    63        "properties": {
    64          "config": {
    65            "type": "string"
    66          }
    67        },
    68        "type": "object"
    69      },
    70      "example::EnumOverlay": {
    71        "type": "string",
    72        "enum": [
    73          {
    74            "name": "SomeEnumValue",
    75            "value": "SOME_ENUM_VALUE"
    76          }
    77        ],
    78        "isOverlay": true
    79      },
    80      "example::ConfigMapOverlay": {
    81        "isOverlay": true,
    82        "properties": {
    83          "config": {
    84            "type": "string"
    85          }
    86        },
    87        "type": "object"
    88      },
    89      "example::ObjectWithNodeOptionalInputs": {
    90        "properties": {
    91          "foo": {
    92            "type": "string"
    93          },
    94          "bar": {
    95            "type": "integer"
    96          }
    97        },
    98        "required": ["foo"],
    99        "language": {
   100          "nodejs": {
   101            "requiredInputs": []
   102          }
   103        },
   104        "type": "object"
   105      }
   106    },
   107    "resources": {
   108      "example::Resource": {
   109        "properties": {
   110          "bar": {
   111            "type": "string",
   112            "secret": true
   113          }
   114        },
   115        "inputProperties": {
   116          "bar": {
   117            "type": "string",
   118            "secret": true
   119          }
   120        },
   121        "type": "object"
   122      },
   123      "example::OtherResource": {
   124        "isComponent": true,
   125        "properties": {
   126          "foo": {
   127            "$ref": "#/resources/example::Resource"
   128          }
   129        },
   130        "inputProperties": {
   131          "foo": {
   132            "$ref": "#/resources/example::Resource"
   133          }
   134        },
   135        "type": "object"
   136      },
   137      "bar::Resource": {
   138        "isComponent": true,
   139        "properties": {
   140          "foo": {
   141            "$ref": "#/resources/example::Resource"
   142          }
   143        },
   144        "inputProperties": {
   145          "foo": {
   146            "$ref": "#/resources/example::Resource"
   147          }
   148        },
   149        "type": "object"
   150      },
   151      "foo::Resource": {
   152        "isComponent": true,
   153        "properties": {
   154          "foo": {
   155            "$ref": "#/resources/example::Resource"
   156          }
   157        },
   158        "inputProperties": {
   159          "foo": {
   160            "$ref": "#/resources/example::Resource"
   161          }
   162        },
   163        "type": "object"
   164      },
   165  
   166      "example::OverlayResource": {
   167        "isOverlay": true,
   168        "properties": {
   169          "foo": {
   170            "$ref": "#/types/example::ConfigMapOverlay"
   171          },
   172          "bar": {
   173            "$ref": "#/types/example::EnumOverlay"
   174          }
   175        },
   176        "inputProperties": {
   177          "foo": {
   178            "$ref": "#/types/example::ConfigMapOverlay"
   179          },
   180          "bar": {
   181            "$ref": "#/types/example::EnumOverlay"
   182          }
   183        },
   184        "type": "object"
   185      },
   186      "example::TypeUses": {
   187        "properties": {
   188          "foo": {
   189            "$ref": "#/types/example::Object"
   190          },
   191          "bar": {
   192            "$ref": "#/types/example::SomeOtherObject"
   193          },
   194          "baz": {
   195            "$ref": "#/types/example::ObjectWithNodeOptionalInputs"
   196          }
   197        },
   198        "inputProperties": {
   199          "foo": {
   200            "$ref": "#/types/example::Object"
   201          },
   202          "bar": {
   203            "$ref": "#/types/example::SomeOtherObject"
   204          },
   205          "baz": {
   206            "$ref": "#/types/example::ObjectWithNodeOptionalInputs"
   207          }
   208        },
   209        "type": "object"
   210      }
   211    },
   212    "functions": {
   213      "example::argFunction": {
   214        "inputs": {
   215          "properties": {
   216            "arg1": {
   217              "$ref": "#/resources/example::Resource"
   218            }
   219          }
   220        },
   221        "outputs": {
   222          "properties": {
   223            "result": {
   224              "$ref": "#/resources/example::Resource"
   225            }
   226          }
   227        }
   228      },
   229      "example::overlayFunction": {
   230        "isOverlay": true,
   231        "inputs": {
   232          "properties": {
   233            "arg1": {
   234              "$ref": "#/resources/example::Resource"
   235            }
   236          }
   237        },
   238        "outputs": {
   239          "properties": {
   240            "result": {
   241              "$ref": "#/resources/example::Resource"
   242            }
   243          }
   244        }
   245      }
   246    },
   247    "language": {
   248      "csharp": {
   249        "projectReferences": [
   250          "..\\..\\..\\..\\..\\..\\..\\sdk\\dotnet\\Pulumi\\Pulumi.csproj"
   251        ],
   252        "packageReferences": {
   253          "Pulumi": "3.13"
   254        }
   255      },
   256      "go": {
   257        "importBasePath": "github.com/pulumi/pulumi/pkg/v3/codegen/testing/test/testdata/simple-resource-schema/go/example"
   258      },
   259      "nodejs": {
   260        "dependencies": {
   261          "@pulumi/pulumi": "^3.12"
   262        },
   263        "devDependencies": {
   264          "typescript": "^3.7.0"
   265        }
   266      },
   267      "python": {}
   268    }
   269  }