Macquarie University · API Governance Rules
Macquarie University API Rules
Spectral linting rules defining API design standards and conventions for Macquarie University.
6 Rules
error 5
warn 1
Rule Categories
macquarie
Rules
error
macquarie-operator-declared
The contract must declare who operates the thing it describes.
$.info
error
macquarie-provenance-declared
The contract must carry x-provenance with a method, so it is never credited as institution-published when it was probed.
$.info.x-provenance
error
macquarie-institution-host
Every server must sit on a Macquarie University registrable domain. A vendor host here is the misattribution this repo exists to prevent.
$.servers[*].url
error
macquarie-https-only
No plaintext servers.
$.servers[*].url
error
macquarie-contact-institutional
info.contact.email must be an mq.edu.au address — a vendor support address is the signal that the contract is not the institution's.
$.info.contact.email
warn
macquarie-operation-described
Every operation carries a description, not just a summary.
$.paths[*][get,post,put,patch,delete]
Spectral Ruleset
Work with this as data
Every ruleset here is available over the APIs.io API and to AI agents over MCP.