pulumi/pkg/codegen/internal/test/testdata/provider-config-schema/schema.json

78 lines
1.5 KiB
JSON

{
"version": "0.0.1",
"name": "configstation",
"config": {
"variables": {
"name": {
"type": "string"
},
"numberOfSheep": {
"type": "integer"
},
"isMember": {
"type": "boolean",
"default": true
},
"favoritePlants": {
"type": "array",
"items": {
"type": "string"
}
},
"secretCode": {
"type": "string",
"description": "This is a huge secret",
"defaultInfo": {
"environment": [
"SECRET_CODE",
"MY_SUPER_SECRET_CODE"
]
}
},
"favoriteSandwich": {
"$ref": "#/types/configstation:config:sandwich",
"description": "omg my favorite sandwich"
},
"kids": {
"$ref": "#/types/configstation:index:child"
}
},
"defaults": [
"name"
]
},
"types": {
"configstation:config:sandwich": {
"properties": {
"bread": {
"type": "string"
},
"veggies": {
"type": "array",
"items": {
"type": "string"
}
}
},
"type": "object"
},
"configstation:index:child": {
"properties": {
"name": {
"type": "string"
},
"age": {
"type": "integer"
}
},
"type": "object"
}
},
"language": {
"csharp": {},
"go": {},
"nodejs": {},
"python": {}
}
}