CDK Global · API Governance Rules
CDK Global API Rules
Spectral linting rules defining API design standards and conventions for CDK Global.
CDK Global API Rules is a Spectral governance ruleset published by CDK Global on the APIs.io network, containing 10 lint rules.
The ruleset includes 2 error-severity rules, 5 warning-severity rules, and 3 hint-severity rules.
Tagged areas include Automotive, Dealer Management, DMS, Auto Retail, and F&I.
Rulesets can be applied to your own OpenAPI specs via Spectral to enforce the same governance standards.
10 Rules
error 2
warn 5
Rule Categories
fortellis
Rules
warn
fortellis-host-required
Fortellis APIs declare api.fortellis.io as host (or fortellis.io for legacy specs).
$.host
error
fortellis-basepath-versioned
Fortellis basePath must include a /v{N} version segment (e.g., /service/sessions/v4/).
$.basePath
warn
fortellis-operation-id-camel-case
Fortellis operationIds use camelCase (e.g., queryAppointments, getProductInfo).
$.paths[*][get,post,put,patch,delete].operationId
error
fortellis-operation-id-required
All Fortellis operations must declare an operationId.
$.paths[*][get,post,put,patch,delete]
warn
fortellis-oauth-required
Fortellis APIs must define an OAuth2 securityDefinition pointing at identity.fortellis.io.
$.securityDefinitions[?(@.type=='oauth2')].authorizationUrl
hint
fortellis-event-channel-path
Event Relay webhook endpoints must follow /event/{channel} path pattern.
$.paths[?(@property.startsWith('/event'))]~
warn
fortellis-required-event-headers
Event-receiving operations must accept Fortellis-Event-Id, X-Request-Id, Data-Owner-Id headers.
$.paths[?(@property.startsWith('/event'))][post]
hint
fortellis-tags-titlecase
Tags should use Title Case for marketplace and docs consistency.
$.tags[*].name
hint
fortellis-contact-fortellis-email
Specifications should list a Fortellis-domain support contact email.
$.info.contact.email
warn
fortellis-description-required
Every operation must have a description (for marketplace listings + AI consumption).
$.paths[*][get,post,put,patch,delete]