changedOutput schema / anyOf
Previous value: -[
- {
- "properties": {
- "coverage": {
- "enum": [
- "full",
- "thin"
- ],
- "type": "string"
- },
- "data": {
- "properties": {
- "count": {
- "type": "integer"
- },
- "curve": {
- "type": "string"
- },
- "fees": {
- "type": "object"
- },
- "items": {
- "items": {
- "properties": {
- "block": {
- "type": "integer"
- },
- "block_ts": {
- "type": "number"
- },
- "check": {
- "enum": [
- "exact",
- "completion_clamp"
- ],
- "type": "string"
- },
- "creator_tax": {
- "pattern": "^[0-9]+$",
- "type": "string"
- },
- "fee": {
- "pattern": "^[0-9]+$",
- "type": "string"
- },
- "log_index": {
- "type": "integer"
- },
- "price_after": {
- "type": "number"
- },
- "price_multiple": {
- "type": "number"
- },
- "quote_in": {
- "pattern": "^[0-9]+$",
- "type": [
- "string",
- "null"
- ]
- },
- "quote_out": {
- "pattern": "^[0-9]+$",
- "type": [
- "string",
- "null"
- ]
- },
- "raised_fraction": {
- "type": [
- "number",
- "null"
- ]
- },
- "recipient": {
- "type": [
- "string",
- "null"
- ]
- },
- "reserves_after": {
- "properties": {
- "Q": {
- "pattern": "^[0-9]+$",
- "type": "string"
- },
- "T": {
- "pattern": "^[0-9]+$",
- "type": "string"
- },
- "real_quote": {
- "pattern": "^-?[0-9]+$",
- "type": "string"
- }
- },
- "required": [
- "Q",
- "T",
- "real_quote"
- ],
- "type": "object"
- },
- "route": {
- "type": [
- "string",
- "null"
- ]
- },
- "sender": {
- "type": [
- "string",
- "null"
- ]
- },
- "side": {
- "enum": [
- "buy",
- "sell",
- "buyback"
- ],
- "type": "string"
- },
- "snipe_tax": {
- "pattern": "^[0-9]+$",
- "type": "string"
- },
- "tokens_in": {
- "pattern": "^[0-9]+$",
- "type": [
- "string",
- "null"
- ]
- },
- "tokens_out": {
- "pattern": "^[0-9]+$",
- "type": [
- "string",
- "null"
- ]
- },
- "tx": {
- "type": "string"
- }
- },
- "required": [
- "block",
- "log_index",
- "tx",
- "block_ts",
- "side",
- "quote_in",
- "quote_out",
- "tokens_in",
- "tokens_out",
- "fee",
- "snipe_tax",
- "creator_tax",
- "reserves_after",
- "price_after",
- "price_multiple",
- "raised_fraction",
- "check"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "model": {
- "type": "object"
- },
- "more": {
- "type": "boolean"
- },
- "next_cursor": {
- "pattern": "^[0-9]+:[0-9]+$",
- "type": "string"
- },
- "next_url": {
- "type": "string"
- },
- "replay": {
- "type": "object"
- },
- "status": {
- "type": "string"
- },
- "token": {
- "type": "string"
- }
- },
- "required": [
- "curve",
- "fees",
- "model",
- "count",
- "items",
- "next_cursor",
- "more",
- "replay"
- ],
- "type": "object"
- },
- "generated_at": {
- "type": "string"
- },
- "meta": {
- "type": "object"
- },
- "ok": {
- "type": "boolean"
- },
- "schema_version": {
- "type": "string"
- },
- "t": {
- "type": "number"
- }
- },
- "required": [
- "ok",
- "schema_version",
- "generated_at",
- "t",
- "coverage",
- "data",
- "meta"
- ],
- "type": "object"
- },
- {
- "description": "isError: the x402 v2 payment requirements. Pay one accepts entry and call again with _meta['x402/payment']. error says why when a payment was sent and rejected; a failed settlement adds x402/payment-response. Nothing is charged.",
- "properties": {
- "accepts": {
- "items": {
- "properties": {
- "amount": {
- "type": "string"
- },
- "asset": {
- "type": "string"
- },
- "extra": {
- "type": "object"
- },
- "maxTimeoutSeconds": {
- "type": "integer"
- },
- "network": {
- "type": "string"
- },
- "payTo": {
- "type": "string"
- },
- "scheme": {
- "type": "string"
- }
- },
- "required": [
- "scheme",
- "network",
- "amount",
- "asset",
- "payTo"
- ],
- "type": "object"
- },
- "minItems": 1,
- "type": "array"
- },
- "error": {
- "type": "string"
- },
- "extensions": {
- "type": "object"
- },
- "resource": {
- "properties": {
- "description": {
- "type": "string"
- },
- "mimeType": {
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "url"
- ],
- "type": "object"
- },
- "x402/payment-response": {
- "properties": {
- "errorReason": {
- "type": "string"
- },
- "network": {
- "type": "string"
- },
- "success": {
- "type": "boolean"
- },
- "transaction": {
- "type": "string"
- }
- },
- "required": [
- "success"
- ],
- "type": "object"
- },
- "x402Version": {
- "const": 2
- }
- },
- "required": [
- "x402Version",
- "resource",
- "accepts"
- ],
- "title": "PaymentRequired",
- "type": "object"
- },
- {
- "description": "isError: a refusal answered without charging (invalid or uncovered arguments, stale feed, nothing new since the cursor, a payment that cannot be matched to this request). error is a stable code; live_examples name mints covered now.",
- "properties": {
- "address": {
- "type": "string"
- },
- "avoid_skipped": {
- "type": "integer"
- },
- "case_mangled_mints": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "charged": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "curve": {
- "type": "string"
- },
- "error": {
- "type": "string"
- },
- "feed_lag_s": {
- "type": [
- "number",
- "null"
- ]
- },
- "free_check": {
- "type": "string"
- },
- "got": {
- "type": [
- "string",
- "integer"
- ]
- },
- "hint": {
- "type": "string"
- },
- "invalid": {
- "type": "object"
- },
- "live_examples": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "max_feed_lag_s": {
- "type": "number"
- },
- "max_mints": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "mint": {
- "type": "string"
- },
- "missing": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "newest_cursor": {
- "type": "string"
- },
- "ok": {
- "const": false
- },
- "payment_status": {
- "type": "string"
- },
- "scanned": {
- "type": "integer"
- },
- "schema": {
- "type": "object"
- },
- "since": {
- "type": [
- "string",
- "null"
- ]
- },
- "tool": {
- "type": "string"
- },
- "unavailable_mints": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "unverified_event": {
- "type": [
- "object",
- "null"
- ]
- },
- "window_s": {
- "type": "number"
- }
- },
- "required": [
- "ok",
- "error"
- ],
- "title": "Refusal",
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "coverage": {
+ "enum": [
+ "full",
+ "thin"
+ ],
+ "type": "string"
+ },
+ "data": {
+ "properties": {
+ "count": {
+ "type": "integer"
+ },
+ "curve": {
+ "type": "string"
+ },
+ "fees": {
+ "type": "object"
+ },
+ "items": {
+ "items": {
+ "properties": {
+ "block": {
+ "type": "integer"
+ },
+ "block_ts": {
+ "type": "number"
+ },
+ "check": {
+ "enum": [
+ "exact",
+ "completion_clamp"
+ ],
+ "type": "string"
+ },
+ "creator_tax": {
+ "pattern": "^[0-9]+$",
+ "type": "string"
+ },
+ "fee": {
+ "pattern": "^[0-9]+$",
+ "type": "string"
+ },
+ "log_index": {
+ "type": "integer"
+ },
+ "price_after": {
+ "type": "number"
+ },
+ "price_multiple": {
+ "type": "number"
+ },
+ "quote_in": {
+ "pattern": "^[0-9]+$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "quote_out": {
+ "pattern": "^[0-9]+$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "raised_fraction": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "recipient": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "reserves_after": {
+ "properties": {
+ "Q": {
+ "pattern": "^[0-9]+$",
+ "type": "string"
+ },
+ "T": {
+ "pattern": "^[0-9]+$",
+ "type": "string"
+ },
+ "real_quote": {
+ "pattern": "^-?[0-9]+$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "Q",
+ "T",
+ "real_quote"
+ ],
+ "type": "object"
+ },
+ "route": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "sender": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "side": {
+ "enum": [
+ "buy",
+ "sell",
+ "buyback"
+ ],
+ "type": "string"
+ },
+ "snipe_tax": {
+ "pattern": "^[0-9]+$",
+ "type": "string"
+ },
+ "tokens_in": {
+ "pattern": "^[0-9]+$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "tokens_out": {
+ "pattern": "^[0-9]+$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "tx": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "block",
+ "log_index",
+ "tx",
+ "block_ts",
+ "side",
+ "quote_in",
+ "quote_out",
+ "tokens_in",
+ "tokens_out",
+ "fee",
+ "snipe_tax",
+ "creator_tax",
+ "reserves_after",
+ "price_after",
+ "price_multiple",
+ "raised_fraction",
+ "check"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "model": {
+ "type": "object"
+ },
+ "more": {
+ "type": "boolean"
+ },
+ "next_cursor": {
+ "pattern": "^[0-9]+:[0-9]+$",
+ "type": "string"
+ },
+ "next_url": {
+ "type": "string"
+ },
+ "replay": {
+ "type": "object"
+ },
+ "status": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "curve",
+ "fees",
+ "model",
+ "count",
+ "items",
+ "next_cursor",
+ "more",
+ "replay"
+ ],
+ "type": "object"
+ },
+ "generated_at": {
+ "type": "string"
+ },
+ "meta": {
+ "type": "object"
+ },
+ "ok": {
+ "type": "boolean"
+ },
+ "schema_version": {
+ "type": "string"
+ },
+ "t": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "ok",
+ "schema_version",
+ "generated_at",
+ "t",
+ "coverage",
+ "data",
+ "meta"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "isError: the x402 v2 payment requirements. Pay one accepts entry and call again with _meta['x402/payment']. error says why when a payment was sent and rejected; a failed settlement adds x402/payment-response. Nothing is charged.",
+ "properties": {
+ "accepts": {
+ "items": {
+ "properties": {
+ "amount": {
+ "type": "string"
+ },
+ "asset": {
+ "type": "string"
+ },
+ "extra": {
+ "type": "object"
+ },
+ "maxTimeoutSeconds": {
+ "type": "integer"
+ },
+ "network": {
+ "type": "string"
+ },
+ "payTo": {
+ "type": "string"
+ },
+ "scheme": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "scheme",
+ "network",
+ "amount",
+ "asset",
+ "payTo"
+ ],
+ "type": "object"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "error": {
+ "type": "string"
+ },
+ "extensions": {
+ "type": "object"
+ },
+ "resource": {
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "mimeType": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "url"
+ ],
+ "type": "object"
+ },
+ "x402/payment-response": {
+ "properties": {
+ "errorReason": {
+ "type": "string"
+ },
+ "network": {
+ "type": "string"
+ },
+ "success": {
+ "type": "boolean"
+ },
+ "transaction": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "success"
+ ],
+ "type": "object"
+ },
+ "x402Version": {
+ "const": 2
+ }
+ },
+ "required": [
+ "x402Version",
+ "resource",
+ "accepts"
+ ],
+ "title": "PaymentRequired",
+ "type": "object"
+ },
+ {
+ "description": "isError: a refusal answered without charging (invalid or uncovered arguments, stale feed, nothing new since the cursor, a payment that cannot be matched to this request). error is a stable code; live_examples name mints covered now.",
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "avoid_skipped": {
+ "type": "integer"
+ },
+ "case_mangled_mints": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "charged": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "curve": {
+ "type": "string"
+ },
+ "error": {
+ "type": "string"
+ },
+ "feed_lag_s": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "free_check": {
+ "type": "string"
+ },
+ "got": {
+ "type": [
+ "string",
+ "integer"
+ ]
+ },
+ "hint": {
+ "type": "string"
+ },
+ "invalid": {
+ "type": "object"
+ },
+ "live_examples": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "max_feed_lag_s": {
+ "type": "number"
+ },
+ "max_mints": {
+ "type": "integer"
+ },
+ "max_table_lag_s": {
+ "type": "number"
+ },
+ "message": {
+ "type": "string"
+ },
+ "mint": {
+ "type": "string"
+ },
+ "missing": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "newest_cursor": {
+ "type": "string"
+ },
+ "ok": {
+ "const": false
+ },
+ "payment_status": {
+ "type": "string"
+ },
+ "scanned": {
+ "type": "integer"
+ },
+ "schema": {
+ "type": "object"
+ },
+ "since": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "table_lag_s": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "tool": {
+ "type": "string"
+ },
+ "unavailable_mints": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "unverified_event": {
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "window_s": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "ok",
+ "error"
+ ],
+ "title": "Refusal",
+ "type": "object"
+ }
+]