{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gapup-io/json-schema/gapup-io-post-mcp-request-schema.json",
  "title": "PostMcpRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/gapup-io-openapi-generated.yml#/components/schemas/PostMcpRequest",
  "type": "object",
  "properties": {
    "hs_code": {
      "type": "string",
      "description": "6-10 digit Harmonized System product code"
    },
    "exporting_country": {
      "type": "string",
      "description": "ISO 2-letter country code of African exporter"
    },
    "importing_country": {
      "type": "string",
      "description": "ISO 2-letter country code of target market (US/EU)"
    },
    "year": {
      "type": "integer",
      "description": "Reference year for trade data"
    },
    "preference_scheme": {
      "type": "string",
      "description": "Trade preference scheme to analyze"
    },
    "async": {
      "type": "boolean",
      "description": "If true, returns a job_id immediately (<200ms) instead of waiting for the result. Poll the result with job_result(job_id). Use for slow tools to avoid client timeouts."
    }
  },
  "required": [
    "hs_code",
    "exporting_country"
  ]
}