University of Groningen · API Governance Rules
University of Groningen API Rules
Spectral linting rules defining API design standards and conventions for University of Groningen.
5 Rules
error 1
warn 4
Rule Categories
ug
Rules
warn
ug-info-contact
API info should declare a contact for the providing institution.
$.info
error
ug-servers-https
Server URLs must use HTTPS (UG/DataverseNL endpoints are TLS-only).
$.servers[*].url
warn
ug-operation-tags
Every operation should be tagged so research-information resources stay grouped.
$.paths[*][get,put,post,delete]
warn
ug-uuid-path-params
Pure resource paths identify content items by uuid; uuid path params should be string-typed.
$.paths[*][*].parameters[?(@.name=='uuid')].schema
warn
ug-error-problemdetails
Error responses should reference a structured problem object (Pure ProblemDetails) rather than free text.
$.paths[*][*].responses[?(@property >= '400')].content['application/json'].schema