Rainbow.AI · API Governance Rules
Rainbow.AI API Rules
Spectral linting rules defining API design standards and conventions for Rainbow.AI.
8 Rules
error 2
warn 5
Rule Categories
rainbow
Rules
error
rainbow-ai-api-key-auth
Rainbow.AI APIs must use Ocp-Apim-Subscription-Key header or token query parameter for authentication
$.components.securitySchemes[*]
warn
rainbow-ai-coordinate-params
Geolocation endpoints must include lat and lon query parameters
$.paths[*].get.parameters[*]
warn
rainbow-ai-tile-path-format
Map tile paths must follow XYZ tiling scheme {z}/{x}/{y}
$.paths
warn
rainbow-ai-response-updated-at
Weather data responses should include an updated_at timestamp
$.components.schemas[*].properties
warn
rainbow-ai-weather-tags
All operations must have appropriate weather-domain tags
$.paths[*][*].tags
error
rainbow-ai-operation-ids
All operations must have unique operationId in camelCase
$.paths[*][*]
warn
rainbow-ai-rate-limit-response
All endpoints must document a 429 Too Many Requests response
$.paths[*].get.responses
hint
rainbow-ai-pagination-not-required
Rainbow.AI weather endpoints return bounded data sets and do not require pagination
$.paths[*]