Queen's University Belfast · API Governance Rules
Queen's University Belfast API Rules
Spectral linting rules defining API design standards and conventions for Queen's University Belfast.
7 Rules
error 1
warn 4
info 2
Rule Categories
qub
Rules
warn
qub-pure-info-contact
Pure API info object should retain a support contact.
$.info
error
qub-pure-server-https
Servers should use HTTPS against the Queen's University Belfast Pure host.
$.servers[*].url
warn
qub-pure-operation-id
Every operation should carry an operationId (Pure uses snake_case like activity_list).
$.paths[*][get,post,put,delete]
warn
qub-pure-operation-tag
Operations should be tagged with their Pure content family (e.g. researchOutput, person, dataSet).
$.paths[*][get,post,put,delete]
info
qub-pure-list-pagination-params
List (GET collection) operations should expose size and offset paging parameters.
$.paths[?(@property.match(/s$/))].get.parameters
warn
qub-pure-security-api-key
The Pure API is secured with an api-key security scheme.
$.components.securitySchemes
info
qub-pure-uuid-identity
Core objects should expose a uuid as their primary identity.
$.components.schemas[ResearchOutput,Person,DataSet].properties