Add API endpoint to extract validations and message from a questionnaire

Building on a previous feature suggestion (here), create API endpoint to serve up the list of validation objects in a questionnaire imported on the server.

The following attributes of the validation object should be provided:

  • Object name where present (i.e., name of variable or static text)
  • Validation condition
  • Validation message
  • Whether warning or error

Use case:
See thread linked above


  • Request the JSON schema for the questionnaire via GET /api/v1/questionnaires/{id}/{version}/document
  • Parse the schema in order to extract the validations
1 Like