{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/arkrel-com/json-schema/arkrel-com-categorization-settings-schema.json",
  "title": "CategorizationSettings",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/arkrel-com-chart-of-accounts-api-openapi.yml#/components/schemas/CategorizationSettings",
  "type": "object",
  "required": [
    "large_purchase_threshold",
    "work_description"
  ],
  "properties": {
    "large_purchase_threshold": {
      "type": "number",
      "description": "During automatic categorization, outgoing purchases that are not marked as transfers and whose amounts are at or above the organization’s review threshold go to review. The threshold defaults to $2,500 and is adjustable through PATCH /v1/chart-of-accounts/settings. Existing accepted or manually assigned categories are preserved. Purchases below the threshold continue through the normal categorization rules and any other applicable review requirements. Equipment-related wording alone does not trigger large-purchase review. The accountant CSV includes the recorded category and review status and leaves tax-treatment notes blank."
    },
    "work_description": {
      "type": [
        "string",
        "null"
      ],
      "description": "\"What kind of work do you do?\", a one-time answer fed into the AI categorization step as context. Null until answered."
    }
  }
}