github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/other-owned/schema.json (about)

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