pulumi/pkg/codegen/internal/test/testdata/plain-schema-gh6957/schema.json
Ian Wahbe 7f90e12886
Validate Name, Version and Enviroment (#7896)
* Validate Name, Version and Enviroment

For the full path:
Package.Name
Package.Version
Package.Property.Default

* Update tests

* Update CHANGELOG_PENDING.md

* Add more versions to tests

* Add another "Version" field

* Even more "version" tags

* One more "version" tag added

* Update test results from codegen

* Fix py codegen tests

* Fix doc test

* Remove `version` validation

* Unformat json files

* Fail only on errors
2021-09-17 12:12:22 -07:00

68 lines
1.5 KiB
JSON

{
"name": "xyz",
"version": "0.0.1",
"types": {
"example:index:Foo": {
"properties": {
"a": {
"type": "boolean"
}
},
"type": "object"
}
},
"resources": {
"xyz:index:StaticPage": {
"isComponent": true,
"inputProperties": {
"indexContent": {
"type": "string",
"description": "The HTML content for index.html."
},
"foo": {
"$ref": "#/types/example:index:Foo",
"plain": true
}
},
"requiredInputs": ["indexContent"],
"properties": {
"bucket": {
"$ref": "/aws/v4.0.0/schema.json#/resources/aws:s3%2Fbucket:Bucket",
"description": "The bucket resource."
},
"websiteUrl": {
"type": "string",
"description": "The website URL."
}
},
"required": ["bucket", "websiteUrl"]
}
},
"language": {
"csharp": {
"packageReferences": {
"Pulumi": "3.*",
"Pulumi.Aws": "4.*"
}
},
"go": {
"generateResourceContainerTypes": true,
"importBasePath": "github.com/pulumi/pulumi-xyz/sdk/go/xyz"
},
"nodejs": {
"dependencies": {
"@pulumi/pulumi": "^3.12",
"@pulumi/aws": "^3.7.0"
},
"devDependencies": {
"typescript": "^3.7.0"
}
},
"python": {
"requires": {
"pulumi": ">=3.0.0,<4.0.0",
"pulumi-aws": ">=4.0.0,<5.0.0"
}
}
}
}