Carnegie Mellon University · API Governance Rules

Carnegie Mellon University API Rules

Spectral linting rules defining API design standards and conventions for Carnegie Mellon University.

6 Rules error 4 warn 1 info 1
View Rules File View on GitHub

Rule Categories

cmu

Rules

error
cmu-schema-id
Every schema declares a resolvable $id.
$
error
cmu-schema-dialect
Every schema declares its dialect via $schema.
$
error
cmu-schema-title
Every schema carries a title.
$
warn
cmu-schema-description
Every schema carries a description explaining what it models.
$
error
cmu-schema-provenance
Every schema carries x-provenance naming its method and operator, because none of these were published by CMU.
$
info
cmu-schema-property-descriptions
Top-level properties should be described, not just typed.
$.properties[*]

Spectral Ruleset

Raw ↑
---
# authorship: API Evangelist tooling. Not published by Carnegie Mellon University.
x-generated: '2026-08-19'
x-method: derived
x-source: >-
  json-schema/carnegie-mellon-university-delphi-epidata-envelope.json,
  json-schema/carnegie-mellon-university-cert-vulnerability-note.json
# Spectral ruleset for the JSON Schema documents derived from CMU-operated surfaces.
extends: []
rules:
  cmu-schema-id:
    description: Every schema declares a resolvable $id.
    severity: error
    given: $
    then:
      field: $id
      function: truthy
  cmu-schema-dialect:
    description: Every schema declares its dialect via $schema.
    severity: error
    given: $
    then:
      field: $schema
      function: truthy
  cmu-schema-title:
    description: Every schema carries a title.
    severity: error
    given: $
    then:
      field: title
      function: truthy
  cmu-schema-description:
    description: Every schema carries a description explaining what it models.
    severity: warn
    given: $
    then:
      field: description
      function: truthy
  cmu-schema-provenance:
    description: >-
      Every schema carries x-provenance naming its method and operator, because none of these
      were published by CMU.
    severity: error
    given: $
    then:
      field: x-provenance
      function: truthy
  cmu-schema-property-descriptions:
    description: Top-level properties should be described, not just typed.
    severity: info
    given: $.properties[*]
    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/carnegie-mellon-university-jsonschema-spectral-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.