{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/quickbooks/json-schema/quickbooks-taxclassification-schema.json",
  "title": "taxclassification",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/quickbooks-taxclassification-api-openapi.yml#/components/schemas/taxclassification",
  "type": "object",
  "properties": {
    "ApplicableTo": {
      "type": "string",
      "description": "List of item types the tax classification is applicable to. Includes Inventory, NonInventory, Bundle and Service.",
      "x-intuit-required": "Optional"
    },
    "Code": {
      "type": "string",
      "description": "Code",
      "x-intuit-required": "Optional"
    },
    "Name": {
      "type": "string",
      "description": "Name of the tax classification",
      "x-intuit-required": "Optional"
    },
    "Level": {
      "type": "string",
      "description": "Tax classification level (Numeric value 1, or 2. 1 specifies parent tax classification)"
    },
    "ParentRef": {
      "allOf": [
        {
          "$ref": "#/$defs/referencetype"
        }
      ],
      "description": "Reference Type for parent",
      "x-intuit-required": "Required"
    },
    "Description": {
      "type": "string",
      "description": "Description of the tax classification",
      "x-intuit-required": "Optional"
    }
  },
  "required": [
    "ParentRef"
  ],
  "$defs": {
    "referencetype": {
      "type": "object",
      "title": "referencetype",
      "properties": {
        "name": {
          "type": "string",
          "description": "An identifying name for the object being referenced by value and is derived from the field that holds the common name of that object. This varies by context and specific type of object referenced. For example, references to a Customer object use Customer.DisplayName to populate this field. Optionally returned in responses, implementation dependent.",
          "x-intuit-required": "Optional"
        },
        "value": {
          "type": "string",
          "description": "The ID for the referenced object as found in the Id field of the object payload. The context is set by the type of reference and is specific to the QuickBooks company file.",
          "x-intuit-required": "Required"
        }
      },
      "required": [
        "value"
      ]
    }
  }
}