University of Bonn · API Governance Rules
University of Bonn API Rules
Spectral linting rules defining API design standards and conventions for University of Bonn.
6 Rules
error 1
warn 4
info 1
Authorship not recorded
No authorship marker is recorded for this file. It is not presented as the provider's; it was most likely written by an API Evangelist pass before outputs were stamped.
Rule Categories
bonndata
Rules
warn
bonndata-info-title
API title should reference bonndata / Dataverse.
$.info.title
error
bonndata-server-base
Servers should point at the bonndata Native API base under /api.
$.servers[*].url
warn
bonndata-response-envelope
JSON responses follow the Dataverse envelope with a top-level "status" property (OK/ERROR).
$.components.schemas.ApiEnvelope.properties
warn
bonndata-search-paginated
The /search operation must expose per_page and start pagination params.
$.paths['/search'].get.parameters[*].name
warn
bonndata-operation-id
Every operation should carry an operationId (matches upstream Dataverse).
$.paths[*][get,post,put,delete]
info
bonndata-persistent-id
Datasets are addressable by DOI persistent identifier; the dataset retrieval operation should document the persistentId query parameter.
$.paths['/datasets/{id}'].get.parameters[*].name
Spectral Ruleset
Work with this as data
Every ruleset here is available over the APIs.io API and to AI agents over MCP.