Roivant Sciences · API Governance Rules
Roivant Sciences API Rules
Spectral linting rules defining API design standards and conventions for Roivant Sciences.
8 Rules
error 4
warn 4
Rule Categories
client
oauth
operation
patient
servers
summary
tag
Rules
error
summary-required
Every operation must have a summary.
$.paths[*][get,post,put,patch,delete]
warn
summary-title-case
Operation summaries must use Title Case.
$.paths[*][get,post,put,patch,delete].summary
error
operation-id-camel-case
operationId must be camelCase (Datavant convention).
$.paths[*][get,post,put,patch,delete].operationId
warn
patient-id-snake-case
Patient identifiers must use snake_case (patient_id, external_patient_id).
$.paths[?(@property.match(/patient/i))]
warn
client-id-required-on-list
List endpoints should accept a client_id query parameter scoping to a connected practice.
$.paths[?(@property.match(/^\/(patients|encounters|vitals|allergies|immunizations|medications|diagnoses|procedures|labs|documents|appointments|providers)$/))].get.parameters[*].name
error
oauth-required
Every operation should be protected by OAuth2 clientCredentials flow.
$.security
error
servers-versioned
Server URLs must include an explicit /v{n} path segment.
$.servers[*].url
warn
tag-title-case
Tags must use Title Case.
$.tags[*].name
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/datavant-healthjump-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.