Banuba · API Governance Rules

Banuba API Rules

Spectral linting rules defining API design standards and conventions for Banuba.

7 Rules error 6 warn 1
View Rules File View on GitHub

Rule Categories

banuba

Rules

error
banuba-face-ar-sdk-has-documentation
Banuba Face AR SDK APIs must have documentation.
$.apis[*]
error
banuba-api-has-description
All Banuba API entries must have a description.
$.apis[*]
error
banuba-api-has-name
All Banuba API entries must have a name.
$.apis[*]
error
banuba-api-has-human-url
All Banuba API entries must have a humanURL.
$.apis[*]
warn
banuba-api-has-tags
All Banuba API entries must have tags.
$.apis[*]
error
banuba-apis-json-has-name
Banuba APIs.json must have a name.
$
error
banuba-apis-json-has-description
Banuba APIs.json must have a description.
$

Spectral Ruleset

banuba-spectral-rules.yml Raw ↑
rules:
  banuba-face-ar-sdk-has-documentation:
    description: Banuba Face AR SDK APIs must have documentation.
    message: "{{description}}"
    severity: error
    given: "$.apis[*]"
    then:
      field: properties
      function: schema
      functionOptions:
        schema:
          type: array
          contains:
            type: object
            properties:
              type:
                const: Documentation
            required:
              - type

  banuba-api-has-description:
    description: All Banuba API entries must have a description.
    message: "{{description}}"
    severity: error
    given: "$.apis[*]"
    then:
      field: description
      function: truthy

  banuba-api-has-name:
    description: All Banuba API entries must have a name.
    message: "{{description}}"
    severity: error
    given: "$.apis[*]"
    then:
      field: name
      function: truthy

  banuba-api-has-human-url:
    description: All Banuba API entries must have a humanURL.
    message: "{{description}}"
    severity: error
    given: "$.apis[*]"
    then:
      field: humanURL
      function: truthy

  banuba-api-has-tags:
    description: All Banuba API entries must have tags.
    message: "{{description}}"
    severity: warn
    given: "$.apis[*]"
    then:
      field: tags
      function: truthy

  banuba-apis-json-has-name:
    description: Banuba APIs.json must have a name.
    message: "{{description}}"
    severity: error
    given: "$"
    then:
      field: name
      function: truthy

  banuba-apis-json-has-description:
    description: Banuba APIs.json must have a description.
    message: "{{description}}"
    severity: error
    given: "$"
    then:
      field: description
      function: truthy

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/banuba-spectral-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 form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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