Siemens · API Governance Rules
Siemens API Rules
Spectral linting rules defining API design standards and conventions for Siemens.
8 Rules
error 3
warn 5
Rule Categories
siemens
Rules
error
siemens-bearer-auth-required
Siemens Building X APIs must use Bearer token authentication
$.components.securitySchemes[*]
warn
siemens-odata-pagination
List endpoints should support OData skip/top pagination
$.paths[*].get.parameters[?(@.in == 'query')]
error
siemens-operation-summary-required
All operations must have a summary
$.paths[*][*]
warn
siemens-equipment-type-enum
Equipment type fields should use enumeration
$.components.schemas[*].properties.type
warn
siemens-status-enum
Status fields must define enumerated values
$.components.schemas[*].properties.status
warn
siemens-list-response-value-array
List responses should use OData value array wrapper
$.components.schemas[?(@.properties.value)]
warn
siemens-timestamp-format
Timestamp fields must use ISO 8601 date-time format
$.components.schemas[*].properties[?(@.description =~ /timestamp|time|date/i)]
error
siemens-operation-id-required
All operations must have an operationId
$.paths[*][get,post,put,delete,patch]
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/siemens-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.