changedInput schema / properties / aggr_level / anyOf
Previous value: -[
- {
- "const": 2,
- "type": "number"
- },
- {
- "const": 4,
- "type": "number"
- },
- {
- "const": 6,
- "type": "number"
- }
-]New value: +[
+ {
+ "const": 1,
+ "type": "number"
+ },
+ {
+ "const": 2,
+ "type": "number"
+ },
+ {
+ "const": 3,
+ "type": "number"
+ },
+ {
+ "const": 4,
+ "type": "number"
+ },
+ {
+ "const": 5,
+ "type": "number"
+ },
+ {
+ "const": 6,
+ "type": "number"
+ }
+]
changedInput schema / properties / aggr_level / description
Previous value: -"Aggregation level: 2 = HS chapter (most general), 4 = heading, 6 = subheading (most specific). Omit to return all matching levels."New value: +"Native aggregation level: HS uses 2 (chapter), 4 (heading), 6 (subheading); SITC uses 1–5. Omit to return all matching levels."
changedInput schema / properties / classification / description
Previous value: -"HS classification version. \"HS\" covers the combined dataset across all editions (H0–H6). Use a specific edition (e.g. \"H6\") for version-specific lookups."New value: +"Goods reference catalog: HS uses the default HS.json discovery catalog, whose total identifies H6; it is not an authoritative historical-edition reference. Select H0–H6 for an explicit HS edition, or SS/S1–S4 for SITC."
changedInput schema / properties / classification / enum
Previous value: -[
- "HS",
- "H0",
- "H1",
- "H2",
- "H3",
- "H4",
- "H5",
- "H6"
-]New value: +[
+ "HS",
+ "H0",
+ "H1",
+ "H2",
+ "H3",
+ "H4",
+ "H5",
+ "H6",
+ "SS",
+ "S1",
+ "S2",
+ "S3",
+ "S4"
+]
changedInput schema / properties / query / description
Previous value: -"Keyword, partial description, or HS code prefix to search for. Examples: \"motor vehicles\", \"8471\", \"coffee\", \"84\" (chapter 84 = machinery)."New value: +"Keyword, partial description, or commodity code prefix. Examples: \"motor vehicles\", \"8471\", \"coffee\", \"84\" (HS chapter 84 = machinery)."
changedOutput schema / anyOf
Previous value: -[
- {
- "not": {
- "required": [
- "error"
- ]
- },
- "required": [
- "matches",
- "totalMatches",
- "shown",
- "truncated"
- ]
- },
- {
- "required": [
- "error"
- ]
- }
-]New value: +[
+ {
+ "not": {
+ "required": [
+ "error"
+ ]
+ },
+ "required": [
+ "classification",
+ "matches",
+ "totalMatches",
+ "shown",
+ "truncated"
+ ]
+ },
+ {
+ "required": [
+ "error"
+ ]
+ }
+]
addedOutput schema / properties / classification
Added value: +{
+ "description": "Reference catalog used for the search.",
+ "type": "string"
+}
changedOutput schema / properties / error / properties / data / properties / reason / description
Previous value: -"Machine-readable failure mode."New value: +"Machine-readable failure mode. Declared by this tool: `invalid_aggregation_level`: The requested level does not belong to the selected classification family. Other values are possible when a failure originates below the handler."
addedOutput schema / properties / error / properties / data / properties / reason / examples
Added value: +[
+ "invalid_aggregation_level"
+]
changedOutput schema / properties / matches / description
Previous value: -"HS codes matching the query."New value: +"Commodity codes matching the query in the selected classification."
changedOutput schema / properties / matches / items / description
Previous value: -"A single HS commodity code entry."New value: +"A commodity entry from the selected catalog."
changedOutput schema / properties / matches / items / properties / aggrLevel / description
Previous value: -"Aggregation level: 2 (chapter), 4 (heading), 6 (subheading)."New value: +"Native aggregation level in the selected HS or SITC catalog."
changedOutput schema / properties / matches / items / properties / id / description
Previous value: -"HS code string (e.g. \"84\", \"8471\", \"847130\")."New value: +"Commodity code in the selected classification, preserving leading zeros."
changedOutput schema / properties / matches / items / properties / parent / description
Previous value: -"Parent HS code (chapter for headings; heading for subheadings)."New value: +"Parent commodity code in the selected classification."
changedOutput schema / properties / matches / items / properties / recommendedQueryCode / description
Previous value: -"Best code to pass as cmd_code in trade data queries for this commodity. Uses the most specific level that returns meaningful data."New value: +"Code to pass as cmd_code with the same classification in trade data queries."