Kyoto University · API Governance Rules
Kyoto University API Rules
Spectral linting rules defining API design standards and conventions for Kyoto University.
5 Rules
error 1
warn 3
info 1
Rule Categories
kyoto
Rules
warn
kyoto-info-contact
API info must declare a contact (KURENAI repository administration).
$.info
error
kyoto-server-is-kurenai
Servers must point at the KURENAI repository host.
$.servers[*].url
warn
kyoto-operation-ids
Every operation should carry an operationId.
$.paths[*][get,post,put,delete,patch]
info
kyoto-hal-links
HAL response schemas should expose a _links object.
$.components.schemas[?(@property == 'Community' || @property == 'RestRoot')].properties
warn
kyoto-oai-verb-enum
The OAI-PMH endpoint must enumerate the standard verbs.
$.paths['/server/oai/request'].get.parameters[?(@.name == 'verb')].schema