A custom module for validating the school reference number and the local authority name entered by the user against Edubase's database using Drupal's http request to connect to Edubase API.
Edubase is a central database of UK schools, such as the school name and type, the school's unique reference number, local authority and number of students.
The module uses Drupal’s core as much as possible, relying on the built-in comment module, views, rules and display suite. The module interacts with the comments form and other Drupal’s components for extending requests and validations, with event logging and error reporting.
Email notification, comment/review publishing and node publishing when a positive review is received are all done with the Rules module.
Edubase API returns different formats including XML and JSON, and it offers convenient views for returning objects with additional data.