{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentry-com/json-schema/agentry-com-melt-quote-request-schema.json",
  "title": "MeltQuoteRequest",
  "description": "Request to melt ecash into a Lightning payment (NUT-05).",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentry-com-ecash-api-openapi.yml#/components/schemas/MeltQuoteRequest",
  "properties": {
    "agent_id": {
      "type": "string",
      "title": "Agent Id"
    },
    "payment_request": {
      "type": "string",
      "title": "Payment Request"
    },
    "mint_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Mint Url"
    }
  },
  "type": "object",
  "required": [
    "agent_id",
    "payment_request"
  ]
}