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
View Rules File View on GitHub

Rule Categories

kyoto

Rules

warn
kyoto-info-contact
API info must declare a contact (KURENAI repository administration).
$.info
error
kyoto-server-is-institution-operated
Servers must point at a host under the Kyoto University registrable domain (kyoto-u.ac.jp).
$.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

Spectral Ruleset

Raw ↑
# provenance:
#   generated: 2026-08-19
#   method: derived
#   source: Derived by API Evangelist from the OpenAPI definitions in this repository.
#           Kyoto University publishes no governance ruleset; this is not the institution's own artifact.
#   operator: institution (subject), API Evangelist (author)
x-method: derived
extends: [[spectral:oas, off]]
formats:
  - oas3
documentationUrl: https://repository.kulib.kyoto-u.ac.jp/
rules:
  kyoto-info-contact:
    description: API info must declare a contact (KURENAI repository administration).
    given: $.info
    severity: warn
    then:
      field: contact
      function: truthy
  kyoto-server-is-institution-operated:
    description: Servers must point at a host under the Kyoto University registrable domain (kyoto-u.ac.jp).
    given: $.servers[*].url
    severity: error
    then:
      function: pattern
      functionOptions:
        match: "^https://[a-z0-9.-]+\\.kyoto-u\\.ac\\.jp"
  kyoto-operation-ids:
    description: Every operation should carry an operationId.
    given: $.paths[*][get,post,put,delete,patch]
    severity: warn
    then:
      field: operationId
      function: truthy
  kyoto-hal-links:
    description: HAL response schemas should expose a _links object.
    given: $.components.schemas[?(@property == 'Community' || @property == 'RestRoot')].properties
    severity: info
    then:
      field: _links
      function: truthy
  kyoto-oai-verb-enum:
    description: The OAI-PMH endpoint must enumerate the standard verbs.
    given: $.paths['/server/oai/request'].get.parameters[?(@.name == 'verb')].schema
    severity: warn
    then:
      field: enum
      function: truthy

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.
All 92 tools →

Call it yourself

curl for this page
This ruleset
curl "https://apis.io/api/v1/rules/kyoto-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.