github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/schema.json (about)

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