University of Sheffield · API Governance Rules
University of Sheffield API Rules
Spectral linting rules defining API design standards and conventions for University of Sheffield.
10 Rules
error 3
warn 7
Rule Categories
uos
Rules
error
uos-info-title
API must declare a title.
$.info
warn
uos-info-description
API should describe itself. The institution's published document does not — the description in this repo's refined copy was added by API Evangelist from the provider's own public docs and is marked as such.
$.info
warn
uos-info-contact
API should name a contact. Absent from the published source document.
$.info
error
uos-servers-declared
A contract must say where it is callable. The published source document ships no servers block; the host was recovered by probe.
$
warn
uos-version-not-placeholder
info.version must not be the framework default 0.1.0 — the observed value. Path-level versions (v4, v5) carry the real version signal instead.
$.info.version
warn
uos-operation-tagged
Every operation should carry a tag. Observed 43 paths, of which the /user/* HTML form routes are untagged.
$.paths[*][get,post,put,patch,delete]
error
uos-operation-id
Every operation should carry an operationId. Satisfied throughout.
$.paths[*][get,post,put,patch,delete]
warn
uos-operation-summary
Every operation should carry a summary. Satisfied throughout.
$.paths[*][get,post,put,patch,delete]
warn
uos-path-lowercase
Path segments are lower_snake_case throughout this API.
$.paths[*]~
warn
uos-security-schemes-declared
Declared security schemes must exist. Note that the runtime X-User-Id header enforced on PV_Forecast is NOT among them — see authentication/.
$.components
Spectral Ruleset
Work with this as data
Every ruleset here is available over the APIs.io API and to AI agents over MCP.