United Natural Foods (UNFI) · API Governance Rules
United Natural Foods (UNFI) API Rules
Spectral linting rules defining API design standards and conventions for United Natural Foods (UNFI).
15 Rules
error 4
warn 9
info 2
Rule Categories
info
list
operation
parameter
path
product
response
security
servers
unfi
Rules
error
operation-operationId
Every operation must have a unique operationId.
$.paths.*[get,post,put,patch,delete,options,head]
warn
operation-summary-title-case
Operation summaries must use Title Case.
$.paths.*[get,post,put,patch,delete].summary
warn
operation-tags
Every operation must include at least one tag.
$.paths.*[get,post,put,patch,delete]
warn
operation-description
Every operation must have a description.
$.paths.*[get,post,put,patch,delete]
warn
path-kebab-case
Path segments must use kebab-case (lowercase with hyphens).
$.paths[*]~
error
path-no-trailing-slash
Paths must not end with a trailing slash.
$.paths[*]~
warn
response-descriptions
All response status codes must include a description.
$.paths.*[get,post,put,patch,delete].responses.*
error
security-apikey-required
UNFI APIs use X-API-Key authentication. Security must be defined.
$.paths.*[get,post,put,patch,delete]
warn
operation-request-body-required
POST, PUT, and PATCH operations should have a requestBody.
$.paths.*[post,put,patch]
info
list-operation-pagination
GET operations on collections should support page and pageSize parameters.
$.paths.*[?(@parentProperty.match(/^\/(products|orders|insights)$/))]
info
unfi-product-id-format
UNFI product ID examples should follow the UNFI-XXXXXXX format.
$.components.schemas.Product.properties.productId.description
warn
product-upc-format
Product UPC should be exactly 12 numeric digits.
$.components.schemas.Product.properties.upc
warn
info-contact
API info must include contact information.
$.info
error
servers-defined
API must define at least one server.
$
warn
parameter-description
All parameters must have a description.
$.paths.*[get,post,put,patch,delete].parameters.*
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/unfi-supplier-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.