SimpleLegal · API Governance Rules
SimpleLegal API Rules
Spectral linting rules defining API design standards and conventions for SimpleLegal.
8 Rules
warn 5
info 3
Rule Categories
simplelegal
Rules
warn
simplelegal-summary-title-case
Operation summaries must use Title Case.
$.paths[*][*].summary
warn
simplelegal-operationid-kebab-case
OperationIds must use kebab-case naming.
$.paths[*][*].operationId
info
simplelegal-pagination-params
Collection GET endpoints should support page and page_size parameters.
$.paths[?(!@property.match(/{.*}/))].get.parameters[*].name
warn
simplelegal-basic-auth
API must use HTTP Basic authentication.
$.components.securitySchemes[*].scheme
info
simplelegal-patch-update
Update operations should prefer PATCH over PUT.
$.paths[*].put.operationId
warn
simplelegal-json-responses
All responses should return application/json.
$.paths[*][*].responses[?(@property >= '200')].content
info
simplelegal-error-responses
Operations should document authentication and not-found error responses.
$.paths[*][*].responses
warn
simplelegal-descriptions-required
All paths and operations must have descriptions.
$.paths[*][*]$.info
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/simplelegal-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.