SimpleLocalize · API Governance Rules
SimpleLocalize API Rules
Spectral linting rules defining API design standards and conventions for SimpleLocalize.
8 Rules
error 4
warn 4
Rule Categories
simplelocalize
Rules
error
simplelocalize-api-key-header
All translation management endpoints must require the X-SimpleLocalize-Token API key header
$.paths[?(!@path.match(/\/api\/v2\/projects/))].*.security
error
simplelocalize-versioned-paths
All paths must be versioned with /api/v1/ or /api/v2/ prefix
$.paths[*]~
warn
simplelocalize-response-envelope
All success responses must use SimpleLocalize envelope with status, message, and data fields
$.paths.*.*.responses.200.content.application/json.schema
error
simplelocalize-operation-ids
All operations must have camelCase operationId values
$.paths.*.*.operationId
warn
simplelocalize-tag-usage
All operations must have at least one tag
$.paths.*.*
warn
simplelocalize-customer-key-length
Customer key schema must enforce max length of 40 characters
$.components.schemas.Customer.properties.key
warn
simplelocalize-language-key-length
Language key schema must enforce max length of 20 characters
$.components.schemas.Language.properties.key
error
simplelocalize-security-schemes
Security schemes must define both ApiKeyAuth and BearerAuth
$.components.securitySchemes
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/simplelocalize-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.