Vineyard · API Governance Rules
Vineyard API Rules
Spectral linting rules defining API design standards and conventions for Vineyard.
8 Rules
error 3
warn 5
Rule Categories
vineyard
Rules
warn
vineyard-operation-ids-kebab-case
Operation IDs should use camelCase consistent with vineyard Python SDK naming
$.paths[*][*].operationId
error
vineyard-tags-required
All operations must have at least one tag for grouping
$.paths[*][*]
warn
vineyard-path-kebab-case
All path segments should use kebab-case
$.paths
error
vineyard-description-required
All operations must have a description
$.paths[*][*]
warn
vineyard-response-200-or-201
Successful operations should return 200 or 201
$.paths[*][post,put,patch]
warn
vineyard-object-id-string
ObjectIDs in vineyard are 64-bit unsigned integers represented as strings for JSON compatibility
$.paths[*][*].parameters[?(@.name == 'objectId')]
error
vineyard-server-defined
At least one server must be defined in the spec
$
warn
vineyard-info-contact
The info object should include contact information
$.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/vineyard-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.