We utilize JSON Schemas to define our APIs. It would be great if we could utilize the same schema to validate the input object
This should be possible with Schema and/or by importing the AJV module into Functions.
Hi Scott –
Currently, you should be able to use Stitch Rules on your HTTP service to validate the input. These will have a similar (but not identical) format to JSON Schema. We are planning to work more closely with JSON schema in the future and will consider this for the next batch of updates to the HTTP service.