{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/revolut/main/json-schema/revolut-accounting-category-response-schema.json",
  "title": "AccountingCategoryResponse",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/revolut-accounting-api-openapi.yml#/components/schemas/AccountingCategoryResponse",
  "type": "object",
  "required": [
    "id",
    "name",
    "created_at",
    "updated_at"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "The unique ID of the accounting category."
    },
    "name": {
      "type": "string",
      "description": "The name of the accounting category."
    },
    "code": {
      "type": "string",
      "description": "The code of the accounting category."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the accounting category was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format."
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the accounting category was last updated in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format."
    },
    "default_tax_rate_id": {
      "type": "string",
      "format": "uuid",
      "description": "The ID of the default [tax rate](https://developer.revolut.com/docs/api/business#get-tax-rate) applied to items in this accounting category unless overridden for a specific item."
    }
  }
}