Checkiday - National Holiday and Event API · API Governance Rules
Checkiday - National Holiday and Event API API Rules
Spectral linting rules defining API design standards and conventions for Checkiday - National Holiday and Event API.
10 Rules
error 6
warn 2
info 2
Rule Categories
checkiday
Rules
error
checkiday-operation-id-camelcase
Operation IDs MUST be camelCase.
$.paths[*][*].operationId
warn
checkiday-summary-title-case
Operation summaries MUST be in Title Case.
$.paths[*][*].summary
error
checkiday-tag-required
Every operation MUST have at least one tag.
$.paths[*][*]
error
checkiday-apikey-header-auth-required
The API MUST declare an apiKey header security scheme named `apikey` (apilayer convention).
$.components.securitySchemes
error
checkiday-security-applied
Every operation MUST require the apikey security scheme.
$.paths[*][*]
warn
checkiday-rate-limit-headers
Successful responses SHOULD document `x-ratelimit-limit-month` and `x-ratelimit-remaining-month` headers.
$.paths[*][*].responses.200.headers
info
checkiday-event-id-format
Event IDs SHOULD be 32-character lowercase hexadecimal strings.
$.components.schemas.EventSummary.properties.id
error
checkiday-search-query-min-length
The `query` parameter on /search MUST enforce a minimum length of 3.
$.paths['/search'].get.parameters[?(@.name=='query')].schema
info
checkiday-snake-case-response-fields
Response object property names SHOULD use snake_case (Checkiday convention) — except rateLimit envelope.
$.components.schemas[*].properties[?(@property.match(/^[A-Z]/))]
error
checkiday-base-url-apilayer
The server URL MUST be routed through api.apilayer.com.
$.servers[*].url
Spectral Ruleset
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.
Call it yourself
curl for this page
This ruleset
curl "https://apis.io/api/v1/rules/checkiday-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.