pulumi/pkg/codegen/internal/test/testdata/simple-resource-schema/schema.json

81 lines
1.5 KiB
JSON

{
"version": "0.0.1",
"name": "example",
"types": {
"example::Object": {
"properties": {
"foo": {
"$ref": "#/resources/example::Resource"
},
"bar": {
"type": "string"
}
},
"type": "object"
},
"example::OtherResourceOutput": {
"properties": {
"foo": {
"type": "string"
}
},
"type": "object"
}
},
"resources": {
"example::Resource": {
"properties": {
"bar": {
"type": "string"
}
},
"inputProperties": {
"bar": {
"type": "string"
}
},
"type": "object"
},
"example::OtherResource": {
"isComponent": true,
"properties": {
"foo": {
"$ref": "#/resources/example::Resource"
}
},
"inputProperties": {
"foo": {
"$ref": "#/resources/example::Resource"
}
},
"type": "object"
}
},
"functions": {
"example::argFunction": {
"inputs": {
"properties": {
"arg1": {
"$ref": "#/resources/example::Resource"
}
}
},
"outputs": {
"properties": {
"result": {
"$ref": "#/resources/example::Resource"
}
}
}
}
},
"language": {
"csharp": {},
"go": {
"importBasePath": "github.com/pulumi/pulumi/pkg/v2/codegen/internal/test/testdata/simple-resource-schema/go/example"
},
"nodejs": {},
"python": {}
}
}