patch_api_v1_tenantRequest

FinanceTaxIntegrationBrazil

Properties

Name Type Description
cnpj string
razao_social string
inscricao_estadual stringnull
crt integer
endereco object
nfe_serie_padrao integer
nfe_ambiente integer
cnae_principal stringnull
View JSON Schema on GitHub

JSON Schema

foxnfe-com-br-patch-api-v1-tenant-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/foxnfe-com-br/json-schema/foxnfe-com-br-patch-api-v1-tenant-request-schema.json",
  "title": "patch_api_v1_tenantRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": [
    "app/app/Http/Controllers/Api/V1/TenantController.php:27"
  ],
  "type": "object",
  "properties": {
    "cnpj": {
      "x-laravel-rules": [
        "sometimes",
        "string",
        "max:18"
      ],
      "type": "string",
      "maxLength": 18
    },
    "razao_social": {
      "x-laravel-rules": [
        "sometimes",
        "string",
        "max:255"
      ],
      "type": "string",
      "maxLength": 255
    },
    "inscricao_estadual": {
      "x-laravel-rules": [
        "sometimes",
        "nullable",
        "string",
        "max:60"
      ],
      "type": [
        "string",
        "null"
      ],
      "maxLength": 60
    },
    "crt": {
      "x-laravel-rules": [
        "sometimes",
        "integer",
        "in:1,2,3,4"
      ],
      "type": "integer",
      "enum": [
        1,
        2,
        3,
        4
      ]
    },
    "endereco": {
      "x-laravel-rules": [
        "sometimes",
        "array"
      ],
      "type": "object",
      "properties": {
        "logradouro": {
          "x-laravel-rules": [
            "sometimes",
            "string",
            "max:255"
          ],
          "type": "string",
          "maxLength": 255
        },
        "numero": {
          "x-laravel-rules": [
            "sometimes",
            "string",
            "max:60"
          ],
          "type": "string",
          "maxLength": 60
        },
        "bairro": {
          "x-laravel-rules": [
            "sometimes",
            "string",
            "max:255"
          ],
          "type": "string",
          "maxLength": 255
        },
        "municipio": {
          "x-laravel-rules": [
            "sometimes",
            "string",
            "max:255"
          ],
          "type": "string",
          "maxLength": 255
        },
        "uf": {
          "x-laravel-rules": [
            "sometimes",
            "string",
            "size:2"
          ],
          "type": "string",
          "minLength": 2,
          "maxLength": 2
        },
        "cep": {
          "x-laravel-rules": [
            "sometimes",
            "string",
            "max:9"
          ],
          "type": "string",
          "maxLength": 9
        }
      }
    },
    "nfe_serie_padrao": {
      "x-laravel-rules": [
        "sometimes",
        "integer",
        "min:1",
        "max:999"
      ],
      "type": "integer",
      "minimum": 1,
      "maximum": 999
    },
    "nfe_ambiente": {
      "x-laravel-rules": [
        "sometimes",
        "integer",
        "in:1,2"
      ],
      "type": "integer",
      "enum": [
        1,
        2
      ]
    },
    "cnae_principal": {
      "x-laravel-rules": [
        "sometimes",
        "nullable",
        "string",
        "max:20"
      ],
      "type": [
        "string",
        "null"
      ],
      "maxLength": 20
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/foxnfe-com-br-patch-api-v1-tenant-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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.