changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": true,
+ "anyOf": [
+ {
+ "required": [
+ "symbol",
+ "price_usd",
+ "method",
+ "sources",
+ "sources_failed",
+ "spread_pct",
+ "as_of",
+ "note",
+ "receipt",
+ "extensions"
+ ]
+ },
+ {
+ "required": [
+ "error"
+ ]
+ }
+ ],
+ "description": "Structured result contract for spot_price. A success satisfies the documented success branch. A domain or tool error includes error and is not a successful settlement; unpaid x402 requirements are carried by the transport wrapper.",
+ "properties": {
+ "accepted": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "as_of": {
+ "type": "string"
+ },
+ "charged": {
+ "description": "When present on an error, false means the failed result is uncharged.",
+ "type": "boolean"
+ },
+ "did_you_mean": {
+ "additionalProperties": true,
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "error": {
+ "oneOf": [
+ {
+ "type": "string"
+ },
+ {
+ "additionalProperties": true,
+ "properties": {
+ "code": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "message": {
+ "type": "string"
+ },
+ "param": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "message"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "error_code": {
+ "type": "string"
+ },
+ "extensions": {
+ "additionalProperties": true,
+ "properties": {
+ "delivery-receipt": {
+ "additionalProperties": true,
+ "properties": {
+ "how_to_verify": {
+ "type": "string"
+ },
+ "issued_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "issuer": {
+ "type": "string"
+ },
+ "issuer_key": {
+ "type": "string"
+ },
+ "key_id": {
+ "type": "string"
+ },
+ "result_hash": {
+ "type": "string"
+ },
+ "service": {
+ "type": "string"
+ },
+ "signature": {
+ "type": "string"
+ },
+ "signed_message": {
+ "type": "string"
+ },
+ "standard": {
+ "const": "eucompliance-receipt/2",
+ "type": "string"
+ },
+ "subject": {
+ "type": "string"
+ },
+ "valid_until": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "verify_url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "standard",
+ "service",
+ "subject",
+ "result_hash",
+ "issued_at",
+ "valid_until",
+ "issuer",
+ "issuer_key",
+ "key_id",
+ "verify_url",
+ "how_to_verify",
+ "signature",
+ "signed_message"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "delivery-receipt"
+ ],
+ "type": "object"
+ },
+ "message": {
+ "type": "string"
+ },
+ "method": {
+ "type": "string"
+ },
+ "missing": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "missing_checks": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "note": {
+ "type": "string"
+ },
+ "partial_evidence": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "price_usd": {
+ "type": "number"
+ },
+ "receipt": {
+ "additionalProperties": true,
+ "properties": {
+ "how_to_verify": {
+ "type": "string"
+ },
+ "issued_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "issuer": {
+ "type": "string"
+ },
+ "issuer_key": {
+ "type": "string"
+ },
+ "key_id": {
+ "type": "string"
+ },
+ "result_hash": {
+ "type": "string"
+ },
+ "service": {
+ "type": "string"
+ },
+ "signature": {
+ "type": "string"
+ },
+ "signed_message": {
+ "type": "string"
+ },
+ "standard": {
+ "const": "eucompliance-receipt/2",
+ "type": "string"
+ },
+ "subject": {
+ "type": "string"
+ },
+ "valid_until": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "verify_url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "standard",
+ "service",
+ "subject",
+ "result_hash",
+ "issued_at",
+ "valid_until",
+ "issuer",
+ "issuer_key",
+ "key_id",
+ "verify_url",
+ "how_to_verify",
+ "signature",
+ "signed_message"
+ ],
+ "type": "object"
+ },
+ "retryable": {
+ "type": "boolean"
+ },
+ "settled": {
+ "description": "When present on an error, false means no settlement occurred.",
+ "type": "boolean"
+ },
+ "sources": {
+ "items": {},
+ "type": "array"
+ },
+ "sources_failed": {
+ "items": {},
+ "type": "array"
+ },
+ "spread_pct": {
+ "type": "number"
+ },
+ "status_code": {
+ "type": "integer"
+ },
+ "symbol": {
+ "type": "string"
+ },
+ "tool": {
+ "type": "string"
+ },
+ "unknown": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+}