University of Sheffield · API Governance Rules
University of Sheffield API Rules
Spectral linting rules defining API design standards and conventions for University of Sheffield.
6 Rules
error 1
warn 5
Rule Categories
uos
Rules
error
uos-info-title
API must declare a title.
$.info
warn
uos-info-description
API should provide a description.
$.info
warn
uos-server-figshare
Server URL should target the figshare v2 API base used by ORDA.
$.servers[*]
warn
uos-operation-tags
Every operation should be tagged so research-data endpoints stay grouped.
$.paths[*][get,post,put,delete]
warn
uos-article-id-integer
Article identifiers are integers across the figshare API.
$.components.schemas.Article.properties.id
warn
uos-doi-present
Research output objects should expose a DOI for citation.
$.components.schemas.Article.properties