Art Institute of Chicago · API Governance Rules

Art Institute of Chicago API Rules

Spectral linting rules defining API design standards and conventions for Art Institute of Chicago.

11 Rules error 7 warn 4
View Rules File View on GitHub

Rule Categories

artic

Rules

error
artic-operation-id-required
Every operation MUST have an operationId.
$.paths[*][get,post,put,delete,patch]
error
artic-operation-id-camel-case
operationId values MUST be camelCase.
$.paths[*][get,post,put,delete,patch].operationId
warn
artic-summary-title-case
Operation summary MUST be Title Case.
$.paths[*][get,post,put,delete,patch].summary
error
artic-tag-required
Every operation MUST have at least one tag.
$.paths[*][get,post,put,delete,patch]
warn
artic-tag-title-case
Tag names MUST be Title Case.
$.tags[*].name
warn
artic-list-pagination-params
List endpoints (root collection paths, not /search or /{id}) MUST declare limit and page parameters.
$.paths['/artworks','/agents','/places','/galleries','/exhibitions','/products','/tours','/mobile-sounds','/publications','/digital-publications','/printed-publications','/sections','/sites','/educator-resources','/articles','/events'].get.parameters[*].$ref
error
artic-response-envelope
200 responses MUST be JSON.
$.paths[*][get,post,put,delete,patch].responses['200'].content
warn
artic-error-default
Operations MUST declare a default error response.
$.paths[*][get,post,put,delete,patch].responses
error
artic-info-license
info.license MUST be present (CC0/CC-BY).
$.info
error
artic-info-contact
info.contact MUST be present.
$.info
error
artic-server-https
All servers MUST use HTTPS.
$.servers[*].url

Spectral Ruleset

Raw ↑
extends:
- - spectral:oas
  - recommended
rules:
  artic-operation-id-required:
    description: Every operation MUST have an operationId.
    given: $.paths[*][get,post,put,delete,patch]
    severity: error
    then:
      field: operationId
      function: truthy
  artic-operation-id-camel-case:
    description: operationId values MUST be camelCase.
    given: $.paths[*][get,post,put,delete,patch].operationId
    severity: error
    then:
      function: pattern
      functionOptions:
        match: ^[a-z][a-zA-Z0-9]*$
  artic-summary-title-case:
    description: Operation summary MUST be Title Case.
    given: $.paths[*][get,post,put,delete,patch].summary
    severity: warn
    then:
      function: pattern
      functionOptions:
        match: ^[A-Z][A-Za-z0-9]*( ([A-Za-z0-9]+))*$
  artic-tag-required:
    description: Every operation MUST have at least one tag.
    given: $.paths[*][get,post,put,delete,patch]
    severity: error
    then:
      field: tags
      function: truthy
  artic-tag-title-case:
    description: Tag names MUST be Title Case.
    given: $.tags[*].name
    severity: warn
    then:
      function: pattern
      functionOptions:
        match: ^[A-Z][A-Za-z]*( [A-Z][A-Za-z]*)*$
  artic-list-pagination-params:
    description: List endpoints (root collection paths, not /search or /{id}) MUST
      declare limit and page parameters.
    given: $.paths['/artworks','/agents','/places','/galleries','/exhibitions','/products','/tours','/mobile-sounds','/publications','/digital-publications','/printed-publications','/sections','/sites','/educator-resources','/articles','/events'].get.parameters[*].$ref
    severity: warn
    then:
      function: truthy
  artic-response-envelope:
    description: 200 responses MUST be JSON.
    given: $.paths[*][get,post,put,delete,patch].responses['200'].content
    severity: error
    then:
      field: application/json
      function: truthy
  artic-error-default:
    description: Operations MUST declare a default error response.
    given: $.paths[*][get,post,put,delete,patch].responses
    severity: warn
    then:
      field: default
      function: truthy
  artic-info-license:
    description: info.license MUST be present (CC0/CC-BY).
    given: $.info
    severity: error
    then:
      field: license
      function: truthy
  artic-info-contact:
    description: info.contact MUST be present.
    given: $.info
    severity: error
    then:
      field: contact
      function: truthy
  artic-server-https:
    description: All servers MUST use HTTPS.
    given: $.servers[*].url
    severity: error
    then:
      function: pattern
      functionOptions:
        match: ^https://

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/art-institute-of-chicago-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.