TrustRadius · API Governance Rules
TrustRadius API Rules
Spectral linting rules defining API design standards and conventions for TrustRadius.
5 Rules
warn 3
info 2
Rule Categories
no
property
schema
Rules
warn
schema-declares-$schema
Every JSON Schema document should declare its $schema (draft).
$
warn
schema-draft-consistency
$schema should reference the 2020-12 draft (this API's convention).
$.$schema
info
schema-has-title
JSON Schema documents should declare a title.
$
info
property-name-casing
Schema properties should be camelCase (97% of the 172 properties in this API's schemas). Known provider exceptions: account_id, activity_count, human_readable, web_url, and the leading-underscore _id on the /product-ids response.
$..properties
warn
no-empty-descriptions
Descriptions must not be empty strings.
$..description
Spectral Ruleset
Work with this as data
Every ruleset here is available over the APIs.io API and to AI agents over MCP.