{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/avalara/refs/heads/main/json-schema/hs-code-classification-hs-code-info-schema.json",
  "title": "HSCodeInfo",
  "description": "HSCodeInfo schema from Avalara API",
  "type": "object",
  "properties": {
    "hsCode": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "level": {
      "type": "string",
      "enum": [
        "Section",
        "Chapter",
        "Heading",
        "Subheading",
        "TariffLine"
      ]
    },
    "parentCode": {
      "type": "string"
    },
    "dutyRate": {
      "type": "string"
    },
    "unitOfMeasure": {
      "type": "string"
    }
  }
}