{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pluggy/json-schema/pluggy-client-category-rule-schema.json",
  "title": "ClientCategoryRule",
  "description": "Category rule by client id",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pluggy-category-api-openapi.yml#/components/schemas/ClientCategoryRule",
  "properties": {
    "description": {
      "type": "string",
      "description": "Description of the transaction rule."
    },
    "categoryId": {
      "type": "string",
      "description": "Identifier of the category"
    },
    "category": {
      "type": "string",
      "description": "Description of the category"
    },
    "clientId": {
      "type": "string",
      "description": "Identifier of the client"
    },
    "transactionType": {
      "type": "string",
      "description": "Transaction type (DEBIT/CREDIT)"
    },
    "accountType": {
      "type": "string",
      "description": "Account type (CHECKING_ACCOUNT/CREDIT_CARD)"
    }
  },
  "type": "object",
  "required": [
    "description",
    "category"
  ]
}