* feat(schema): Add command that generates the jsonschema for .goreleaser.yml files
This commit adds the jsonschema/schema subcommand that generates a jsonschema doc based on the Project go struct.
For the config types that alternatively allow you to specify a string via custom UnmarshalYAML function, this commit adds the JSONSchemaType function, so the type gets documented with an oneOf with string or itself.
Add yaml key names for properties that are currently missing them, so alecthomas/jsonschema generates the keys with correct casing.
Signed-off-by: Patrick Hahn <patricksilashahn@gmx.net>
* fix: Add linguist-generated attribute to generated schema json to exclude this file from pull request size validation
Signed-off-by: Patrick Hahn <patricksilashahn@gmx.net>
* fix: run gofumpt
Signed-off-by: Patrick Hahn <patricksilashahn@gmx.net>
* chore(schema): update alecthomas/jsonschema and regenerate schema.json
Signed-off-by: Patrick Hahn <patricksilashahn@gmx.net>