{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/taskfuel-ai/json-schema/taskfuel-ai-quote-schema.json",
  "title": "Quote",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/taskfuel-ai-openapi.yml#/components/schemas/Quote",
  "type": "object",
  "required": [
    "dry_run",
    "amount_usd",
    "exceeds_cap",
    "exceeds_balance",
    "per_call_cap_usd",
    "max_amount_usd",
    "detail",
    "upstream_402_body"
  ],
  "properties": {
    "dry_run": {
      "const": true
    },
    "amount_usd": {
      "type": "number",
      "format": "double"
    },
    "exceeds_cap": {
      "type": "boolean"
    },
    "exceeds_balance": {
      "type": "boolean"
    },
    "per_call_cap_usd": {
      "type": "number",
      "format": "double"
    },
    "max_amount_usd": {
      "type": [
        "number",
        "null"
      ],
      "format": "double"
    },
    "detail": {
      "type": "string"
    },
    "upstream_402_body": {}
  },
  "additionalProperties": false
}