{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/memeswap-fun/json-schema/memeswap-fun-quote-schema.json",
  "title": "Quote",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/memeswap-fun-openapi.json#/components/schemas/Quote",
  "type": "object",
  "properties": {
    "provider": {
      "type": "string"
    },
    "chain": {
      "type": "string"
    },
    "chainId": {
      "type": [
        "integer",
        "null"
      ]
    },
    "side": {
      "type": "string",
      "enum": [
        "buy",
        "sell"
      ]
    },
    "from": {
      "type": [
        "string",
        "null"
      ]
    },
    "amountIn": {
      "type": "string"
    },
    "amountInHuman": {
      "type": "number"
    },
    "expectedOut": {
      "type": [
        "string",
        "null"
      ]
    },
    "expectedOutHuman": {
      "type": [
        "number",
        "null"
      ]
    },
    "minOut": {
      "type": [
        "string",
        "null"
      ]
    },
    "slippageBps": {
      "type": "integer"
    },
    "priceImpactPct": {
      "type": [
        "number",
        "null"
      ]
    },
    "route": {
      "type": "object",
      "additionalProperties": true
    },
    "error": false
  },
  "additionalProperties": true
}