addedInput schema / not
Added value: +{
+ "anyOf": [
+ {
+ "not": {
+ "not": {
+ "properties": {
+ "hsCode": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "product": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "hsCode",
+ "product"
+ ]
+ }
+ }
+ },
+ {
+ "not": {
+ "if": {
+ "allOf": [
+ {
+ "allOf": [
+ {
+ "properties": {
+ "webFallback": {
+ "not": {
+ "type": "null"
+ }
+ }
+ },
+ "required": [
+ "webFallback"
+ ]
+ },
+ {
+ "not": {
+ "properties": {
+ "webFallback": {
+ "anyOf": [
+ {
+ "const": true
+ },
+ {
+ "pattern": "^\\s*([Tt][Rr][Uu][Ee]|1)\\s*$",
+ "type": "string"
+ }
+ ]
+ }
+ },
+ "required": [
+ "webFallback"
+ ]
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "then": {
+ "anyOf": [
+ {
+ "properties": {
+ "product": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "product"
+ ]
+ },
+ {
+ "properties": {
+ "hsCode": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "hsCode"
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "not": {
+ "x-argumentRequirement": {
+ "if": {
+ "allOf": []
+ },
+ "then": {
+ "anyOf": [
+ {
+ "properties": {
+ "product": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "product"
+ ]
+ },
+ {
+ "properties": {
+ "hsCode": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "hsCode"
+ ]
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+}
removedInput schema / properties / --exporter
Removed value: -{
- "description": "Sending country — accepts country name, ISO2, ISO3 (e.g. \"Viet Nam\", \"VN\", \"VNM\")",
- "type": "string"
-}
removedInput schema / properties / --importer
Removed value: -{
- "description": "Receiving country — accepts country name, ISO2, ISO3 (e.g. \"Germany\", \"DE\", \"DEU\")",
- "type": "string"
-}
removedInput schema / properties / --product
Removed value: -{
- "description": "Product / goods description",
- "type": "string"
-}
removedInput schema / properties / --webFallback
Removed value: -{
- "description": "Summarise a web search when the trade dataset has no row (default true); set false to get only dataset rows. Public credentials never use the web fallback.",
- "type": "boolean"
-}
addedInput schema / properties / asOf
Added value: +{
+ "description": "Duty effective on YYYY-MM-DD; omitted means today in UTC",
+ "format": "date",
+ "maxLength": 8000,
+ "pattern": "^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$",
+ "type": "string"
+}
addedInput schema / properties / exporter
Added value: +{
+ "description": "Sending country — accepts country name, ISO2, ISO3 (e.g. \"Viet Nam\", \"VN\", \"VNM\")",
+ "maxLength": 8000,
+ "type": "string"
+}
addedInput schema / properties / hsCode
Added value: +{
+ "description": "HS code (2-10 digits, with optional separators)",
+ "maxLength": 8000,
+ "type": "string"
+}
addedInput schema / properties / importer
Added value: +{
+ "description": "Receiving country — accepts country name, ISO2, ISO3 (e.g. \"Germany\", \"DE\", \"DEU\")",
+ "maxLength": 8000,
+ "type": "string"
+}
addedInput schema / properties / product
Added value: +{
+ "description": "Product / goods description",
+ "maxLength": 8000,
+ "type": "string"
+}
addedInput schema / properties / webFallback
Added value: +{
+ "description": "Allow additional verified tariff evidence when no indexed row is present; unverified search summaries never establish a duty rate.",
+ "format": "boolean",
+ "type": "boolean"
+}
changedInput schema / required
Previous value: -[
- "--exporter",
- "--importer"
-]New value: +[
+ "exporter",
+ "importer"
+]
changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "value0": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "duty": {
+ "type": "string"
+ },
+ "observation": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/value1"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "regime": {
+ "type": "string"
+ },
+ "year": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "description",
+ "duty",
+ "year"
+ ],
+ "type": "object"
+ },
+ "value1": {
+ "additionalProperties": false,
+ "properties": {
+ "basis": {
+ "type": "string"
+ },
+ "code": {
+ "type": "string"
+ },
+ "effectiveFrom": {
+ "type": "string"
+ },
+ "effectiveTo": {
+ "type": "string"
+ },
+ "exporter": {
+ "type": "string"
+ },
+ "importer": {
+ "type": "string"
+ },
+ "observedAt": {
+ "type": "string"
+ },
+ "rate": {
+ "type": "string"
+ },
+ "sourceUrl": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "basis",
+ "code",
+ "effectiveFrom",
+ "exporter",
+ "importer",
+ "observedAt",
+ "rate",
+ "sourceUrl"
+ ],
+ "type": "object"
+ },
+ "value2": {
+ "anyOf": [
+ {
+ "items": {
+ "type": [
+ "null",
+ "boolean",
+ "number",
+ "string",
+ "array",
+ "object"
+ ]
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "value3": {
+ "anyOf": [
+ {
+ "items": {
+ "$ref": "#/$defs/value4"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "value4": {
+ "additionalProperties": false,
+ "properties": {
+ "command": {
+ "type": "string"
+ },
+ "cost": {
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "rationale": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "command",
+ "cost",
+ "label",
+ "rationale"
+ ],
+ "type": "object"
+ },
+ "value5": {
+ "anyOf": [
+ {
+ "additionalProperties": {
+ "type": "number"
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "value6": {
+ "anyOf": [
+ {
+ "items": {
+ "$ref": "#/$defs/value7"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "value7": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object"
+ },
+ "value8": {
+ "anyOf": [
+ {
+ "additionalProperties": {
+ "type": [
+ "null",
+ "boolean",
+ "number",
+ "string",
+ "array",
+ "object"
+ ]
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "properties": {
+ "_debug": {
+ "$ref": "#/$defs/value8"
+ },
+ "correlationId": {
+ "type": "string"
+ },
+ "data": {
+ "additionalProperties": false,
+ "properties": {
+ "context": {
+ "type": [
+ "null",
+ "boolean",
+ "number",
+ "string",
+ "array",
+ "object"
+ ]
+ },
+ "cursor": {
+ "type": "string"
+ },
+ "has_more": {
+ "type": "boolean"
+ },
+ "items": {
+ "anyOf": [
+ {
+ "items": {
+ "$ref": "#/$defs/value0"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "context",
+ "has_more",
+ "items"
+ ],
+ "type": "object"
+ },
+ "nextActions": {
+ "$ref": "#/$defs/value3"
+ },
+ "stats": {
+ "$ref": "#/$defs/value5"
+ },
+ "summary": {
+ "type": "string"
+ },
+ "warnings": {
+ "$ref": "#/$defs/value6"
+ }
+ },
+ "required": [
+ "data",
+ "nextActions",
+ "summary"
+ ],
+ "type": "object"
+}