{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pluggy/json-schema/pluggy-merchant-schema.json",
  "title": "Merchant",
  "description": "Merchant extracted from the transaction data",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pluggy-merchant-api-openapi.yml#/components/schemas/Merchant",
  "properties": {
    "name": {
      "type": "string",
      "description": "Merchants name"
    },
    "businessName": {
      "type": "string",
      "description": "Merchant legal business name"
    },
    "cnpj": {
      "type": "string",
      "description": "Document number related to the merchant"
    },
    "cnae": {
      "type": "string",
      "description": "Economic activity classification number related to the merchant"
    },
    "category": {
      "type": "string",
      "description": "Category derived from the merchant's CNAE, when one can be resolved"
    }
  },
  "type": "object"
}