State Farm Insurance · API Governance Rules
State Farm Insurance API Rules
Spectral linting rules defining API design standards and conventions for State Farm Insurance.
15 Rules
error 9
warn 5
info 1
Rule Categories
state
Rules
error
state-farm-insurance-info-contact-required
All State Farm Insurance APIs must include contact information
$.info
error
state-farm-insurance-operation-summary-title-case
Operation summaries must use Title Case per State Farm Insurance API conventions
$.paths[*][get,post,put,patch,delete].summary
error
state-farm-insurance-operation-id-camel-case
Operation IDs must use camelCase
$.paths[*][get,post,put,patch,delete].operationId
error
state-farm-insurance-operation-tags-required
All operations must have tags
$.paths[*][get,post,put,patch,delete]
warn
state-farm-insurance-operation-description-required
All operations must have a description
$.paths[*][get,post,put,patch,delete]
error
state-farm-insurance-path-versioned
All API paths must start with a version prefix /v1
$.paths
error
state-farm-insurance-path-kebab-case
Path segments must use kebab-case
$.paths
error
state-farm-insurance-oauth2-security
All insurance APIs must use OAuth2 authentication
$.components.securitySchemes[*]
error
state-farm-insurance-security-applied
Global security must be applied at the API level
$
warn
state-farm-insurance-response-201-post
POST operations that create resources must return 201
$.paths[*].post.responses
warn
state-farm-insurance-response-error-codes
Operations must define error response codes
$.paths[*][get,post,put,patch,delete].responses
warn
state-farm-insurance-schema-description
All schema components must have descriptions
$.components.schemas[*]
warn
state-farm-insurance-parameter-required-flag
All parameters must explicitly declare whether they are required
$.paths[*][get,post,put,patch,delete].parameters[*]
info
state-farm-insurance-state-code-pattern
State code fields should validate US state abbreviations
$.components.schemas[*].properties.state
error
state-farm-insurance-request-body-content-type
Request bodies must use application/json content type
$.paths[*][post,put,patch].requestBody.content
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/state-farm-insurance-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.