{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dnsofmoney-com/json-schema/dnsofmoney-com-resolve-request-schema.json",
  "title": "ResolveRequest",
  "description": "Request body for POST /resolve (optional — GET uses path param).",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dnsofmoney-com-resolve-api-openapi.yml#/components/schemas/ResolveRequest",
  "properties": {
    "alias_name": {
      "type": "string",
      "maxLength": 128,
      "minLength": 5,
      "title": "Alias Name"
    },
    "amount": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0.0
        },
        {
          "type": "string",
          "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
        },
        {
          "type": "null"
        }
      ],
      "title": "Amount"
    },
    "currency": {
      "type": "string",
      "maxLength": 3,
      "title": "Currency",
      "default": "USD"
    },
    "preferred_rail": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 32
        },
        {
          "type": "null"
        }
      ],
      "title": "Preferred Rail"
    }
  },
  "type": "object",
  "required": [
    "alias_name"
  ]
}