Zoho People · API Governance Rules

Zoho People API Rules

Spectral linting rules defining API design standards and conventions for Zoho People.

6 Rules error 3 warn 3
View Rules File View on GitHub

Rule Categories

zoho

Rules

warn
zoho-people-title-case-summary
Operation summary must use Title Case
$.paths..[get,post,put,patch,delete].summary
error
zoho-people-operation-id-camel-case
operationId must be lowerCamelCase
$.paths..[get,post,put,patch,delete].operationId
error
zoho-people-oauth-required
Every operation must require the ZohoOAuth2 security scheme
$.paths..[get,post,put,patch,delete]
error
zoho-people-tags-required
Every operation must be tagged with at least one Zoho People domain tag
$.paths..[get,post,put,patch,delete]
warn
zoho-people-data-center-servers
Spec must enumerate Zoho People servers for each documented data center
$.servers
warn
zoho-people-oauth-scope-format
Defined OAuth scopes must follow `ZohoPeople..` format
$.components.securitySchemes.ZohoOAuth2.flows.authorizationCode.scopes

Spectral Ruleset

Raw ↑
extends:
  - spectral:oas
formats:
  - oas3
rules:
  zoho-people-title-case-summary:
    description: Operation summary must use Title Case
    severity: warn
    given: $.paths..[get,post,put,patch,delete].summary
    then:
      function: pattern
      functionOptions:
        match: '^([A-Z][a-zA-Z0-9]*)(\s+(For|And|Or|To|In|On|Of|A|An|The|At|By|With|From)\s+|\s+[A-Z][a-zA-Z0-9]*)*$'

  zoho-people-operation-id-camel-case:
    description: operationId must be lowerCamelCase
    severity: error
    given: $.paths..[get,post,put,patch,delete].operationId
    then:
      function: pattern
      functionOptions:
        match: '^[a-z][a-zA-Z0-9]+$'

  zoho-people-oauth-required:
    description: Every operation must require the ZohoOAuth2 security scheme
    severity: error
    given: $.paths..[get,post,put,patch,delete]
    then:
      field: security
      function: truthy

  zoho-people-tags-required:
    description: Every operation must be tagged with at least one Zoho People domain tag
    severity: error
    given: $.paths..[get,post,put,patch,delete]
    then:
      field: tags
      function: truthy

  zoho-people-data-center-servers:
    description: Spec must enumerate Zoho People servers for each documented data center
    severity: warn
    given: $.servers
    then:
      function: schema
      functionOptions:
        schema:
          type: array
          minItems: 6

  zoho-people-oauth-scope-format:
    description: Defined OAuth scopes must follow `ZohoPeople.<scope>.<operation>` format
    severity: warn
    given: $.components.securitySchemes.ZohoOAuth2.flows.authorizationCode.scopes
    then:
      function: schema
      functionOptions:
        schema:
          type: object
          patternProperties:
            '^ZohoPeople\.(employee|forms|dashboard|automation|timetracker|attendance|leave)\.(ALL|READ|CREATE|UPDATE|DELETE)$':
              type: string
          additionalProperties: false

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.
All 92 tools

Call it yourself

curl for this page
This ruleset
curl "https://apis.io/api/v1/rules/zoho-people-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.