Dartmouth College · API Governance Rules
Dartmouth College API Rules
Spectral linting rules defining API design standards and conventions for Dartmouth College.
6 Rules
error 2
warn 3
info 1
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
warn
dartmouth-has-servers
A server URL should be declared so the API is callable.
$
warn
dartmouth-paths-search-prefix
ArcGIS Hub Search paths used by the Dartmouth Open Data portal are versioned under /api/search/v1.
$.paths[*]~
warn
dartmouth-operation-200
Read operations should document a 200 response.
$.paths[*].get.responses
info
dartmouth-feature-collection-type
Item collection responses follow the GeoJSON FeatureCollection shape.
$.components.schemas.OgcItemResponseDto.properties.type.enum