Al-Farabi Kazakh National University · API Governance Rules

Al-Farabi Kazakh National University API Rules

Spectral linting rules defining API design standards and conventions for Al-Farabi Kazakh National University.

6 Rules error 1 warn 3 info 2
View Rules File View on GitHub

Rule Categories

kaznu

Rules

warn
kaznu-info-contact
Open edX API at KazNU should expose a contact email (observed dl@kaznu.kz).
$.info
error
kaznu-https-server
Servers must use HTTPS as observed for open.kaznu.kz.
$.servers[*].url
warn
kaznu-operation-id
Every operation should carry an operationId (the Open edX spec provides them).
$.paths[*][get,post,put,patch,delete]
warn
kaznu-operation-tags
Operations should be tagged by Open edX subsystem (courses, enrollment, grades, etc.).
$.paths[*][get,post,put,patch,delete]
info
kaznu-basic-auth-scheme
A Basic auth security scheme is expected as observed in the source spec.
$.components.securitySchemes
info
kaznu-course-id-string
course_id properties are opaque string identifiers (e.g. course-v1:Org+Course+Run).
$.components.schemas[*].properties.course_id

Spectral Ruleset

Raw ↑
extends: []
formats:
  - oas3
rules:
  kaznu-info-contact:
    description: Open edX API at KazNU should expose a contact email (observed dl@kaznu.kz).
    given: $.info
    severity: warn
    then:
      field: contact
      function: truthy
  kaznu-https-server:
    description: Servers must use HTTPS as observed for open.kaznu.kz.
    given: $.servers[*].url
    severity: error
    then:
      function: pattern
      functionOptions:
        match: "^https"
  kaznu-operation-id:
    description: Every operation should carry an operationId (the Open edX spec provides them).
    given: $.paths[*][get,post,put,patch,delete]
    severity: warn
    then:
      field: operationId
      function: truthy
  kaznu-operation-tags:
    description: Operations should be tagged by Open edX subsystem (courses, enrollment, grades, etc.).
    given: $.paths[*][get,post,put,patch,delete]
    severity: warn
    then:
      field: tags
      function: truthy
  kaznu-basic-auth-scheme:
    description: A Basic auth security scheme is expected as observed in the source spec.
    given: $.components.securitySchemes
    severity: info
    then:
      function: truthy
  kaznu-course-id-string:
    description: course_id properties are opaque string identifiers (e.g. course-v1:Org+Course+Run).
    given: $.components.schemas[*].properties.course_id
    severity: info
    then:
      field: type
      function: pattern
      functionOptions:
        match: "string"

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/al-farabi-kazakh-national-university-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.