JSON Schema Generation

The v2 API provides JSON schemas for clients to consume. They need to be dynamically generated from deployment-specific configuration. These custom attributes should also be stored in such a way that they can be enabled and disabled.