changedOutput schema / anyOf
Previous value: -[
- {
- "properties": {
- "coverage": {
- "enum": [
- "full",
- "thin"
- ],
- "title": "Coverage",
- "type": "string"
- },
- "data": {
- "properties": {
- "delivery": {
- "properties": {
- "every_s": {
- "title": "Every S",
- "type": "number"
- },
- "how": {
- "title": "How",
- "type": "string"
- },
- "max_per_day": {
- "title": "Max Per Day",
- "type": "integer"
- },
- "max_per_hour": {
- "title": "Max Per Hour",
- "type": "integer"
- }
- },
- "required": [
- "every_s",
- "max_per_hour",
- "max_per_day",
- "how"
- ],
- "title": "AlertDelivery",
- "type": "object"
- },
- "destination_kind": {
- "enum": [
- "discord",
- "telegram"
- ],
- "title": "Destination Kind",
- "type": "string"
- },
- "expires_at": {
- "title": "Expires At",
- "type": "string"
- },
- "filters": {
- "properties": {
- "max_age_s": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Max Age S"
- },
- "min_p_grad": {
- "maximum": 1,
- "minimum": 0,
- "title": "Min P Grad",
- "type": "number"
- },
- "pumpfun_only": {
- "title": "Pumpfun Only",
- "type": "boolean"
- },
- "rhc_only": {
- "title": "Rhc Only",
- "type": "boolean"
- }
- },
- "required": [
- "min_p_grad",
- "pumpfun_only",
- "rhc_only"
- ],
- "title": "AlertFilters",
- "type": "object"
- },
- "kinds": {
- "items": {
- "enum": [
- "graduation_odds",
- "ring_flags",
- "graduations",
- "avoid_flips"
- ],
- "type": "string"
- },
- "title": "Kinds",
- "type": "array"
- },
- "label": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Label"
- },
- "note": {
- "title": "Note",
- "type": "string"
- },
- "registered_at": {
- "title": "Registered At",
- "type": "string"
- },
- "status": {
- "description": "active_on_settlement: activated when this payment settles",
- "enum": [
- "active",
- "active_on_settlement"
- ],
- "title": "Status",
- "type": "string"
- },
- "subscription_id": {
- "title": "Subscription Id",
- "type": "string"
- },
- "test_delivery": {
- "const": "ok",
- "title": "Test Delivery",
- "type": "string"
- },
- "unsubscribe_url": {
- "title": "Unsubscribe Url",
- "type": "string"
- }
- },
- "required": [
- "subscription_id",
- "status",
- "kinds",
- "filters",
- "destination_kind",
- "test_delivery",
- "registered_at",
- "expires_at",
- "unsubscribe_url",
- "delivery",
- "note"
- ],
- "title": "AlertSubscription",
- "type": "object"
- },
- "generated_at": {
- "title": "Generated At",
- "type": "string"
- },
- "meta": {
- "additionalProperties": true,
- "title": "Meta",
- "type": "object"
- },
- "ok": {
- "const": true,
- "title": "Ok",
- "type": "boolean"
- },
- "schema_version": {
- "const": "2.0",
- "title": "Schema Version",
- "type": "string"
- },
- "t": {
- "title": "T",
- "type": "number"
- }
- },
- "required": [
- "ok",
- "schema_version",
- "generated_at",
- "t",
- "coverage",
- "data",
- "meta"
- ],
- "title": "AlertsEnvelope",
- "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"
- }
-]New value: +[
+ {
+ "properties": {
+ "coverage": {
+ "enum": [
+ "full",
+ "thin"
+ ]
+ },
+ "data": {
+ "properties": {
+ "delivery": {
+ "properties": {
+ "every_s": {
+ "type": "number"
+ },
+ "how": {
+ "type": "string"
+ },
+ "max_per_day": {
+ "type": "integer"
+ },
+ "max_per_hour": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "every_s",
+ "max_per_hour",
+ "max_per_day",
+ "how"
+ ],
+ "type": "object"
+ },
+ "destination_kind": {
+ "enum": [
+ "discord",
+ "telegram"
+ ]
+ },
+ "expires_at": {
+ "type": "string"
+ },
+ "filters": {
+ "properties": {
+ "max_age_s": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "min_p_grad": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "pumpfun_only": {
+ "type": "boolean"
+ },
+ "rhc_only": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "min_p_grad",
+ "pumpfun_only",
+ "rhc_only"
+ ],
+ "type": "object"
+ },
+ "kinds": {
+ "items": {
+ "enum": [
+ "graduation_odds",
+ "ring_flags",
+ "graduations",
+ "avoid_flips"
+ ]
+ },
+ "type": "array"
+ },
+ "label": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "note": {
+ "type": "string"
+ },
+ "registered_at": {
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "active",
+ "active_on_settlement"
+ ]
+ },
+ "subscription_id": {
+ "type": "string"
+ },
+ "test_delivery": {
+ "const": "ok"
+ },
+ "unsubscribe_url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "subscription_id",
+ "status",
+ "kinds",
+ "filters",
+ "destination_kind",
+ "test_delivery",
+ "registered_at",
+ "expires_at",
+ "unsubscribe_url",
+ "delivery",
+ "note"
+ ],
+ "type": "object"
+ },
+ "meta": {
+ "type": "object"
+ },
+ "ok": {
+ "const": true
+ }
+ },
+ "required": [
+ "ok",
+ "schema_version",
+ "generated_at",
+ "t",
+ "coverage",
+ "data",
+ "meta"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "accepts": {
+ "minItems": 1,
+ "type": "array"
+ },
+ "x402Version": {
+ "const": 2
+ }
+ },
+ "required": [
+ "x402Version",
+ "accepts"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "error": {
+ "type": "string"
+ },
+ "ok": {
+ "const": false
+ }
+ },
+ "required": [
+ "ok",
+ "error"
+ ],
+ "type": "object"
+ }
+]