JSON Schema of Configuration and API For Easier Integration

It would be amazing if each of the Hashicorp products had a way of generating a JSON schema document, including default values, constraints, and brief descriptions for their configuration options. This would greatly simplify the work of writing configuration management for generating and validating the input values without having to go through a bunch of trial and error, or bouncing back and forth to the documentation.

For the APIs for Consul, Vault, Nomad, etc. it would also be helpful to have a full schema for the API surface area to simplify building client tooling.

I made an initial attempt of using GitHub - alecthomas/jsonschema: Generate JSON Schemas from Go types to generate the schema from the Config struct, which works but is missing default values, constraints, etc.