pulumi/tests/testdata/codegen/legacy-names/schema.json

81 lines
1.7 KiB
JSON

{
"name": "legacy_names",
"version": "1.0.0",
"types":{
"legacy_names:index:enum_XYZ": {
"type": "string",
"enum": [
{
"name": "plain",
"value": "A"
},
{
"name": "snake_case",
"value": "B"
},
{
"name": "SHA256",
"value": "C"
},
{
"name": "SHA256_hash",
"value": "D"
}
]
},
"legacy_names:HTTP_module:request": {
"type": "object",
"properties": {
"URL": {
"type": "string"
},
"content_body": {
"type": "string"
}
}
}
},
"resources": {
"legacy_names:index:example_resource": {
"properties":{
"URL": {
"type": "string"
},
"good_URLs": {
"type": "array",
"items": {
"type": "string"
}
},
"map_enum": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"$ref": "#/types/legacy_names:index:enum_XYZ"
}
}
}
},
"inputProperties": {
"map_enum": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"$ref": "#/types/legacy_names:index:enum_XYZ"
}
}
},
"request_HTTP": {
"$ref": "#/types/legacy_names:HTTP_module:request"
}
}
}
},
"language": {
"go": {
"importBasePath": "legacy-names/legacy_names"
}
}
}