{
  "version": 1,
  "title": "Brazil CNPJ establishments",
  "description": "An establishment, not necessarily the entire corporate group.",
  "publisher": "Receita Federal, Brazil",
  "homepage": "https://dados.gov.br/dados/conjuntos-dados/cadastro-nacional-da-pessoa-juridica---cnpj",
  "coverage": "Published CNPJ legal-entity establishments.",
  "record": "An establishment, not necessarily the entire corporate group.",
  "identifier": "Lookup by cnpj as a string, preserving leading zeros. Accepted syntax and normalization are defined by the contract below.",
  "license": {
    "status": "not_verified",
    "name": "No source-specific reuse license verified in this contract."
  },
  "limitations": [
    "Municipality values are Receita codes; resolve against the correct codebook before presenting names."
  ],
  "fields": {
    "razao_social": {
      "description": "Registered legal name.",
      "meaning": "text"
    },
    "situacao": {
      "description": "Receita establishment status: ATIVA, BAIXADA, INAPTA, SUSPENSA or NULA.",
      "meaning": "text"
    },
    "nome_fantasia": {
      "description": "Published trade name; may be absent.",
      "meaning": "text"
    },
    "uf": {
      "description": "Two-letter Brazilian state code.",
      "meaning": "text"
    },
    "municipio": {
      "description": "Receita municipality code, not a municipality name.",
      "meaning": "text"
    },
    "cnae_principal": {
      "description": "Principal CNAE activity code.",
      "meaning": "code"
    }
  },
  "evidence": [
    "docs/sources/br-receita-cnpj.md",
    "src/imports/br-receita-cnpj.ts"
  ],
  "source": "br-receita-cnpj",
  "country": "br",
  "kind": "entity",
  "served": true,
  "schedule": "monthly",
  "cardinality": "one",
  "identifier_name": "cnpj",
  "identifier_pattern": "^[0-9A-Z]{12}\\d{2}$",
  "normalization": "padStart:14:0",
  "observation_field": null,
  "vocabularies": {
    "situacao": {
      "id": "br.receita.tax_status.v1",
      "scope": "TAX_REGISTRATION",
      "empty_policy": "reject",
      "values": {
        "ATIVA": {
          "code": "ACTIVE",
          "label_en": "Active",
          "explanation_en": "Brazil's Federal Revenue reports the CNPJ registration as active."
        },
        "SUSPENSA": {
          "code": "SUSPENDED",
          "label_en": "Suspended",
          "explanation_en": "Brazil's Federal Revenue reports the CNPJ registration as suspended."
        },
        "INAPTA": {
          "code": "INACTIVE",
          "label_en": "Declared unfit",
          "explanation_en": "Brazil's Federal Revenue reports the CNPJ registration as unfit because the entity did not satisfy applicable registration obligations."
        },
        "BAIXADA": {
          "code": "CANCELLED",
          "label_en": "Deregistered",
          "explanation_en": "Brazil's Federal Revenue reports the CNPJ registration as deregistered."
        },
        "NULA": {
          "code": "CANCELLED",
          "label_en": "Null registration",
          "explanation_en": "Brazil's Federal Revenue reports the CNPJ registration as null."
        }
      }
    }
  },
  "allowed_values": {},
  "attribution": "Source: Receita Federal, Brazil. https://dados.gov.br/dados/conjuntos-dados/cadastro-nacional-da-pessoa-juridica---cnpj.",
  "fingerprint": "ca297ea18bb5baaeac6de5c56fd4486f7df0ce9226cc03085973c2596aa23f4b"
}
