Dartmouth College · API Governance Rules

Dartmouth College API Rules

Spectral linting rules defining API design standards and conventions for Dartmouth College.

7 Rules error 5 warn 2
View Rules File View on GitHub

Rule Categories

dartmouth

Rules

error
dartmouth-info-title
API must declare an info.title.
$.info
error
dartmouth-info-version
API must declare an info.version.
$.info
error
dartmouth-has-servers
A server URL must be declared so the API is callable.
$
error
dartmouth-operator-declared
Every Dartmouth OpenAPI must declare x-operator so a vendor contract can never be re-attributed to the institution. This repo held seven ArcGIS Hub specs under Dartmouth's name until 2026-08-30 for want of exactly this.
$
error
dartmouth-method-declared
Every Dartmouth OpenAPI must declare how it came to be held (x-method).
$
warn
dartmouth-operation-id
Every operation should carry an operationId.
$.paths[*][get,put,post,delete,patch]
warn
dartmouth-operation-described
Every operation should carry a description.
$.paths[*][get,put,post,delete,patch]

Spectral Ruleset

Raw ↑
# authorship: generated by API Evangelist tooling on 2026-08-30 against
# Dartmouth's ONE institution-operated OpenAPI in this repo.
x-method: generated
x-source: openapi/dartmouth-class-search-api-openapi.yml
x-operator: institution
formats:
  - oas3
rules:
  dartmouth-info-title:
    description: API must declare an info.title.
    severity: error
    given: $.info
    then:
      field: title
      function: truthy
  dartmouth-info-version:
    description: API must declare an info.version.
    severity: error
    given: $.info
    then:
      field: version
      function: truthy
  dartmouth-has-servers:
    description: A server URL must be declared so the API is callable.
    severity: error
    given: $
    then:
      field: servers
      function: truthy
  dartmouth-operator-declared:
    description: >-
      Every Dartmouth OpenAPI must declare x-operator so a vendor contract can never be
      re-attributed to the institution. This repo held seven ArcGIS Hub specs under
      Dartmouth's name until 2026-08-30 for want of exactly this.
    severity: error
    given: $
    then:
      field: x-operator
      function: truthy
  dartmouth-method-declared:
    description: Every Dartmouth OpenAPI must declare how it came to be held (x-method).
    severity: error
    given: $
    then:
      field: x-method
      function: truthy
  dartmouth-operation-id:
    description: Every operation should carry an operationId.
    severity: warn
    given: $.paths[*][get,put,post,delete,patch]
    then:
      field: operationId
      function: truthy
  dartmouth-operation-described:
    description: Every operation should carry a description.
    severity: warn
    given: $.paths[*][get,put,post,delete,patch]
    then:
      field: description
      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/dartmouth-class-search-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.