Trustwell · API Governance Rules
Trustwell API Rules
Spectral linting rules defining API design standards and conventions for Trustwell.
10 Rules
error 1
warn 6
info 3
Rule Categories
trustwell
Rules
warn
trustwell-operation-ids-camel-case
Trustwell operation IDs must use camelCase format.
$.paths.*[get,post,put,patch,delete]
warn
trustwell-versioned-paths
Trustwell API paths should be versioned with /v1/ prefix.
$.paths
error
trustwell-api-key-security
All Trustwell API endpoints must require X-API-KEY authentication.
$.paths.*[get,post,put,patch,delete]
info
trustwell-domain-prefix-paths
Trustwell FoodLogiQ paths must use domain-specific prefixes for clarity.
$.paths
warn
trustwell-operations-tagged
All Trustwell operations must have tags.
$.paths.*[get,post,put,patch,delete]
warn
trustwell-response-200-json
GET operations must include a 200 response with JSON content.
$.paths.*[get].responses.200
info
trustwell-post-201-response
POST creation operations should return 201 status.
$.paths.*[post]
warn
trustwell-date-time-format
Date/time fields must use date-time format.
$.components.schemas.*.properties[createdAt,updatedAt,resolvedAt]
warn
trustwell-id-string-type
Identifier fields (id, supplierId, etc.) must be string type.
$.components.schemas.*.properties[id,supplierId,productId,incidentId,recallId]
info
trustwell-pagination-params
Collection endpoints should support page and perPage pagination.
$.paths.*[get]
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/trustwell-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.