University of Basel · API Governance Rules
University of Basel API Rules
Spectral linting rules defining API design standards and conventions for University of Basel.
7 Rules
error 2
warn 3
info 2
Rule Categories
basel
Rules
warn
basel-info-contact
API info should declare a contact (DSP-API declares DaSCH as contact).
$.info
error
basel-info-version-present
API info must declare a version (DSP-API uses a vNN.NN.NN scheme).
$.info
error
basel-server-https
All servers must use HTTPS (DSP-API is served over TLS only).
$.servers[*].url
warn
basel-operation-tags
Every operation should be tagged (DSP-API groups by Admin/Management/API v2/API v3/Ontology Mappings).
$.paths[*][get,put,post,delete,patch]
warn
basel-operation-description
Operations should carry a human description (DSP-API documents each endpoint).
$.paths[*][get,put,post,delete,patch]
info
basel-known-tags
Tags should come from the DSP-API tag vocabulary.
$.paths[*][get,put,post,delete,patch].tags[*]
info
basel-error-response
Operations should document at least one non-2xx response (DSP-API returns typed error bodies).
$.paths[*][get,put,post,delete,patch].responses
Spectral Ruleset
Work with this as data
Every ruleset here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for spectral rules
4 MCP tools reach this
find_rulesBrowse and filter every ruleset in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This ruleset
curl "https://apis.io/api/v1/rules/university-of-basel-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.