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
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