{
  "openapi": "3.1.0",
  "info": {
    "title": "CalendarICS Edge API",
    "version": "1.0.0",
    "summary": "Generate Outlook/Google/Apple-proof RFC 5545 .ics invites, VTIMEZONE blocks, and calendar deep links in <5ms.",
    "description": "Deterministic RFC 5545 / iTIP .ics invite compiler with 75-octet UTF-8 safe line folding, IANA VTIMEZONE synthesis, multi-client Add-to-Calendar deep links, and .ics auto-repair linting.\n\nLLM-generated .ics strings routinely fail in Outlook and Apple Calendar due to LF-only line breaks, >75-octet UTF-8 emoji corruption, and missing VTIMEZONE definitions. One $0.001 call guarantees byte-accurate RFC 5545 compliance.",
    "contact": {
      "name": "API Keg",
      "url": "https://apikeg.com"
    }
  },
  "servers": [
    {
      "url": "https://calendar-ics.apikeg.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "API Keg Key (ak_live_...)",
        "description": "Optional per-email monthly subscription API key ($5/$20/$50 tiers at https://apikeg.com/account). Omit this header to pay per request inline via HTTP 402 (x402 USDC)."
      }
    }
  },
  "security": [
    {},
    {
      "bearerAuth": []
    }
  ],
  "paths": {
    "/v1/generate-calendar-invite": {
      "post": {
        "operationId": "generate_calendar_invite",
        "summary": "Generate RFC 5545 Calendar Invite & Deep Links",
        "description": "Compiles a strict RFC 5545 / RFC 5546 .ics invite (PUBLISH, REQUEST with RSVP attendees, or CANCEL) with UTF-8 code-point-safe 75-octet CRLF folding, IANA VTIMEZONE blocks, and Google/Outlook/Yahoo/data-URI calendar links. Why call instead of DIY: Eliminates multi-byte UTF-8 folding corruption, DST VTIMEZONE bugs, and Outlook CRLF rejections in <5ms for $0.001. Pricing: $0.001 USD per generated .ics invite + deep-link bundle (x402 instant micropayment). Pass ?dry_run=true on REST to validate schema free.",
        "tags": [
          "scheduling",
          "email-ops",
          "productivity",
          "developer-tools"
        ],
        "externalDocs": {
          "description": "Generate RFC 5545 Calendar Invite & Deep Links Specification & Examples",
          "url": "https://calendar-ics.apikeg.com/tools/generate-calendar-invite"
        },
        "x-x402": {
          "version": 2,
          "scheme": "exact",
          "priceUsd": "0.001",
          "amountAtomicUnits": "1000",
          "network": "eip155:8453",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "payTo": "0x000000000000000000000000000000000000dEaD",
          "extensions": {
            "bazaar": {
              "discoverable": true,
              "category": [
                "scheduling",
                "email-ops",
                "productivity",
                "developer-tools"
              ],
              "info": {
                "input": {
                  "type": "http",
                  "method": "POST",
                  "bodyType": "json",
                  "example": {
                    "uid": "demo-sync-001@acme.io",
                    "title": "Architecture Sync 🚀",
                    "description": "Review Q3 edge latency benchmarks, rollout checklist, and SLOs.",
                    "location": "Zoom / Room 4B",
                    "conferencingUrl": "https://zoom.us/j/123456789",
                    "start": "2026-07-15T10:00:00",
                    "durationMinutes": 45,
                    "timezone": "America/New_York",
                    "method": "REQUEST",
                    "organizer": {
                      "name": "Alice Chen",
                      "email": "alice@acme.io"
                    },
                    "attendees": [
                      {
                        "name": "Bob Patel",
                        "email": "bob@client.org",
                        "role": "REQ-PARTICIPANT",
                        "rsvp": true
                      }
                    ],
                    "alarmMinutesBefore": 15
                  }
                },
                "output": {
                  "type": "json",
                  "summary": "Returns CRLF-folded .ics with VTIMEZONE, MIME Content-Type with method=REQUEST, filename, byteLength, and Google/Outlook365/OutlookLive/Yahoo/data-URI links."
                }
              },
              "schema": {
                "inputSchema": {
                  "type": "object",
                  "properties": {
                    "uid": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 512,
                      "description": "Stable globally unique event identifier. Reuse the same UID with an incremented `sequence` to update or cancel an invite."
                    },
                    "title": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 500,
                      "description": "Event summary/title (supports emojis, CJK, and accented characters)."
                    },
                    "description": {
                      "type": "string",
                      "maxLength": 16000,
                      "description": "Plain-text meeting agenda or description."
                    },
                    "location": {
                      "type": "string",
                      "maxLength": 1000,
                      "description": "Physical venue address, conference room, or virtual link."
                    },
                    "conferencingUrl": {
                      "type": "string",
                      "maxLength": 2048,
                      "description": "Video meeting join URL (e.g., Zoom, Google Meet, Microsoft Teams)."
                    },
                    "start": {
                      "type": "string",
                      "minLength": 8,
                      "maxLength": 64,
                      "description": "Start time in ISO 8601 UTC (2026-07-15T14:00:00Z), local wall-clock ISO paired with `timezone` (2026-07-15T10:00:00), or YYYY-MM-DD for `allDay: true`."
                    },
                    "end": {
                      "type": "string",
                      "minLength": 8,
                      "maxLength": 64,
                      "description": "Optional end timestamp or non-inclusive end date (YYYY-MM-DD for all-day). Overrides `durationMinutes` when provided."
                    },
                    "durationMinutes": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 525600,
                      "description": "Duration in minutes when `end` is omitted (defaults to 60 minutes, or 1 day for all-day events)."
                    },
                    "allDay": {
                      "type": "boolean",
                      "description": "When true, emits RFC 5545 `VALUE=DATE` (`YYYYMMDD`) all-day boundaries."
                    },
                    "timezone": {
                      "type": "string",
                      "minLength": 2,
                      "maxLength": 128,
                      "description": "IANA timezone identifier (e.g., \"America/New_York\", \"Europe/London\", \"Asia/Tokyo\"). Compiles an accurate RFC 5545 VTIMEZONE block and TZID-qualified timestamps."
                    },
                    "method": {
                      "type": "string",
                      "enum": [
                        "PUBLISH",
                        "REQUEST",
                        "CANCEL"
                      ],
                      "default": "PUBLISH",
                      "description": "iTIP method: PUBLISH (standalone event), REQUEST (RSVP meeting invite; requires `organizer`), or CANCEL (cancellation update)."
                    },
                    "sequence": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 999999,
                      "description": "Revision sequence number (defaults to 0, or 1 when method is CANCEL)."
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "CONFIRMED",
                        "TENTATIVE",
                        "CANCELLED"
                      ],
                      "description": "Event status (defaults to CANCELLED when method=CANCEL, CONFIRMED otherwise)."
                    },
                    "organizer": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "maxLength": 256,
                          "description": "Display name of the meeting organizer (CN)."
                        },
                        "email": {
                          "type": "string",
                          "minLength": 3,
                          "maxLength": 320,
                          "pattern": "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$",
                          "description": "Organizer email address."
                        }
                      },
                      "required": [
                        "email"
                      ],
                      "additionalProperties": false,
                      "description": "Calendar organizer identity (required when method is REQUEST)."
                    },
                    "attendees": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 256,
                            "description": "Display name of the attendee (CN)."
                          },
                          "email": {
                            "type": "string",
                            "minLength": 3,
                            "maxLength": 320,
                            "pattern": "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$",
                            "description": "Attendee email address."
                          },
                          "role": {
                            "type": "string",
                            "enum": [
                              "REQ-PARTICIPANT",
                              "OPT-PARTICIPANT",
                              "NON-PARTICIPANT",
                              "CHAIR"
                            ],
                            "description": "RFC 5545 participation role (defaults to REQ-PARTICIPANT)."
                          },
                          "rsvp": {
                            "type": "boolean",
                            "description": "Whether RSVP response is requested (defaults to true for METHOD:REQUEST)."
                          },
                          "partstat": {
                            "type": "string",
                            "enum": [
                              "NEEDS-ACTION",
                              "ACCEPTED",
                              "DECLINED",
                              "TENTATIVE"
                            ],
                            "description": "Initial participation status (defaults to NEEDS-ACTION)."
                          }
                        },
                        "required": [
                          "email"
                        ],
                        "additionalProperties": false
                      },
                      "maxItems": 200,
                      "description": "List of invited participants."
                    },
                    "rrule": {
                      "type": "string",
                      "minLength": 5,
                      "maxLength": 512,
                      "description": "Optional RFC 5545 recurrence rule (e.g., \"FREQ=WEEKLY;BYDAY=MO,WE,FR;COUNT=12\")."
                    },
                    "alarmMinutesBefore": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 40320,
                      "description": "Optional display reminder offset in minutes prior to event start (emits a VALARM block)."
                    }
                  },
                  "required": [
                    "title",
                    "start"
                  ],
                  "additionalProperties": false
                },
                "outputSchema": {
                  "type": "object",
                  "required": [
                    "ok",
                    "data",
                    "_meta"
                  ],
                  "properties": {
                    "ok": {
                      "type": "boolean",
                      "const": true
                    },
                    "data": {
                      "type": "object",
                      "description": "Deterministic structured tool result payload."
                    },
                    "_meta": {
                      "type": "object",
                      "required": [
                        "requestId",
                        "durationMs",
                        "chargedUsd",
                        "dryRun"
                      ],
                      "properties": {
                        "requestId": {
                          "type": "string"
                        },
                        "durationMs": {
                          "type": "number"
                        },
                        "chargedUsd": {
                          "type": "string"
                        },
                        "dryRun": {
                          "type": "boolean"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "dry_run",
            "in": "query",
            "required": false,
            "description": "Validate request schema for free ($0.00) without executing or settling payment.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "uid": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 512,
                    "description": "Stable globally unique event identifier. Reuse the same UID with an incremented `sequence` to update or cancel an invite."
                  },
                  "title": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 500,
                    "description": "Event summary/title (supports emojis, CJK, and accented characters)."
                  },
                  "description": {
                    "type": "string",
                    "maxLength": 16000,
                    "description": "Plain-text meeting agenda or description."
                  },
                  "location": {
                    "type": "string",
                    "maxLength": 1000,
                    "description": "Physical venue address, conference room, or virtual link."
                  },
                  "conferencingUrl": {
                    "type": "string",
                    "maxLength": 2048,
                    "description": "Video meeting join URL (e.g., Zoom, Google Meet, Microsoft Teams)."
                  },
                  "start": {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 64,
                    "description": "Start time in ISO 8601 UTC (2026-07-15T14:00:00Z), local wall-clock ISO paired with `timezone` (2026-07-15T10:00:00), or YYYY-MM-DD for `allDay: true`."
                  },
                  "end": {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 64,
                    "description": "Optional end timestamp or non-inclusive end date (YYYY-MM-DD for all-day). Overrides `durationMinutes` when provided."
                  },
                  "durationMinutes": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 525600,
                    "description": "Duration in minutes when `end` is omitted (defaults to 60 minutes, or 1 day for all-day events)."
                  },
                  "allDay": {
                    "type": "boolean",
                    "description": "When true, emits RFC 5545 `VALUE=DATE` (`YYYYMMDD`) all-day boundaries."
                  },
                  "timezone": {
                    "type": "string",
                    "minLength": 2,
                    "maxLength": 128,
                    "description": "IANA timezone identifier (e.g., \"America/New_York\", \"Europe/London\", \"Asia/Tokyo\"). Compiles an accurate RFC 5545 VTIMEZONE block and TZID-qualified timestamps."
                  },
                  "method": {
                    "type": "string",
                    "enum": [
                      "PUBLISH",
                      "REQUEST",
                      "CANCEL"
                    ],
                    "default": "PUBLISH",
                    "description": "iTIP method: PUBLISH (standalone event), REQUEST (RSVP meeting invite; requires `organizer`), or CANCEL (cancellation update)."
                  },
                  "sequence": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 999999,
                    "description": "Revision sequence number (defaults to 0, or 1 when method is CANCEL)."
                  },
                  "status": {
                    "type": "string",
                    "enum": [
                      "CONFIRMED",
                      "TENTATIVE",
                      "CANCELLED"
                    ],
                    "description": "Event status (defaults to CANCELLED when method=CANCEL, CONFIRMED otherwise)."
                  },
                  "organizer": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "maxLength": 256,
                        "description": "Display name of the meeting organizer (CN)."
                      },
                      "email": {
                        "type": "string",
                        "minLength": 3,
                        "maxLength": 320,
                        "pattern": "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$",
                        "description": "Organizer email address."
                      }
                    },
                    "required": [
                      "email"
                    ],
                    "additionalProperties": false,
                    "description": "Calendar organizer identity (required when method is REQUEST)."
                  },
                  "attendees": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "maxLength": 256,
                          "description": "Display name of the attendee (CN)."
                        },
                        "email": {
                          "type": "string",
                          "minLength": 3,
                          "maxLength": 320,
                          "pattern": "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$",
                          "description": "Attendee email address."
                        },
                        "role": {
                          "type": "string",
                          "enum": [
                            "REQ-PARTICIPANT",
                            "OPT-PARTICIPANT",
                            "NON-PARTICIPANT",
                            "CHAIR"
                          ],
                          "description": "RFC 5545 participation role (defaults to REQ-PARTICIPANT)."
                        },
                        "rsvp": {
                          "type": "boolean",
                          "description": "Whether RSVP response is requested (defaults to true for METHOD:REQUEST)."
                        },
                        "partstat": {
                          "type": "string",
                          "enum": [
                            "NEEDS-ACTION",
                            "ACCEPTED",
                            "DECLINED",
                            "TENTATIVE"
                          ],
                          "description": "Initial participation status (defaults to NEEDS-ACTION)."
                        }
                      },
                      "required": [
                        "email"
                      ],
                      "additionalProperties": false
                    },
                    "maxItems": 200,
                    "description": "List of invited participants."
                  },
                  "rrule": {
                    "type": "string",
                    "minLength": 5,
                    "maxLength": 512,
                    "description": "Optional RFC 5545 recurrence rule (e.g., \"FREQ=WEEKLY;BYDAY=MO,WE,FR;COUNT=12\")."
                  },
                  "alarmMinutesBefore": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 40320,
                    "description": "Optional display reminder offset in minutes prior to event start (emits a VALARM block)."
                  }
                },
                "required": [
                  "title",
                  "start"
                ],
                "additionalProperties": false
              },
              "example": {
                "uid": "demo-sync-001@acme.io",
                "title": "Architecture Sync 🚀",
                "description": "Review Q3 edge latency benchmarks, rollout checklist, and SLOs.",
                "location": "Zoom / Room 4B",
                "conferencingUrl": "https://zoom.us/j/123456789",
                "start": "2026-07-15T10:00:00",
                "durationMinutes": 45,
                "timezone": "America/New_York",
                "method": "REQUEST",
                "organizer": {
                  "name": "Alice Chen",
                  "email": "alice@acme.io"
                },
                "attendees": [
                  {
                    "name": "Bob Patel",
                    "email": "bob@client.org",
                    "role": "REQ-PARTICIPANT",
                    "rsvp": true
                  }
                ],
                "alarmMinutesBefore": 15
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful execution result.",
            "headers": {
              "PAYMENT-RESPONSE": {
                "description": "Base64-encoded x402 v2 payment settlement receipt (when paid).",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "ok": {
                      "type": "boolean",
                      "const": true
                    },
                    "data": {
                      "type": "object"
                    },
                    "_meta": {
                      "type": "object",
                      "properties": {
                        "requestId": {
                          "type": "string"
                        },
                        "durationMs": {
                          "type": "number"
                        },
                        "chargedUsd": {
                          "type": "string"
                        },
                        "dryRun": {
                          "type": "boolean"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Schema validation error (unbilled, $0.00)."
          },
          "402": {
            "description": "Payment Required. Decode the Base64 PAYMENT-REQUIRED header and retry with PAYMENT-SIGNATURE.",
            "headers": {
              "PAYMENT-REQUIRED": {
                "description": "Base64-encoded x402 v2 PaymentRequired JSON object.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/v1/validate-ics-payload": {
      "post": {
        "operationId": "validate_ics_payload",
        "summary": "Validate & Auto-Repair .ics Payload",
        "description": "Audits raw .ics text for RFC 5545 & iTIP defects (LF-only line breaks, >75-octet lines, missing VCALENDAR/VERSION/PRODID/UID/DTSTAMP/DTSTART, DTEND <= DTSTART, missing VTIMEZONE for TZID, METHOD:CANCEL without STATUS:CANCELLED, METHOD:REQUEST without ORGANIZER, unescaped commas/newlines) and optionally returns a deterministically repaired .ics string. Why call instead of DIY: Catches silent Outlook Desktop, Exchange, Google, and Apple Calendar rejection bugs and auto-repairs broken .ics payloads in <5ms for $0.001. Pricing: $0.001 USD per .ics audit (with optional deterministic auto-repair) (x402 instant micropayment). Pass ?dry_run=true on REST to validate schema free.",
        "tags": [
          "scheduling",
          "email-ops",
          "productivity",
          "developer-tools"
        ],
        "externalDocs": {
          "description": "Validate & Auto-Repair .ics Payload Specification & Examples",
          "url": "https://calendar-ics.apikeg.com/tools/validate-ics-payload"
        },
        "x-x402": {
          "version": 2,
          "scheme": "exact",
          "priceUsd": "0.001",
          "amountAtomicUnits": "1000",
          "network": "eip155:8453",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "payTo": "0x000000000000000000000000000000000000dEaD",
          "extensions": {
            "bazaar": {
              "discoverable": true,
              "category": [
                "scheduling",
                "email-ops",
                "productivity",
                "developer-tools"
              ],
              "info": {
                "input": {
                  "type": "http",
                  "method": "POST",
                  "bodyType": "json",
                  "example": {
                    "ics": "BEGIN:VCALENDAR\nVERSION:2.0\nBEGIN:VEVENT\nDTSTART;TZID=America/New_York:20260715T100000\nSUMMARY:Team Sync, Q3\nEND:VEVENT\nEND:VCALENDAR",
                    "repair": true
                  }
                },
                "output": {
                  "type": "json",
                  "summary": "Flags LF_ONLY_LINE_ENDINGS, MISSING_PRODID, MISSING_UID, MISSING_DTSTAMP, MISSING_VTIMEZONE, UNESCAPED_TEXT_DELIMITER and returns a valid repaired .ics."
                }
              },
              "schema": {
                "inputSchema": {
                  "type": "object",
                  "properties": {
                    "ics": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 200000,
                      "description": "Raw .ics calendar string to audit against RFC 5545 and Google/Outlook/Apple rules."
                    },
                    "repair": {
                      "type": "boolean",
                      "default": false,
                      "description": "Set true to deterministically auto-repair CRLF endings, 75-octet UTF-8 folding, missing UID/DTSTAMP/VTIMEZONE, and unescaped text delimiters."
                    }
                  },
                  "required": [
                    "ics"
                  ],
                  "additionalProperties": false
                },
                "outputSchema": {
                  "type": "object",
                  "required": [
                    "ok",
                    "data",
                    "_meta"
                  ],
                  "properties": {
                    "ok": {
                      "type": "boolean",
                      "const": true
                    },
                    "data": {
                      "type": "object",
                      "description": "Deterministic structured tool result payload."
                    },
                    "_meta": {
                      "type": "object",
                      "required": [
                        "requestId",
                        "durationMs",
                        "chargedUsd",
                        "dryRun"
                      ],
                      "properties": {
                        "requestId": {
                          "type": "string"
                        },
                        "durationMs": {
                          "type": "number"
                        },
                        "chargedUsd": {
                          "type": "string"
                        },
                        "dryRun": {
                          "type": "boolean"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "dry_run",
            "in": "query",
            "required": false,
            "description": "Validate request schema for free ($0.00) without executing or settling payment.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ics": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 200000,
                    "description": "Raw .ics calendar string to audit against RFC 5545 and Google/Outlook/Apple rules."
                  },
                  "repair": {
                    "type": "boolean",
                    "default": false,
                    "description": "Set true to deterministically auto-repair CRLF endings, 75-octet UTF-8 folding, missing UID/DTSTAMP/VTIMEZONE, and unescaped text delimiters."
                  }
                },
                "required": [
                  "ics"
                ],
                "additionalProperties": false
              },
              "example": {
                "ics": "BEGIN:VCALENDAR\nVERSION:2.0\nBEGIN:VEVENT\nDTSTART;TZID=America/New_York:20260715T100000\nSUMMARY:Team Sync, Q3\nEND:VEVENT\nEND:VCALENDAR",
                "repair": true
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful execution result.",
            "headers": {
              "PAYMENT-RESPONSE": {
                "description": "Base64-encoded x402 v2 payment settlement receipt (when paid).",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "ok": {
                      "type": "boolean",
                      "const": true
                    },
                    "data": {
                      "type": "object"
                    },
                    "_meta": {
                      "type": "object",
                      "properties": {
                        "requestId": {
                          "type": "string"
                        },
                        "durationMs": {
                          "type": "number"
                        },
                        "chargedUsd": {
                          "type": "string"
                        },
                        "dryRun": {
                          "type": "boolean"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Schema validation error (unbilled, $0.00)."
          },
          "402": {
            "description": "Payment Required. Decode the Base64 PAYMENT-REQUIRED header and retry with PAYMENT-SIGNATURE.",
            "headers": {
              "PAYMENT-REQUIRED": {
                "description": "Base64-encoded x402 v2 PaymentRequired JSON object.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  }
}